I'm running an mpi program, but I believe there are some problems with it.
When I run: 'mpiexec -np 5 ./MYPROGRAM', I get:
[n1:13453] *** Process received signal ***
[n1:13453] Signal: Segmentation fault (11)
[n1:13453] Signal code: Address not mapped (1)
[n1:13453] Failing at address: 0x8
[n1:13453] [ 0] /lib64/libpthread.so.0 [0x2b63845d7a90]
[n1:13453] [ 1] /lib64/libc.so.6 [0x2b638485aa25]
[n1:13453] [ 2] /lib64/libc.so.6(cfree+0x76) [0x2b638485ac76]
[n1:13453] [ 3] /lib64/libnss_nis.so.2(_nss_nis_getpwuid_r+0xe9) [0x2b6384d51089]
[n1:13453] [ 4] /lib64/libc.so.6(getpwuid_r+0xec) [0x2b6384885cfc]
[n1:13453] [ 5] /lib64/libc.so.6(getpwuid+0x6f) [0x2b638488555f]
[n1:13453] [ 6] mpiexec(orte_sys_info+0x138) [0x4250ac]
[n1:13453] [ 7] mpiexec(orte_init_stage1+0x7c) [0x455b48]
[n1:13453] [ 8] mpiexec(orte_system_init+0x7) [0x4221f7]
[n1:13453] [ 9] mpiexec(orte_init+0x49) [0x421fc9]
[n1:13453]  mpiexec(orterun+0x1a6) [0x41d360]
[n1:13453]  mpiexec(main+0x20) [0x41ce08]
[n1:13453]  /lib64/libc.so.6(__libc_start_main+0xe6) [0x2b6384803586]
[n1:13453]  mpiexec [0x41cd59]
[n1:13453] *** End of error message ***
The same program could run on headnote, but it would have problem on notes. Could anyone help me with it? Thanks.
Unfortunately, this is not a lot of information to go on. Could you provide your compile command, as well as which compilers and versions you're using? What does MYPROGRAM do? What version of the Intel MPI Library are you running? Are you even running Intel MPI? Any other details you can provide will be helpful.
If you are, indeed, using the Intel MPI LIbrary, you can start off with a simpler example. We provide some Hello World test programs in C, C++, Fortran77, and Fortran90 in the
Finally, it will be useful for you to provide us with a reproducer we can run on our local machines. If you don't want to post your source code in a public forum, you can always submit an issue at the Intel Premier Support portal. Your login should be the same one you created upon registration of your Intel Software product serial number.
Looking forward to hearing back from you!