Re: [OMPI users] making all library components static (questions about --enable-mcs-static)

2007-06-26 Thread Brian Barrett
On Jun 7, 2007, at 9:04 PM, Code Master wrote: nction `_int_malloc': : multiple definition of `_int_malloc' /usr/lib/libopen-pal.a(lt1-malloc.o)(.text+0x18a0):openmpi-1.2.2/ opal/mca/memory/ptmalloc2/malloc.c:3954: first defined here /usr/bin/ld: Warning: size of symbol `_int_malloc' changed fr

Re: [OMPI users] making all library components static (questions about --enable-mcs-static)

2007-06-07 Thread Code Master
Hi Jeff (and everyone), Thanks! Now I have compiled the openmpi-1.2.2 successfully under i386-Linux (Debian Sarge) with the following configurations: ./configure CFLAGS=-g -pg -O3 --enable-mpi-threads --enable-progress-threads --enable-static --disable-shared However when I compile my client p

Re: [OMPI users] making all library components static (questions about --enable-mcs-static)

2007-06-07 Thread Jeff Squyres
On Jun 7, 2007, at 2:07 AM, Code Master wrote: I wish to compile openmpi-1.2.2 so that it: - support MPI_THREAD_MULTIPLE - enable profiling (generate gmon.out for each process after my client app finish running) to tell apart CPU time of my client program from the MPI library - static linkin

[OMPI users] making all library components static (questions about --enable-mcs-static)

2007-06-07 Thread Code Master
I wish to compile openmpi-1.2.2 so that it: - support MPI_THREAD_MULTIPLE - enable profiling (generate gmon.out for each process after my client app finish running) to tell apart CPU time of my client program from the MPI library - static linking for everything (incl client app and all components