Its quite confusing having so many choices of MPI libraries. OpenMPI seems to work fine in my case as well. So that will be the MPI implementation I will going to use. Thanks all for the excellent help. Gerber On Wed, 2008-06-18 at 13:36 +0200, Manuel Prinz wrote: > Hi Gerber! > > Am Dienstag, den 17.06.2008, 09:11 -0700 schrieb Rudi Cilibrasi: > > 1) I was able to compile but not link the program using a command > > based on the ones you gave: > > mpicc `pkg-config --cflags glib-2.0` -I/usr/include/glib-2.0 -Wall > > -DENABLE_MPI -g -O2 -o simple simple.c > > /tmp/ccI5Hf82.o: In function `main': > > /home/cilibrar/tmp/mpi/simple.c:31: undefined reference to `g_log' > > collect2: ld returned 1 exit status > > I tried the same with OpenMPI. This step runs fine, as well as the > second one, and running the generated executable with mpirun/mpiexec > works. > > > On Tue, Jun 17, 2008 at 6:11 AM, Gerber van der Graaf <gerber.vdgraaf@gmail.com> wrote: > > > I am working on an application I'd like to parallellize with MPI. For > > > the momement only with liblam. The application already makes extensive > > > use of libglib. It seems that the program crashes when using libglib. > > LAM/MPI is obsoleted upstream and I'd encourage you to use OpenMPI > instead. The fact that it works in OpenMPI gives me the feeling that it > is a bug in LAM/MPI but I'm just guessing here. I didn't try MPICH. > > Best regards > Manuel, with his OpenMPI maintainer hat on >
Attachment:
signature.asc
Description: This is a digitally signed message part