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
The reason for this failure is due to the MPI_Init_thread(argc, argv, required, &provided) call. There is no guarantee that the returned provided value is always equal to the required value. For example, on
BigRedII, with cray-mpich/7.3.2, both provided and required are 0 and
the program runs fine. But on FNAL pi0, with mvapich 1.2rc1 built with
gcc-4.4.7 for Infiniband, the required is set to be 0 but provided is
set to be 1.
One possible fix for this bug is to add an extra flag for GRID implementation
and use MPI_Init_thread only when the HAVE_GRID flag is present.
This is a bug report for the current milc_qcd develop branch commit
19d7402
It relates to the
../generic/com_mpi.c
routine.When compiling and running the
su3_rhmd_hisq
on FNAL pi0 and ds clusters, Igot the following output:
This can be traced back to the following lines of the code inside
../generic/com_mpi.c
The reason for this failure is due to the
MPI_Init_thread(argc, argv, required, &provided)
call. There is no guarantee that the returnedprovided
value is always equal to therequired
value. For example, onBigRedII, with cray-mpich/7.3.2, both
provided
andrequired
are 0 andthe program runs fine. But on FNAL pi0, with mvapich 1.2rc1 built with
gcc-4.4.7 for Infiniband, the
required
is set to be 0 butprovided
isset to be 1.
One possible fix for this bug is to add an extra flag for GRID implementation
and use
MPI_Init_thread
only when theHAVE_GRID
flag is present.It will also be nice to print only one line
instead of number-of-core lines to the output.
The text was updated successfully, but these errors were encountered: