Hello,

I am having a problem with building HDF5 that points to a lsf library issue. We 
install LSF in a non-standard path and source the profile.lsf script. In my 
OpenMPI script I have set LD_LIBRARY_PATH to LSF_LIBDIR in order for OpenMPI to 
pick up the libraries. This is needed when you verify OpenMPI is configured 
with lsf using ompi_info see: https://www.open-mpi.org/faq/?category=building

The error seems to be trivial. The reference to pow, ceil, log seems to point 
to the math library. I would suspect this is provided by GCC and if so it 
should be picked up.

[hpcswadm@amrndhl1157 HDF5]$ eb HDF5-1.8.17-foss-2016.03.eb
== temporary log file in case of crash /tmp/eb-P1j91T/easybuild-dHe7E3.log
== processing EasyBuild easyconfig 
/hpc/hpcswadm/easybuild/HDF5/HDF5-1.8.17-foss-2016.03.eb
== building and installing MPI/GCC/5.4.0-2.27/OpenMPI/2.0.0/HDF5/1.8.17...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== patching...
== preparing...
== configuring...
== building...
== FAILED: Installation ended unsuccessfully (build directory: 
/nfs/grid/software/RHEL7-BUILD/easybuild/build/HDF5/1.8.17/foss-2016.03): build 
failed (first 300 chars): cmd " make -j 80 CXXFLAGS="$CXXFLAGS 
-DMPICH_IGNORE_CXX_SEEK" FC="mpifort" " exited with exitcode 2 and output:
Making all in src
make[1]: Entering directory 
`/nfs/grid/software/RHEL7-BUILD/easybuild/build/HDF5/1.8.17/foss-2016.03/hdf5-1.8.17/src'
make  all-am
make[2]: Entering directory `/nfs/grid/
== Results of the build can be found in the log file(s) 
/tmp/eb-P1j91T/easybuild-HDF5-1.8.17-20170317.150809.jGPiX.log
ERROR: Build of /hpc/hpcswadm/easybuild/HDF5/HDF5-1.8.17-foss-2016.03.eb failed 
(err: 'build failed (first 300 chars): cmd " make -j 80 CXXFLAGS="$CXXFLAGS 
-DMPICH_IGNORE_CXX_SEEK" FC="mpifort" " exited with exitcode 2 and 
output:\nMaking all in src\nmake[1]: Entering directory 
`/nfs/grid/software/RHEL7-BUILD/easybuild/build/HDF5/1.8.17/foss-2016.03/hdf5-1.8.17/src\'\nmake
  all-am\nmake[2]: Entering directory `/nfs/grid/')
[hpcswadm@amrndhl1157 HDF5]$ vi 
/tmp/eb-P1j91T/easybuild-HDF5-1.8.17-20170317.150809.jGPiX.log
[hpcswadm@amrndhl1157 HDF5]$ tail 
/tmp/eb-P1j91T/easybuild-HDF5-1.8.17-20170317.150809.jGPiX.log
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/nfs/grid/software/RHEL7-BUILD/easybuild/build/HDF5/1.8.17/foss-2016.03/hdf5-1.8.17/c++'
make: *** [all-recursive] Error 1
(at 
easybuild/software/Core/EasyBuild/3.1.1/lib/python2.7/site-packages/easybuild_framework-3.1.1-py2.7.egg/easybuild/tools/run.py:446
 in parse_cmd_output)
== 2017-03-17 15:09:45,763 easyblock.py:2520 WARNING build failed (first 300 
chars): cmd " make -j 80 CXXFLAGS="$CXXFLAGS -DMPICH_IGNORE_CXX_SEEK" 
FC="mpifort" " exited with exitcode 2 and output:
Making all in src
make[1]: Entering directory 
`/nfs/grid/software/RHEL7-BUILD/easybuild/build/HDF5/1.8.17/foss-2016.03/hdf5-1.8.17/src'
make  all-am
make[2]: Entering directory `/nfs/grid/
== 2017-03-17 15:09:45,764 easyblock.py:276 INFO Closing log for application 
name HDF5 version 1.8.17



  CXX      tvlstr.o
  CXX      h5cpputil.o
  CXX      ttypes.o
  CXXLD    testhdf5
/hpc/grid/lsfhpc1p/9.1/linux2.6-glibc2.3-x86_64/lib/libbat.so: error: undefined 
reference to 'pow'
/hpc/grid/lsfhpc1p/9.1/linux2.6-glibc2.3-x86_64/lib/libbat.so: error: undefined 
reference to 'ceil'
/hpc/grid/lsfhpc1p/9.1/linux2.6-glibc2.3-x86_64/lib/libbat.so: error: undefined 
reference to 'log'
collect2: error: ld returned 1 exit status
make[2]: *** [testhdf5] Error 1
make[2]: Leaving directory 
`/nfs/grid/software/RHEL7-BUILD/easybuild/build/HDF5/1.8.17/foss-2016.03/hdf5-1.8.17/c++/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/nfs/grid/software/RHEL7-BUILD/easybuild/build/HDF5/1.8.17/foss-2016.03/hdf5-1.8.17/c++'
make: *** [all-recursive] Error 1
(at 
easybuild/software/Core/EasyBuild/3.1.1/lib/python2.7/site-packages/easybuild_framework-3.1.1-py2.7.egg/easybuild/tools/run.py:446
 in parse_cmd_output)
== 2017-03-17 15:09:45,763 easyblock.py:2520 WARNING build failed (first 300 
chars): cmd " make -j 80 CXXFLAGS="$CXXFLAGS -DMPICH_IGNORE_CXX_SEEK" 
FC="mpifort" " exited with exitcode 2 and output:
Making all in src
make[1]: Entering directory 
`/nfs/grid/software/RHEL7-BUILD/easybuild/build/HDF5/1.8.17/foss-2016.03/hdf5-1.8.17/src'
make  all-am
make[2]: Entering directory `/nfs/grid/
== 2017-03-17 15:09:45,764 easyblock.py:276 INFO Closing log for application 
name HDF5 version 1.8.17

Shahzeb Siddiqui
HPC Linux Engineer
B2220-447.2
Groton, CT

Reply via email to