problem building with openmpi

Jim Edwards jedwards at ucar.edu
Mon Nov 6 10:16:54 CST 2017


I am trying to build with openmpi/3.0.0 and intel17 and hanging in the build
of pnetcdf.f90.

The make output at the time is:

make[4]: Entering directory
'/glade/u/home/jedwards/src/parallel-netcdf/src/binding/f90'

  FC       pnetcdf.lo

examining the process I see:

/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/bin/intel64/ifort
-I. -I. -debug minimal -g -O0 -c pnetcdf.f90 -o pnetcdf.o
-I/glade/u/apps/ch/os/usr/include
-L/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/lib/intel64_lin
-L/glade/u/apps/ch/os/usr/lib64 -L/glade/u/apps/ch/os/lib64
-L/glade/u/apps/ch/os/usr/lib -L/glade/u/apps/ch/os/lib
-L/glade/u/apps/ch/opt/openmpi/3.0.0/intel/17.0.1/lib
-Wl,--disable-new-dtags
-Wl,-rpath,/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/lib/intel64_lin
-Wl,-rpath,/glade/u/apps/ch/os/usr/lib64
-Wl,-rpath,/glade/u/apps/ch/os/lib64 -Wl,-rpath,/glade/u/apps/ch/os/usr/lib
-Wl,-rpath,/glade/u/apps/ch/os/lib
-Wl,-rpath,/glade/u/apps/ch/opt/openmpi/3.0.0/intel/17.0.1/lib -lrt -ldl


If I remove all of the -L and -rpath flags and just do:

 /glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/bin/intel64/ifort
-I. -I. -debug minimal -g -O0 -c pnetcdf.f90 -o pnetcdf.o
That completes right away, so the problem seems to have to do with
libtool.   Also building with mpt instead of openmpi on the same system
works.

Any ideas?

-- 
Jim Edwards

CESM Software Engineer
National Center for Atmospheric Research
Boulder, CO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20171106/d5ab446a/attachment.html>


More information about the parallel-netcdf mailing list