Hi Victor, Its worth double checking that the THIRDPARTY_BUILD_BOOST option in cmake is actually set to OFF. I assume this is probably already set correctly since your existing Boost installation has now been picked up but if THIRDPARTY_BUILD_BOOST is set to ON, this would explain why it is still trying to build a separate version of Boost. Cheers, Jeremy On 9 Apr 2016, at 17:29, Victor Eijkhout <eijkhout@tacc.utexas.edu> wrote:
export BOOST_HOME=/path/to/boost_1_59_0
Thanks. That helped for the cmake but not the make:
-- Searching for Boost: -- -- Found Boost thread library: /opt/apps/intel16/boost/1.59/lib/libboost_thread.so -- -- Found Boost iostreams library: /opt/apps/intel16/boost/1.59/lib/libboost_iostreams.so -- -- Found Boost date_time library: /opt/apps/intel16/boost/1.59/lib/libboost_date_time.so -- -- Found Boost filesystem library: /opt/apps/intel16/boost/1.59/lib/libboost_filesystem.so -- -- Found Boost system library: /opt/apps/intel16/boost/1.59/lib/libboost_system.so -- -- Found Boost program_options library: /opt/apps/intel16/boost/1.59/lib/libboost_program_options.so -- -- Found Boost regex library: /opt/apps/intel16/boost/1.59/lib/libboost_regex.so -- -- Found Boost timer library: /opt/apps/intel16/boost/1.59/lib/libboost_timer.so -- Build boost libs: thread, iostreams, date_time, filesystem, system, program_options, regex, timer -- Looking for include file mpi.h -- Looking for include file mpi.h - not found -- Looking for MPI_Send -- Looking for MPI_Send - not found -- Found MPI_C: /usr/lib64/libdl.so;/opt/cray/mpt/default/gni/mpich-intel/14.0/lib/libmpich_intel.so;/usr/lib64/librt.so;/opt/cray/ugni/default/lib64/libugni.so;/opt/cray/pmi/default/lib64/libpmi.so;/usr/lib64/libdl.so;/opt/cray/xpmem/default/lib64/libxpmem.so;/usr/lib64/libpthread.so;/opt/cray/udreg/default/lib64/libudreg.so -- Found MPI_CXX: /usr/lib64/libdl.so;/opt/cray/mpt/default/gni/mpich-intel/14.0/lib/libmpichcxx_intel.so;/opt/cray/mpt/default/gni/mpich-intel/14.0/lib/libmpich_intel.so;/usr/lib64/librt.so;/opt/cray/ugni/default/lib64/libugni.so;/opt/cray/pmi/default/lib64/libpmi.so;/usr/lib64/libdl.so;/opt/cray/xpmem/default/lib64/libxpmem.so;/usr/lib64/libpthread.so;/opt/cray/udreg/default/lib64/libudreg.so -- Found MPI: /usr/lib64/libdl.so -- Build GSMPI: /work/00434/eijkhout/lonestar/nektar/build-4.3.0/ThirdParty/dist/lib/libgsmpi.a -- Build XXT: /work/00434/eijkhout/lonestar/nektar/build-4.3.0/ThirdParty/dist/lib/libxxt.a -- Found MKL: /opt/apps/intel/16.0.1.150/compilers_and_libraries_2016.1.150/linux/mkl/include -- Configuring done -- Generating done -- Build files have been written to: /work/00434/eijkhout/lonestar/nektar/build-4.3.0 make[1]: Entering directory `/work/00434/eijkhout/lonestar/nektar/build-4.3.0' make[2]: Entering directory `/work/00434/eijkhout/lonestar/nektar/build-4.3.0' make[3]: Entering directory `/work/00434/eijkhout/lonestar/nektar/build-4.3.0' Scanning dependencies of target boost make[3]: Leaving directory `/work/00434/eijkhout/lonestar/nektar/build-4.3.0' make[3]: Entering directory `/work/00434/eijkhout/lonestar/nektar/build-4.3.0' [ 0%] Creating directories for 'boost' [ 1%] Performing download step (download, verify and extract) for 'boost' -- downloading... src='https://www.nektar.info/thirdparty/boost_1_57_0.tar.bz2' dst='/work/00434/eijkhout/lonestar/nektar/nektar++-4.3.0/ThirdParty/boost_1_57_0.tar.bz2' timeout='none' CMake Error at stamp/download-boost.cmake:27 (message): error: downloading 'https://www.nektar.info/thirdparty/boost_1_57_0.tar.bz2' failed
(replacing /path/to/boost_1_59_0 appropriately).
Then wipe your build directory and run ccmake from scratch. It should now find your pre-installed Boost libraries.
Cheers, Chris
On 09/04/16 02:31, Victor Eijkhout wrote:
I can not find in the documentation how to specify the Boost library.
1. I’ve unzipped the tar.bz2 file in the ThirdParty directory, but nektar still tries to download the tar.bz2 file.
2. I have a boost 1.59 installed, and the bin directory is in the LD_LIBRARY_PATH but the installation is not finding or using it.
Victor.
_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
-- Chris Cantwell Imperial College London South Kensington Campus London SW7 2AZ Email: c.cantwell@imperial.ac.uk www.imperial.ac.uk/people/c.cantwell
_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users