Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] Problems compiling OPENMPI !!
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?

On Apr 22, 2008, at 5:01 AM, koppole_at_[hidden] wrote:

> 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
> with:
>
>
>
> /bin/sh ../../../libtool --tag=CXX --mode=link icpc -O3 -DNDEBUG -
> finline-functions -pthread -export-dynamic -o libmpi_cxx.la -
> 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/prog/intel/cce/101015/lib -L/usr/lib/gcc/x86_64-redhat-linux/
> 3.4.6/ -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/x86_64-unknown-linux-gnu/libstdc++-v3/src
> -L/scratch/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -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,libmpi_cxx.so.0 -o .libs/libmpi_cxx.so.0.0.0
>
> ld: /usr/people/camm/kopposa1/gcc64/lib/../lib64/libstdc+
> +.a(ios_init.o): 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]: *** [libmpi_cxx.la] 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,
>
> Cheers,
>
> Sampath.
>
>
>
> Sampath Koppole,
>
> The Computational Molecular Biophysics Group,
>
> Interdisciplinary Center for Scientific Computing (IWR),
>
> 368, Im Neuenheimer Feld,
>
> Heidelberg. D-69120.
>
> Germany.
>
> Web Home : http://www.sampath.koppole.com
>
>
>
> <
> config
> .out
> .tar
> .gz><make.out.tar.gz>_______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Jeff Squyres
Cisco Systems