wiki:CompileTrouble20070820

Version 11 (modified by trac, 12 years ago) ( diff )

August 20, 2007


Compiler: Intel 9.0.28

Library: MPI-CH

Processor: AMD Opteron


Problem: When mpibear is compiled on an Opteron processor, the Intel compiler crashes with a segmentation fault.


Cause: Two "error function returns" in the revision 179 mpi_exec source. Specifically, the MPI_Send call on line 484 and the MPI_RECV call on line 1698.


Solution: Switch off all compiler optimization options except for -03 in Makefile.inc. If that doesn't work, these two error codes don't seem to do anything, so you can comment them out (be sure to also get the nreqs increment on line 1697).

Note: See TracWiki for help on using the wiki.