You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am trying to run a CFD code (https://github.com/Nek5000/Nek5000) that uses Hypre preconditioners.
Everything compiles well bit I get segmentation fault during run time (log attached). There is some problem during hypre_MPI_Bcast call.
I am not sure about the cause, but the same code runs on a different cluster flawlessly. So, I guess there must be some issue with compilers/environment etc.
/ proc 0 has the first row and col /
if (myid==0)
{
info[0] = ilower;
info[1] = jlower;
}
hypre_MPI_Bcast(info, 2, HYPRE_MPI_INT, 0, comm);
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7f7a23b0edef in ??? #1 0x7f7a2417e891 in ??? #2 0x61ef2f in hypre_MPI_Bcast
|\\\\at /home/bsc/bsc021712/Trunk-NEK-19/Nek5000_RANS/3rd_party/hypre/hypre/src/utilities/mpistubs.c:994 #3 0x562c87 in HYPRE_IJMatrixCreate
|\\\\at /home/bsc/bsc021712/Trunk-NEK-19/Nek5000_RANS/3rd_party/hypre/hypre/src/IJ_mv/HYPRE_IJMatrix.c:115 #4 0x52aaaa in fem_assembly
|\\\\at /home/bsc/bsc021712/Trunk-NEK-19/Nek5000_RANS/core/experimental/fem_amg_preco.c:409 #5 0x52c1ea in fem_amg_setup_
|\\\\at /home/bsc/bsc021712/Trunk-NEK-19/Nek5000_RANS/core/experimental/fem_amg_preco.c:93 #6 0x437393 in prinit_
|\\\\at /home/bsc/bsc021712/Trunk-NEK-19/Nek5000_RANS/core/drive2.f:1801 #7 0x42f0b0 in nek_init_
|\\\\at /home/bsc/bsc021712/Trunk-NEK-19/Nek5000_RANS/core/drive1.f:116 #8 0x405c73 in nekton
|\\\\at /home/bsc/bsc021712/Trunk-NEK-19/Nek5000_RANS/core/drive.f:7 #9 0x405c73 in main
|\\\\at /home/bsc/bsc021712/Trunk-NEK-19/Nek5000_RANS/core/drive.f:11
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to run a CFD code (https://github.com/Nek5000/Nek5000) that uses Hypre preconditioners.
Everything compiles well bit I get segmentation fault during run time (log attached). There is some problem during hypre_MPI_Bcast call.
I am not sure about the cause, but the same code runs on a different cluster flawlessly. So, I guess there must be some issue with compilers/environment etc.
Any help is appreciated.
Vishal
Currently Loaded Modules:
*HYPRE_Int
hypre_MPI_Bcast( void buffer,
HYPRE_Int count,
hypre_MPI_Datatype datatype,
HYPRE_Int root,
hypre_MPI_Comm comm )
{
return (HYPRE_Int) MPI_Bcast(buffer, (hypre_int)count, datatype,
(hypre_int)root, comm);
}
/ proc 0 has the first row and col /
if (myid==0)
{
info[0] = ilower;
info[1] = jlower;
}
hypre_MPI_Bcast(info, 2, HYPRE_MPI_INT, 0, comm);
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7f7a23b0edef in ???
#1 0x7f7a2417e891 in ???
#2 0x61ef2f in hypre_MPI_Bcast
|\\\\at /home/bsc/bsc021712/Trunk-NEK-19/Nek5000_RANS/3rd_party/hypre/hypre/src/utilities/mpistubs.c:994
#3 0x562c87 in HYPRE_IJMatrixCreate
|\\\\at /home/bsc/bsc021712/Trunk-NEK-19/Nek5000_RANS/3rd_party/hypre/hypre/src/IJ_mv/HYPRE_IJMatrix.c:115
#4 0x52aaaa in fem_assembly
|\\\\at /home/bsc/bsc021712/Trunk-NEK-19/Nek5000_RANS/core/experimental/fem_amg_preco.c:409
#5 0x52c1ea in fem_amg_setup_
|\\\\at /home/bsc/bsc021712/Trunk-NEK-19/Nek5000_RANS/core/experimental/fem_amg_preco.c:93
#6 0x437393 in prinit_
|\\\\at /home/bsc/bsc021712/Trunk-NEK-19/Nek5000_RANS/core/drive2.f:1801
#7 0x42f0b0 in nek_init_
|\\\\at /home/bsc/bsc021712/Trunk-NEK-19/Nek5000_RANS/core/drive1.f:116
#8 0x405c73 in nekton
|\\\\at /home/bsc/bsc021712/Trunk-NEK-19/Nek5000_RANS/core/drive.f:7
#9 0x405c73 in main
|\\\\at /home/bsc/bsc021712/Trunk-NEK-19/Nek5000_RANS/core/drive.f:11
The text was updated successfully, but these errors were encountered: