Hi Kobby,
Can you try running the command and let me know what it says (it will probably fail in some way)?
> mpiexec -np 4 /home/jacobs/.eclipsesettings/sdm --port=46848 --host=localhost --debugger=gdb-mi
Regards, Greg
Hi Greg,
Thanks for the email.
Here is what the "debug_file" has been holding when initiate a debug session using interactive MPICH2: " mpiexec -np 4 /home/jacobs/.eclipsesettings/sdm --port=46848 --host=localhost --debugger=gdb-mi "
I went through and checked my MPICH2 environment:
jacobs@JacobS: which mpiexec /home/jacobs/My_Libararies_Installed/mpich_3.2/bin/mpiexec:
Also checked the SDM executable links: jacobs@JacobS: ldd /home/jacobs/.eclipsesettings/sdm linux-vdso.so.1 => (0x00007ffcea7cc000) libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00002b643cabb000) libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00002b643ccbe000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00002b643ced7000) /lib64/ld-linux-x86-64.so.2 (0x00002b643c893000):
Is there something with the port number ? Any further suggestions you can think off ?
Thank you, Kobby
Hi Kobby,
Sorry, we were all away for Thanksgiving here.
Your best bet would be to add some debugging statements to the start_debug_job.pl script to see what command it is trying to run. You could do this by adding:
open(FILE, ">> debug_file"); print FILE "$cmd $args\n"; close(FILE);
after the "my $args = ..." line (about line 75). This should put the command and arguments in a file called "debug_file". See if this looks sensible.
Regards, Greg
Hi Greg,
Correct -- I see now the ".eclipsesettings" directory while I launched a debug session. However, I'm still having the same issue where I get a pop-up a message that the GUI can't connect to the debugger (tested in Oxygen and Photon).
Please note that using a serial run configuration, both versions of Eclipse can run and debug (using GDB, and not GDB-MI as in the parallel config.). Any suggestions?
Thanks, Kobby
It should be created as soon as you launch or debug a job.
Regards, Greg
Greg,
I removed the ".eclipsesettings" directory and reopened either one of the Eclipse versions and the directory has not created again. It's missing.
I guess I'll install Eclipse again (photon). Do you have any other suggestions for this issue ?
Thanks,
Kobby
Hi Kobby,
The installation location of Eclipse doesn't matter. It will always use .eclipsesettings in your home directory, so each time you start a different version, it will overwrite this directory (you should probably manually remove it to make sure).
Regards, Greg
Hi Greg,
Thanks for the rapid reply.
I do have the above mentioned file in my /home directory. I have 3 versions of Eclipse installed one aside another as : /home/eclipse/parallel-oxygen
/home/eclipse/parallel-neon
/home/eclipse/parallel-photon
Put it in another words -- does the process of installation can affect the way the above file is reached (in either version) ?
Much appreciated, Kobby
Hi Kobby,
In your home directory on the target system there should be a script called ".eclipsesettings/rms/MPICH2/ start_debug_job.pl" which is used to help launch the debug session. I'd suggest starting with this to make sure that it is running the correct command and that gdb is getting launched correctly.
Regards, Greg
Hi all,
I have configured a local parallel application run using Eclipse-photon. The MPI is MPICH-3.2, and when using the Generic MPICH2 interactive for the target system configuration it runs the application correctly.
The second step is configuring a parallel debug session, where I filled all the needed fields (most of them similar to the run session). I basically follow the online documentation, and the debugger tab fields are automatically filled-in to be identical to the online documentation guide. >> However, when starting the debug session, the IDE cannot connect to the debugger (please find the attached screen shot).
Any ideas how to progress with this issue ?
* The Intel tools (compiler and debugger) are identify automatically and set up during the parallel run configuration. In addition, I do have a native "gdb" installed (other than "gdb-ia"). ** The environment is being appended to native environment
Thank you very much for any of your pointers, Kobby
<Eclipse_photon_debug_issue_1.png>_______________________________________________ ptp-user mailing list ptp-user@xxxxxxxxxxxTo change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/ptp-user
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/ptp-user
-- Kobby Shpund
_______________________________________________ ptp-user mailing list ptp-user@xxxxxxxxxxxTo change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/ptp-user
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/ptp-user
-- Kobby Shpund
_______________________________________________ ptp-user mailing list ptp-user@xxxxxxxxxxxTo change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/ptp-user
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/ptp-user
-- Kobby Shpund
_______________________________________________ ptp-user mailing list ptp-user@xxxxxxxxxxxTo change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/ptp-user
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/ptp-user
-- Kobby Shpund
_______________________________________________ ptp-user mailing list ptp-user@xxxxxxxxxxxTo change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/ptp-user
|