Re: [OMPI users] link problem on 64bit platform

2010-11-02 Thread Jeff Squyres
On Nov 2, 2010, at 4:57 AM, jody wrote: > So i guess the basic question is: > is it permitted to rename openMPI installations, and if yes how is > this porperly done (since a simple mv doesn't work) Yes: http://www.open-mpi.org/faq/?category=building#installdirs -- Jeff Squyres

Re: [OMPI users] link problem on 64bit platform

2010-11-02 Thread jody
HI @trent no, i didn't use the other calls, because i think they are all the same (on my installation they are all soft links to opal_wrapper) @tim gentoo on 64 bit does have lib and lib64 directories for the respective architectures (at / and at /usr) but in my 64-bit installation of

Re: [OMPI users] link problem on 64bit platform

2010-11-01 Thread Tim Prince
On 11/1/2010 5:24 AM, Jeff Squyres wrote: On Nov 1, 2010, at 5:20 AM, jody wrote: jody@aim-squid_0 ~/progs $ mpiCC -g -o HelloMPI HelloMPI.cpp /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /opt/openmpi-1.4.2/lib/libmpi_cxx.so when

Re: [OMPI users] link problem on 64bit platform

2010-11-01 Thread Jeff Squyres
On Nov 1, 2010, at 5:20 AM, jody wrote: > jody@aim-squid_0 ~/progs $ mpiCC -g -o HelloMPI HelloMPI.cpp > /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: > skipping incompatible /opt/openmpi-1.4.2/lib/libmpi_cxx.so when > searching for -lmpi_cxx This is the key

Re: [OMPI users] link problem on 64bit platform

2010-11-01 Thread Trent Creekmore
Have you tried using mpicxx, or mpic++ ? -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of jody Sent: Monday, November 01, 2010 4:20 AM To: Open MPI Users Subject: [OMPI users] link problem on 64bit platform Hi On a newly installed

[OMPI users] link problem on 64bit platform

2010-11-01 Thread jody
Hi On a newly installed 64bit linux (2.6.32-gentoo-r7) with gcc version 4.4.4 i can't compile even simple Open-MPI applications (OpenMPI 1.4.2). The message is: jody@aim-squid_0 ~/progs $ mpiCC -g -o HelloMPI HelloMPI.cpp