Re: [OMPI users] problem building static w/ 1.1.2_rc4

2006-10-16 Thread Jeff Squyres
Josh and I spent some quality time on the phone today talking through this issue. Here's some points (not in strict order): - "--enable-static --enable-shared" (either explicit or implicit) works fine -- it'll build both static and shared library versions of OMPI's libraries. Unless other

Re: [OMPI users] problem building static w/ 1.1.2_rc4

2006-10-16 Thread Josh England
On Sun, 2006-10-15 at 23:31 -0600, Josh England wrote: > On Sat, 2006-10-14 at 09:35 -0400, Jeff Squyres wrote: > > Given the messages from the linker and my prior mail, I'm not sure > > that a) is possible -- it will require more poking around to know for > > sure. b) is definitely possible s

Re: [OMPI users] problem building static w/ 1.1.2_rc4

2006-10-16 Thread Josh England
On Sat, 2006-10-14 at 09:35 -0400, Jeff Squyres wrote: > Given the messages from the linker and my prior mail, I'm not sure > that a) is possible -- it will require more poking around to know for > sure. b) is definitely possible simply by using --enable-static and > and then using "mpicc" (

Re: [OMPI users] problem building static w/ 1.1.2_rc4

2006-10-16 Thread Josh England
On Sat, 2006-10-14 at 09:35 -0400, Jeff Squyres wrote: > - What exactly is your intent: a) do you want 100% static executables > (to include the normal Linux system libraries), b) do you just want > to avoid having to set LD_LIBRARY_PATH for some of the esoteric > libraries such as libmpi, li

Re: [OMPI users] problem building static w/ 1.1.2_rc4

2006-10-14 Thread Jeff Squyres
From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Josh England Sent: Friday, October 13, 2006 3:53 PM To: Open MPI Users Subject: [OMPI users] problem building static w/ 1.1.2_rc4 Hi, I'm trying to statically compile a simple program, but have run into some difficu

Re: [OMPI users] problem building static w/ 1.1.2_rc4

2006-10-13 Thread Scott Weitzenkamp (sweitzen)
Behalf Of Josh England > Sent: Friday, October 13, 2006 3:53 PM > To: Open MPI Users > Subject: [OMPI users] problem building static w/ 1.1.2_rc4 > > Hi, > > I'm trying to statically compile a simple program, but have run into > some difficulties so far. Trying wi

[OMPI users] problem building static w/ 1.1.2_rc4

2006-10-13 Thread Josh England
Hi, I'm trying to statically compile a simple program, but have run into some difficulties so far. Trying with my own link line I get many complaints about symbols being redefined: [root@dlogin2 examples]# gcc -static -o cpi cpi.c -I/apps/x86_64/mpi/openmpi/gcc-3.4.6/openmpi-1.1.2_rc4-ofed/inclu