Hi everyone, 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). He suspects it's a kernel-related matter, see below. From his description, can anyone see if this is indeed the case? If anyone on this list happens to have smp-MPI running ok, then any other relevant info is of course also much welcomed. kind greets, Peter Shared memory problem. During testing the smp-MPICH software the following error occurs: P4xxxxx shmget error -1 This looks like a shmget error. Testing the operating system with: sysctl -a |grep sysv kern.sysv.shmmax: 4194304 kern.sysv.shmmin: 1 kern.sysv.shmmni: 32 kern.sysv.shmseg: 8 kern.sysv.shmall: 1024 Looks allright to me. I have tested the shmget call by the following C-program. #include <sys/types.h> #include <sys/ipc.h> #include <sys/shm.h> int main() { key_t key; int size; int shmflg; int shmid; size = 100; key = IPC_PRIVATE; shmflg = IPC_CREAT & IPC_EXCL & (7+7*8+7*64); shmflg = shmflg&IPC_CREAT; shmid=shmget(key, size, shmflg); printf("result %d/ \n",shmid); return 1; } It always returns -1. Runnig the C-program on other (non G5) platforms returns a normal shmid. my hardware platform is dual-G5 my OS version is 10.3 or 10.2.8, similar problems on both. -- +++++++++++++++++++++++++++++++++++++++ The requirements said: Windows 2000 or better. So I got a Macintosh. Peter Klaver private: Noordeinde 28 2311 CE Leiden 071-5137357 at work: Delft University of Technology e-mail T.P.C.Klaver@tnw.tudelft.nl room 222, 015-2789518 Rotterdamse Weg 137 2628 AL Delft the Netherlands _______________________________________________ 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.