Re: [OMPI users] A beginer's question

2008-02-08 Thread Hsieh, Pei-Ying (MED US)
Thanks a lot Aurelien! I am able to compile and run a test hello_mpi.c code successfully now. Best, Pei -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Aurélien Bouteiller Sent: Friday, February 08, 2008 2:38 PM To: Open MPI Users Su

Re: [OMPI users] A beginer's question

2008-02-08 Thread Aurélien Bouteiller
Hi, You have to update the ldcache each time you add some .so files to the directories it refers to. If you don't, any .so file you added since system bootup will not be found (even if they are in the filesystem). This is made by running ldconfig as root. If this does not solve your probl

[OMPI users] A beginer's question

2008-02-08 Thread Hsieh, Pei-Ying (MED US)
Dear OpenMPI group: I am sorry about this newbie question, but, I was not able to find the answer so far. I compiled OpenMPI-1.2.5 from source on a OpenSUSE 10.3 64 bit OS. Configure and installation seemed fine (using prefix=/usr/local). I installed openmpi as root. But, when I ran a quick te

Re: [OMPI users] Can't compile C++ program with extern "C" { #include mpi.h }

2008-02-08 Thread Jeff Squyres
On Feb 7, 2008, at 7:03 PM, Adam C Powell IV wrote: But then, why wouldn't programs expect to be able to include C headers in a C++ extern C block? But that's exactly the issue: mpi.h is not a C header. It is mandated by the MPI standard to be both a C and a C++ header file. We (Open MPI