TOUGH2-MP

Hello everybody,

so I've successfully compiled TOUGH2-MP and decided to test it in the r1dv example files. I always get a segmentation fault error. Specifically I get the following message:

[terra:07640] *** Process received signal ***
[terra:07640] Signal: Segmentation fault (11)
[terra:07640] Signal code: Address not mapped (1)
[terra:07640] Failing at address: 0x200000098
[terra:07641] *** Process received signal ***
[terra:07641] Signal: Segmentation fault (11)
[terra:07641] Signal code: Address not mapped (1)
[terra:07641] Failing at address: 0x200000098
[terra:07642] *** Process received signal ***
[terra:07642] Signal: Segmentation fault (11)
[terra:07642] Signal code: Address not mapped (1)
[terra:07642] Failing at address: 0x200000098
[terra:07643] *** Process received signal ***
[terra:07643] Signal: Segmentation fault (11)
[terra:07643] Signal code: Address not mapped (1)
[terra:07643] Failing at address: 0x200000098
[terra:07640] [ 0] /lib64/libpthread.so.0() [0x384500f500]
[terra:07640] [ 1] /opt/openmpi/lib/libmpi.so.0(MPI_Comm_size+0x4e) [0x7f72423d95ce]
[terra:07640] [ 2] t2eco2n_mp(parallel_info+0x24) [0x4bc90f]
[terra:07640] [ 3] t2eco2n_mp(AZ_set_proc_config+0x2d) [0x4a7f73]
[terra:07640] [ 4] t2eco2n_mp(az_set_proc_config_+0xc) [0x4a76d3]
[terra:07640] [ 5] t2eco2n_mp(cycit_+0x2831) [0x42c536]
[terra:07640] [ 6] t2eco2n_mp(MAIN__+0x1344) [0x433904]
[terra:07640] [ 7] t2eco2n_mp(main+0x2a) [0x4ec4aa]
[terra:07640] [ 8] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3a1b01ecdd]
[terra:07640] [ 9] t2eco2n_mp() [0x411449]
[terra:07641] [ 0] /lib64/libpthread.so.0() [0x384500f500]
[terra:07641] [ 1] /opt/openmpi/lib/libmpi.so.0(MPI_Comm_size+0x4e) [0x7ffc290c75ce]
[terra:07641] [ 2] t2eco2n_mp(parallel_info+0x24) [0x4bc90f]
[terra:07641] [ 3] t2eco2n_mp(AZ_set_proc_config+0x2d) [0x4a7f73]
[terra:07641] [ 4] t2eco2n_mp(az_set_proc_config_+0xc) [0x4a76d3]
[terra:07641] [ 5] t2eco2n_mp(cycit_+0x2831) [0x42c536]
[terra:07641] [ 6] t2eco2n_mp(MAIN__+0x1344) [0x433904]
[terra:07641] [ 7] t2eco2n_mp(main+0x2a) [0x4ec4aa]
[terra:07641] [ 8] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3a1b01ecdd]
[terra:07641] [ 9] t2eco2n_mp() [0x411449]
[terra:07641] *** End of error message ***
[terra:07642] [ 0] /lib64/libpthread.so.0() [0x384500f500]
[terra:07642] [ 1] /opt/openmpi/lib/libmpi.so.0(MPI_Comm_size+0x4e) [0x7fb08c0e45ce]
[terra:07642] [ 2] t2eco2n_mp(parallel_info+0x24) [0x4bc90f]
[terra:07642] [ 3] t2eco2n_mp(AZ_set_proc_config+0x2d) [0x4a7f73]
[terra:07642] [ 4] t2eco2n_mp(az_set_proc_config_+0xc) [0x4a76d3]
[terra:07642] [ 5] t2eco2n_mp(cycit_+0x2831) [0x42c536]
[terra:07642] [ 6] t2eco2n_mp(MAIN__+0x1344) [0x433904]
[terra:07642] [ 7] t2eco2n_mp(main+0x2a) [0x4ec4aa]
[terra:07642] [ 8] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3a1b01ecdd]
[terra:07642] [ 9] t2eco2n_mp() [0x411449]
[terra:07642] *** End of error message ***
[terra:07643] [ 0] /lib64/libpthread.so.0() [0x384500f500]
[terra:07643] [ 1] /opt/openmpi/lib/libmpi.so.0(MPI_Comm_size+0x4e) [0x7f51f23895ce]
[terra:07643] [ 2] t2eco2n_mp(parallel_info+0x24) [0x4bc90f]
[terra:07643] [ 3] t2eco2n_mp(AZ_set_proc_config+0x2d) [0x4a7f73]
[terra:07643] [ 4] t2eco2n_mp(az_set_proc_config_+0xc) [0x4a76d3]
[terra:07643] [ 5] t2eco2n_mp(cycit_+0x2831) [0x42c536]
[terra:07643] [ 6] t2eco2n_mp(MAIN__+0x1344) [0x433904]
[terra:07643] [ 7] t2eco2n_mp(main+0x2a) [0x4ec4aa]
[terra:07643] [ 8] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3a1b01ecdd]
[terra:07643] [ 9] t2eco2n_mp() [0x411449]
[terra:07643] *** End of error message ***
[terra:07640] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 3 with PID 7643 on node terra.cge.uevora.pt exited on signal 11 (Segmentation fault).
--------------------------------------------------------------------------

Maybe I am doing some basic mistake ( am not knowledgeable at all in using parallel codes in computer clusters), but would very much appreciate if any of you could point me to the right direction. 

Thank you and season greetings.

Júlio Carneiro

2replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Hi Julio,

    Do you know if you have the bug-fixed version of TOUGH2-MP?  You, or the person who purchased TOUGH2-MP should have received an email regarding the update.  It is best that you test out the updated version first before I try to figure out what is going on.  Please send me an email (gpau@lbl.gov) so that I can send you a link to download the updated version if you are not using v2.01. 

    Thanks,

    George Pau

    Reply Like
  • Just closing the topic and, in case anyone had a similar runtime error, compiling Tough2-mp v2.1 did solve the problem.

    Thanks,

    Júlio

    Reply Like
Like Follow
  • 3 yrs agoLast active
  • 2Replies
  • 1006Views
  • 2 Following