Thanks,----Amneet
Thanks,----Amneet
----Amneet
--
You received this message because you are subscribed to the Google Groups "IBAMR Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ibamr-users...@googlegroups.com.
To post to this group, send email to ibamr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You need to bite the bullet and figure out how to use gdb on your Mac.
--
You received this message because you are subscribed to the Google Groups "IBAMR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ibamr-dev+...@googlegroups.com.
To post to this group, send email to ibam...@googlegroups.com.
I created a symbolic-link gdb --> gdb-apple, and now it worked. Maybe there a way to set variables in xterm properly...
On Apr 28, 2015, at 1:18 PM, Amneet Bhalla <mail2...@gmail.com> wrote:I had followed the same instructions. GDB (gdb-apple) works on my Mac, but only when I run the serial code in gbd and not as an xterm debugger for various processes. I get the following message, when I do something like:%mpiexec -np 2 ./main2d input2d -start_in_debugger gdb-applexterm: Can't execvp gdb: No such file or directory
On Tue, Apr 28, 2015 at 11:37 AM, namu patel <namu....@gmail.com> wrote:You need to bite the bullet and figure out how to use gdb on your Mac.I was able to get gdb working on my mac (OS X 10.9) using these instructions. It works,however,I never tested it with IBAMR since it requires using the g++-apple compilers (from MacPorts or Homebrew) and I didn't want to reconfigure IBAMR.--
You received this message because you are subscribed to the Google Groups "IBAMR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ibamr-dev+...@googlegroups.com.
To post to this group, send email to ibam...@googlegroups.com.----Amneet--
You received this message because you are subscribed to the Google Groups "IBAMR Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ibamr-users...@googlegroups.com.
To post to this group, send email to ibamr...@googlegroups.com.
Those windows pop up later on, but they say could not find the uid of the application that I am launching. I have tried -debugger_pause 100 to give some time to the debugger, but the gdb windows show earlier than the application, and I get the same uid not found error. Is there a work around?
On Nov 22, 2021, at 3:51 AM, X A <lzk1...@gmail.com> wrote:Hi,A noob question:when I type in:$ ./main2d input2d -start_in_debuggerI got the following:PETSC: Attaching to ./main2d of pid 5337 on display :0.0 on machine PC-20210823KFWOxterm: Xt error: Can't open display: :0.0xterm: DISPLAY is not setand then the program just continue to run, without the chance to configure gdb debugger. (I am using WSL with Ubuntu 20.04 LTS)
I guess some configuration is not correct here. I have tried googling but did not get much clue, as it seems a command related to IBAMR.In addition, is IBAMR compatible with more visualised debugging tools? Like Visual Studio or VS Code?
I tried visual studio, but got some error message regarding CMake.
Appreciate any comment.With best wishes,MikeOn Wednesday, 29 April 2015 at 03:39:50 UTC+8 Amneet Bhalla wrote:On Mon, Apr 27, 2015 at 10:10 PM, Amneet Bhalla <mail2...@gmail.com> wrote:Those windows pop up later on, but they say could not find the uid of the application that I am launching. I have tried -debugger_pause 100 to give some time to the debugger, but the gdb windows show earlier than the application, and I get the same uid not found error. Is there a work around?It turns out that Ubuntu was stopping the debugger to get attached to the child processes. Here is the discussion and possible fix. I am not sure if our system administrator followed the same procedure, but he agreed to the cause.----Amneet
--
You received this message because you are subscribed to the Google Groups "IBAMR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ibamr-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ibamr-dev/b4f41120-3f46-4b86-add5-f10828f7f072n%40googlegroups.com.