Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Eclipse PTP: OpenMPI Hello World cannot connect to debugger

Hi Jakub,

PTP runs the following command when it launches the debugger:

	mpirun -np 3 -mca orte_show_resolved_nodenames 1 -display-map <debugger command>

When I try the following command (Open MPI 2.0.1) it crashes:

$ mpirun -np 3 -mca orte_show_resolved_nodenames 1 -display-map echo hi
 Data for JOB [32122,1] offset 0 Total slots allocated 4
[MAC104826:61219] *** Process received signal ***
[MAC104826:61219] Signal: Segmentation fault: 11 (11)
[MAC104826:61219] Signal code: Address not mapped (1)
[MAC104826:61219] Failing at address: 0x0
[MAC104826:61219] [ 0] 0   libsystem_platform.dylib            0x00007fff63b5af5a _sigtramp + 26
[MAC104826:61219] [ 1] 0   libsystem_c.dylib                   0x00007fff9c97b6b8 __global_locale + 0
[MAC104826:61219] [ 2] 0   libopen-rte.40.dylib                0x00000001038a3fb0 orte_dt_print_map + 1088
[MAC104826:61219] [ 3] 0   libopen-rte.40.dylib                0x00000001038fa69e orte_rmaps_base_display_map + 222
[MAC104826:61219] [ 4] 0   libopen-rte.40.dylib                0x00000001038e2eac orte_odls_base_default_construct_child_list + 3484
[MAC104826:61219] [ 5] 0   mca_odls_default.so                 0x0000000103c81fe3 orte_odls_default_launch_local_procs + 19
[MAC104826:61219] [ 6] 0   libopen-rte.40.dylib                0x00000001038bf12d orte_daemon_recv + 605
[MAC104826:61219] [ 7] 0   libopen-rte.40.dylib                0x00000001039027f2 orte_rml_base_process_msg + 450
[MAC104826:61219] [ 8] 0   libopen-pal.40.dylib                0x000000010399cf8a opal_libevent2022_event_base_loop + 1802
[MAC104826:61219] [ 9] 0   mpirun                              0x00000001038929b3 orterun + 291
[MAC104826:61219] [10] 0   libdyld.dylib                       0x00007fff638d9115 start + 1
[MAC104826:61219] [11] 0   ???                                 0x0000000000000009 0x0 + 9
[MAC104826:61219] *** End of error message ***
Segmentation fault: 11

So it looks like this is a bug in Open MPI. I've opened an issue: https://github.com/open-mpi/ompi/issues/5165

Regards,
Greg
 

> On May 14, 2018, at 9:23 AM, Jakub Sikorowski <sikorowski@xxxxxxxxx> wrote:
> 
> <image.png>
> 
> Hello,
> 
> I have installed the current verion of Eclipse Oxygen PTP. I've created a simple Hello World project that compiles with -g3 option and runs as expected using "Generic OpenMPI Interactive" configuration. When I try to run the debugger using .eclipsesettings/sdm and /usr/bin/gdb I get the error I you can see in the image. 
> 
> Thank you for help,
> Jakub
> 
> <Screenshot_20180514_212242.png>_______________________________________________
> ptp-user mailing list
> ptp-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/ptp-user



Back to the top