Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Trouble compiling 1.4.3 with PGI 10.9 compilers
From: Blosch, Edwin L (edwin.l.blosch_at_[hidden])
Date: 2011-09-20 14:32:18


Follow-up #1: I tried using the autogen.sh script referenced here
 https://svn.open-mpi.org/trac/ompi/changeset/22274
but that did not resolve the build problem.

Follow-up #2: configuring with --disable-mpi-cxx does allow the compilation to succeed. Perhaps that's obvious, but I had to check.

-----Original Message-----
From: users-bounces_at_[hidden] [mailto:users-bounces_at_[hidden]] On Behalf Of Blosch, Edwin L
Sent: Tuesday, September 20, 2011 12:17 PM
To: Open MPI Users
Subject: EXTERNAL: [OMPI users] Trouble compiling 1.4.3 with PGI 10.9 compilers

I'm having trouble building 1.4.3 using PGI 10.9. I searched the list archives briefly but I didn't stumble across anything that looked like the same problem, so I thought I'd ask if an expert might recognize the nature of the problem here.

The configure command:

./configure --prefix=/release/openmpi-pgi --without-tm --without-sge --enable-mpirun-prefix-by-default --enable-contrib-no-build=vt --enable-mca-no-build=maffinity --disable-per-user-config-files --disable-io-romio --with-mpi-f90-size=small --enable-static --disable-shared --with-wrapper-cflags=-Msignextend --with-wrapper-cxxflags=-Msignextend CXX=/appserv/pgi/linux86-64/10.9/bin/pgCC CC=/appserv/pgi/linux86-64/10.9/bin/pgcc 'CFLAGS= -O2 -Mcache_align -Minfo -Msignextend -Msignextend' 'CXXFLAGS= -O2 -Mcache_align -Minfo -Msignextend -Msignextend' F77=/appserv/pgi/linux86-64/10.9/bin/pgf95 'FFLAGS=-D_GNU_SOURCE -O2 -Mcache_align -Minfo -Munixlogical' FC=/appserv/pgi/linux86-64/10.9/bin/pgf95 'FCFLAGS=-D_GNU_SOURCE -O2 -Mcache_align -Minfo -Munixlogical' 'LDFLAGS= -Bstatic_pgi'

The place where the build eventually dies:

/bin/sh ../../../libtool --tag=CXX --mode=link /appserv/pgi/linux86-64/10.9/bin/pgCC -DNDEBUG -O2 -Mcache_align -Minfo -Msignextend -Msignextend -version-info 0:1:0 -export-dynamic -Bstatic_pgi -o libmpi_cxx.la -rpath /release/cfd/openmpi-pgi/lib mpicxx.lo intercepts.lo comm.lo datatype.lo win.lo file.lo ../../../ompi/libmpi.la -lnsl -lutil -lpthread
libtool: link: tpldir=Template.dir
libtool: link: rm -rf Template.dir
libtool: link: /appserv/pgi/linux86-64/10.9/bin/pgCC --prelink_objects --instantiation_dir Template.dir mpicxx.o intercepts.o comm.o datatype.o win.o file.o
pgCC-Warning-prelink_objects switch is deprecated
pgCC-Warning-instantiation_dir switch is deprecated
/usr/lib64/crt1.o: In function `_start':
/usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
mpicxx.o: In function `__sti___9_mpicxx_cc_a6befbec':
(.text+0x49): undefined reference to `ompi_mpi_errors_are_fatal'
mpicxx.o: In function `__sti___9_mpicxx_cc_a6befbec':
(.text+0x62): undefined reference to `ompi_mpi_errors_return'
mpicxx.o: In function `__sti___9_mpicxx_cc_a6befbec':
(.text+0x7b): undefined reference to `ompi_mpi_errors_throw_exceptions'
_______________________________________________
users mailing list
users_at_[hidden]
http://www.open-mpi.org/mailman/listinfo.cgi/users