On Friday, November 21, 2003, at 01:56 AM, Peter Klaver wrote: A collegue in my lab, knowledgeable in unix but not specifically in Darwin, wants to run MPI code on a dual G5, but there some problems when using the smp-compiled libraries (-comm=share). During testing the smp-MPICH software the following error occurs: P4xxxxx shmget error -1 As with most system calls, the return value '-1' is an indicator that something went wrong. It doesn't tell you what went wrong. For that information, refer to the global variable 'errno', which will (should) contain a non-zero value described in /usr/include/sys/errno.h. You can print a text string describing the error with "perror()" (see 'man perror' for details. Without that information, we'd just be shooting in the dark (or taking way too close a look at your source ;=}). Regards, Justin -- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | Some people have a mental | horizon of radius zero, and | call it their point of view. | -- David Hilbert *--------------------------------------*-------------------------------* _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.