[FLASH-USERS] Segmentation fault encountered in RadTrans Test Problems

Reyes, Adam adam.reyes at rochester.edu
Mon Sep 9 04:56:25 EDT 2024


Hi Jianhui,

It can be helpful to include the full setup line that you’re using and if possible the log file generate by FLASH. I’m guessing that you’re using the same setup as provided in the users guide and running with 8(?) mpi ranks.

This problem only sets up with a single block so the additional processors wouldn’t have anything to do and that could be the problem, but I don’t think that should be a problem.

I would also double check that the version of mpi that you built hypre with matches what you use to compile flash.
*********************************************
Adam Reyes


Code Group Leader, Flash Center for Computational Science  
Research Scientist, Dept. of Physics and Astronomy
University of Rochester
River Campus: Bausch and Lomb Hall, 369  
500 Wilson Blvd. PO Box 270171, Rochester, NY 14627
Email adam.reyes at rochester.edu
Web https://flash.rochester.edu
 (he / him / his)


*********************************************



> On Sep 9, 2024, at 10:17 AM, 周剑晖 <805351271 at qq.com> wrote:
> 
> Dear Flash users,
> 
> 
> I'm a new user of FLASH and I encountered the Segmentation fault when executing RadTrans Test Problems according to the User's guide. Here is part of this error (The complete error report is given in the attachment):
> 
> 
>  *** Wrote checkpoint file to mgdinfinite_hdf5_chk_0000 ****
>  *** Wrote plotfile to mgdinfinite_hdf5_plt_cnt_0000 ****
>  Initial plotfile written
>  Driver init all done
> [localhost:47738:0:47738] Caught signal 11 (Segmentation fault: address not mapped to object at address 0xeb)
> [localhost:47739:0:47739] Caught signal 11 (Segmentation fault: address not mapped to object at address 0xeb)
> [localhost:47740:0:47740] Caught signal 11 (Segmentation fault: address not mapped to object at address 0xeb)
> [localhost:47733:0:47733] Caught signal 11 (Segmentation fault: address not mapped to object at address 0xeb)
> [localhost:47734:0:47734] Caught signal 11 (Segmentation fault: address not mapped to object at address 0xeb)
> [localhost:47735:0:47735] Caught signal 11 (Segmentation fault: address not mapped to object at address 0xeb)
> [localhost:47736:0:47736] Caught signal 11 (Segmentation fault: address not mapped to object at address 0xeb)
> [localhost:47737:0:47737] Caught signal 11 (Segmentation fault: address not mapped to object at address 0xeb)
> ==== backtrace (tid:  47735) ====
>  0  /lib64/libucs.so.0(ucs_handle_error+0x2e4) [0x7fca58102e44]
>  1  /lib64/libucs.so.0(+0x2a4cd) [0x7fca581044cd]
>  2  /lib64/libucs.so.0(+0x2a6aa) [0x7fca581046aa]
>  3  /usr/lib64/openmpi/lib/libmpi.so.40(MPI_Comm_size+0x3b) [0x7fca5f53c80b]
>  4  /home/admin/install/spack/spack-develop/opt/spack/linux-centos7-x86_64_v3/gcc-4.8.5/hypre-2.31.0-zosambog2ikxnxkzhmraomwhogrpuxdv/lib/libHYPRE-2.31.0.so(hypre_MPI_Comm_size+0x12) [0x7fca60113aa2]
>  5  /home/admin/install/spack/spack-develop/opt/spack/linux-centos7-x86_64_v3/gcc-4.8.5/hypre-2.31.0-zosambog2ikxnxkzhmraomwhogrpuxdv/lib/libHYPRE-2.31.0.so(hypre_StructGridAssemble+0x6f) [0x7fca600f394f]
>  6  /home/admin/install/spack/spack-develop/opt/spack/linux-centos7-x86_64_v3/gcc-4.8.5/hypre-2.31.0-zosambog2ikxnxkzhmraomwhogrpuxdv/lib/libHYPRE-2.31.0.so(hypre_SStructPGridAssemble+0x635) [0x7fca600632d5]
>  7  /home/admin/install/spack/spack-develop/opt/spack/linux-centos7-x86_64_v3/gcc-4.8.5/hypre-2.31.0-zosambog2ikxnxkzhmraomwhogrpuxdv/lib/libHYPRE-2.31.0.so(HYPRE_SStructGridAssemble+0x158) [0x7fca6005ce48]
>  8  /home/admin/install/spack/spack-develop/opt/spack/linux-centos7-x86_64_v3/gcc-4.8.5/hypre-2.31.0-zosambog2ikxnxkzhmraomwhogrpuxdv/lib/libHYPRE-2.31.0.so(hypre_sstructgridassemble_+0xc) [0x7fca60059efc]
>  9  flash4() [0x50c15d]
> 10  flash4() [0x50ac00]
> 11  flash4() [0x42ed4e]
> 12  flash4() [0x46c7a5]
> 13  flash4() [0x416fcd]
> 14  flash4() [0x40a4c7]
> 15  /lib64/libc.so.6(+0x29590) [0x7fca5ee29590]
> 16  /lib64/libc.so.6(__libc_start_main+0x80) [0x7fca5ee29640]
> 17  flash4() [0x40a505]
> =================================
> 
> If anyone has encountered this issue and knows how to fix it, please get back to me, thank you!
> 
> 
> Best regards,
> 
> Jianhui Zhou
> Doctoral candidate
> Huazhong University of Science and Technology
> 
> <error.txt><flash.par>_______________________________________________
> flash-users mailing list
> flash-users at flash.rochester.edu
> 
> For list info, including unsubscribe:
> https://flash.rochester.edu/mailman/listinfo/flash-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20240909/2fcb351c/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FLASH.jpg
Type: image/jpeg
Size: 23876 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20240909/2fcb351c/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FLASH-pride-sml.png
Type: image/png
Size: 12732 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20240909/2fcb351c/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1391 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20240909/2fcb351c/attachment-0001.p7s>


More information about the flash-users mailing list