Closed devreal closed 3 years ago
Was it running with "intel MPI"? In the upstream mpich, initthread.c
is located in src/mpi/init/
.
The path of initthread.c
is from Casper, not MPI itself. The installation is MPICH 3.3.1 compiled with the Intel compiler (hence mpich-3.3.1-intel/lib/libmpi.so.12
in my naming scheme).
Any progress here? I can't tell whether there is a problem here to debug.
@devreal Sorry for getting back to you so late. Somehow I did not get notification for this issue. Three ways you can try:
CSP_VERBOSE=4 mpirun -np 3 ./put
CFLAGS="-g -O0 -DCSP_DEBUG"
, and rerun the test. The debug message might be too dense, you can forward it to me.CFLAGS="-g -O0"
, you can set breakpoint and debug where it jumps to fn_fail
(line 505 is failure handling in MPI_Init_thread
, which means a previous init subroutine returns error)@devreal Are you still facing this issue? Or I can close it?
At this point I don't have time to reproduce it, thanks nevertheless. Closing.
I tried running Casper (current git) with MPICH 3.3.1, both by
LD_PRELOAD
ing and directly linking the casper library. Unfortunately, the application run immediately aborts without any noticeable hint on what went wrong:No thread support is requested from MPI.
Any idea on how to diagnose this issue? All I get is the following backtrace from gdb (not really helpful as this is the target of a
goto
, which is not obvious in the code):