I tried mpich as well and it worked fine. So it's still looking like a LAM/MPI bug. Best regards,
Rudi On Wed, Jun 18, 2008 at 4:36 AM, Manuel Prinz <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> >> 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 > > -- Git, Hg (Mercurial), and Subversion (svn) hosting over SSH http://sshcontrol.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

