[Mpi-comments] trouble with MPICH_ATTR_FAILED_PROCESSES

Ma, Zhaoming zhaoming.ma at citi.com
Fri Nov 16 16:31:41 CST 2012


I am trying to use the following to catch failed processes,

	void*   iAttrPtr;
	MPI::COMM_WORLD.Get_attr(MPICH_ATTR_FAILED_PROCESSES, iAttrPtr);

On Linux, the code compiled but produced a Segmentation fault,

	=====================================================================================
	=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
	=   EXIT CODE: 11
	=   CLEANING UP REMAINING PROCESSES
	=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
	=====================================================================================
	APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11)

In Visual Studio 2010, the code produces linking error,

	error LNK2001: unresolved external symbol MPICH_ATTR_FAILED_PROCESSES

I am using MPICH2 1.4.1. Your help on this issue will be greatly appreciated.

Zhaoming




More information about the mpi-comments mailing list