laristra / flecsi

A mirror of FleCSI's internal gitlab repository.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build error flecsi-third-party libs

hiemstar opened this issue · comments

Hi,

I am trying to build flecsi using CLANG 6 on windows subsystem linux (WSL2) and I get the following build error below. In particular check the couple of lines I took from the hdf5-log-file that are listed at the bottom.

From the terminal:

rene> build (master) $ cmake .. \

-DCMAKE_BUILD_TYPE=debug
-DCMAKE_INSTALL_PREFIX=/mnt/c/Users/rene/Documents/flecsi-third-party/flecsi-third-party-debug/
-- The CXX compiler identification is Clang 6.0.0
-- The C compiler identification is Clang 6.0.0
-- The Fortran compiler identification is GNU 7.4.0
-- Check for working CXX compiler: /usr/bin/clang++-6.0
-- Check for working CXX compiler: /usr/bin/clang++-6.0 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/clang-6.0
-- Check for working C compiler: /usr/bin/clang-6.0 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working Fortran compiler: /usr/bin/f95
-- Check for working Fortran compiler: /usr/bin/f95 -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/f95 supports Fortran 90
-- Checking whether /usr/bin/f95 supports Fortran 90 -- yes
-- Building zlib
-- Building szip
-- Building hdf5
-- Building netcdf
-- Building exodus
-- Found MPI_C: /usr/lib/x86_64-linux-gnu/libmpich.so (found version "3.1")
-- Found MPI_CXX: /usr/lib/x86_64-linux-gnu/libmpichcxx.so (found version "3.1")
-- Found MPI_Fortran: /usr/lib/x86_64-linux-gnu/libmpichfort.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
-- Building parmetis
-- Building gasnet
-- Building legion
-- Building cinch-utils
-- Building caliper
-- Configuring done
-- Generating done
-- Build files have been written to: /mnt/c/Users/rene/Documents/flecsi-third-party/build
rene> build (master) $ make
Scanning dependencies of target zlib
[ 1%] Creating directories for 'zlib'
[ 2%] Performing download step (verify and extract) for 'zlib'

-- Configuring done
-- Generating done
-- Build files have been written to: /mnt/c/Users/rene/Documents/flecsi-third-party/build/hdf5/src/hdf5-build
[ 27%] Performing build step for 'hdf5'
CMake Error at /mnt/c/Users/rene/Documents/flecsi-third-party/build/hdf5/src/hdf5-stamp/hdf5-build-debug.cmake:49 (message):
Command failed: 2

'make'

See also

/mnt/c/Users/rene/Documents/flecsi-third-party/build/hdf5/src/hdf5-stamp/hdf5-build-*.log

CMakeFiles/hdf5.dir/build.make:115: recipe for target 'hdf5/src/hdf5-stamp/hdf5-build' failed
make[2]: *** [hdf5/src/hdf5-stamp/hdf5-build] Error 1
CMakeFiles/Makefile2:121: recipe for target 'CMakeFiles/hdf5.dir/all' failed
make[1]: *** [CMakeFiles/hdf5.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

The following is from .../flecsi-third-party/build/hdf5/src/hdf5-stamp/hdf5-build-*.log

3 warnings generated.
make[5]: *** No rule to make target '/mnt/c/Users/rene/Documents/flecsi-third-party/build/zlib/install/lib/libz.so', needed by 'bin/libhdf5_debug.so.1.8.15'. Stop. make[4]: *** [src/CMakeFiles/hdf5.dir/all] Error 2
make[3]: *** [all] Error 2