Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Problems compiling OPENMPI !!
From: koppole_at_[hidden]
Date: 2008-04-22 09:36:15

Hi Jeff,

I have sent the tar'ed and gzipped make.log and config.log file along
with my original email. For your benefit, I will send you the files
directly to your email so that we dont duplicate the files on the
archive server.



From: Jeff Squyres <jsquyres_at_[hidden]>

Subject: Re: [OMPI users] Problems compiling OPENMPI !!

To: Open MPI Users <users_at_[hidden]>

Message-ID: <EC22D215-DE82-4994-945D-BF3E4BFB3A12_at_[hidden]>

Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

Please send all the information listed here:

-----Original Message-----

From: koppole_at_[hidden]

To: users_at_[hidden]

Sent: Tue, 22 Apr 2008 2:18 pm

Subject: Re: Problems compiling OPENMPI !!

Hi Jeff,

Yes. my C++ compiler works quite well. I have compiled and run a number

of programs with it. Further more, I could comfortably install mpich2

with this compiler with no problems.

What is surprising is : during configure ... I get:



== Modular Component Architecture (MCA) setup


checking for subdir args...

'--prefix=/usr/people/camm/kopposa1/openmpi' 'FC=ifort64' 'F77=ifort64'

'F95=ifort64' 'CC=icc64'


checking for gcc... gcc

checking whether we are using the GNU Objective C compiler... yes

checking whether gcc accepts -g... yes


Intel C compiler is not a gnu objective C compiler. I don't know why

openmpi thinks that this is a GNU Compiler.

Thanks for your time,



From: Jeff Squyres (jsquyres_at_[hidden])

Date: 2008-04-22 08:05:16

Is your C++ compiler installer properly? Can you build and run other C

++ programs that use the STL?

-----Original Message-----

From: koppole_at_[hidden]

To: users_at_[hidden]

Sent: Tue, 22 Apr 2008 11:01 am

Subject: Problems compiling OPENMPI !!

Hello there,

I downloaded openmpi-1.2.5.tar and "un-tar"'ed it with tar -xvf

openmpi-1.2.5.tar which created a directory openmpi-1.2.5.

I then created a build directory and called

../openmpi-1.2.5/configure --prefix=$home/openmpi FC=ifort64

F77=ifort64 F95=ifort64 CC=icc64 CXX=icpc | & tee config.out

Everything went fine.

I then said : make -j 8 | & tee make.out and the compilation crashed


/bin/sh ../../../libtool --tag=CXX --mode=link icpc -O3 -DNDEBUG

-finline-functions -pthread -export-dynamic -o -rpath

/usr/people/camm/kopposa1/openmpi/lib mpicxx.lo intercepts.lo comm.lo

datatype.lo file.lo win.lo -lnsl -lutil

libtool: link: icpc -shared .libs/mpicxx.o .libs/intercepts.o

.libs/comm.o .libs/datatype.o .libs/file.o .libs/win.o -lnsl -lutil



-L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64 -limf -lsvml

-lipgo /usr/people/camm/kopposa1/gcc64/lib/../lib64/libstdc++.a



-L/scratch/gcc/./gcc -L/lib/../lib64 -L/usr/lib/../lib64 -lm -lgcc

-lintlc -lpthread -lgcc_s -lirc_s -ldl -lc -pthread -pthread

-Wl,-soname -Wl, -o .libs/



relocation R_X86_64_32 against `pthread_cancel' can not be used when

making a shared object; recompile with -fPIC

/usr/people/camm/kopposa1/gcc64/lib/../lib64/libstdc++.a: could not

read symbols: Bad value

make[3]: *** [] Error 1

make[3]: Leaving directory `/scratch/openmpi/ompi/mpi/cxx'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/scratch/openmpi/ompi/mpi'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/scratch/openmpi/ompi'

make: *** [all-recursive] Error 1

FYI: I am attaching the zipped make.out and config.out files.

Thanks a lot for your help,



Sampath Koppole,

The Computational Molecular Biophysics Group,

Interdisciplinary Center for Scientific Computing (IWR),

368, Im Neuenheimer Feld,

Heidelberg. D-69120.


Web Home :