[mpich-discuss] Code crashes when compiling with GFORTRAN but not when compiling with PGF90

Michael Ahlmann mahlmann at ucdavis.edu
Mon Dec 1 13:11:13 CST 2008


I recently built a new cluster and loaded it with MPICH2 (1.08) and both 
the PGF90 and GFORTRAN compilers.  When I compile MPICH2 and my code 
with PGF90, everything runs without a hitch; however, if I compile both 
with GFORTRAN, the code crashes after 1 iteration unless I run it on 2 
or less processors.  The strange part is that I have successfully 
compiled and run the code on multiple processors using GFORTRAN and 
MPICH2 (1.06) on another cluster, so I am somewhat baffled.  The error 
message is the following:

Fatal error in MPI_Waitall: Invalid argument, error stack:
MPI_Waitall(257): MPI_Waitall(count=8, req_array=0xa0476f8, 
status_array=(nil)) failed
MPI_Waitall(106): Null pointer in parameter array_of_statuses[cli_0]: 
aborting job:
Fatal error in MPI_Waitall: Invalid argument, error stack:
MPI_Waitall(257): MPI_Waitall(count=8, req_array=0xa0476f8, 
status_array=(nil)) failed
MPI_Waitall(106): Null pointer in parameter array_of_statuses
rank 0 in job 21  cluster.engr.ucdavis.edu_45821   caused collective 
abort of all ranks
 exit status of rank 0: return code 1

Has anybody seen a similar problem?  Thanks for the help,

-Michael



More information about the mpich-discuss mailing list