[petsc-users] oddities with MPI

Lukas van de Wiel lukas.drinkt.thee at gmail.com
Mon Nov 27 05:59:18 CST 2017


Good day!

configuring PETSc 3.8.2 gives a spot of a bother with the openMPI bit
and I wondered if other PETSc users experienced the same issue.
Although PETSc does not appear to be to blame for this, this mailing
list seemed a logical place to mention it in the hope that somebody
may already have found a trivial solution. Otherwise I will just dig
deeper:

My standard configure script:


./configure  \
COPTFLAGS='-O3 -march=native -mtune=native' \
CXXOPTFLAGS='-O3 -march=native -mtune=native' \
FOPTFLAGS='-O3 -march=native -mtune=native' \
--with-debugging=0 \
--with-x=0 \
--with-ssl=0 \
--with-shared-libraries=0 \
--download-metis \
--download-parmetis \
--download-fblaslapack \
--download-scalapack \
--download-openmpi \
--download-mumps \
--download-hypre \
--download-ptscotch

which works perfectly on our compute cluster, which runs Slackware
Linux 13.37.0, from 2011... and mpif90 wrapping to GCC 4.5.2. I
know... don't ask...

However, on more modern machines, such a Debian 9 machine I test with,
and a Mac OS X machine from one of our users, all with contemporary
GCC versions, give issues when compiling the openmpi part:

/usr/bin/ld: ../../../oshmem/.libs/liboshmem.a(memheap_base_static.o):
undefined reference to symbol '_end'
//usr/lib/x86_64-linux-gnu/libnl-route-3.so.200: error adding symbols:
DSO missing from command line

(see attached the full configure.log from one of the Debian 9 machines)

I would expect that our archaic Slackware cluster has trouble
compiling recent PETSc version, and the newer machines would
experience less problems, but exactly the opposite is true.

Has anybody run into similar issues?

Best wishes

Lukas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 1726781 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20171127/681f539f/attachment-0001.obj>


More information about the petsc-users mailing list