Configuration error building Ngsolve

More
6 years 5 months ago #532 by ddrake
Hi,

I'm trying to build Netgen/Ngsolve using the following configuration -- I think it used to work in this environment.
Code:
cmake \ -DCMAKE_C_COMPILER=$GCC_DIR/bin/gcc \ -DCMAKE_CXX_COMPILER=$GCC_DIR/bin/g++ \ -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DCMAKE_BUILD_TYPE=Release -DUSE_GUI=OFF \ -DUSE_MPI=ON \ -DUSE_MUMPS=ON \ -DUSE_HYPRE=ON \ -DUSE_MKL=ON \ -DMKL_ROOT=/opt/intel/mkl \ -DMKL_SDL=OFF \ ../ngsolve

Cmake doesn't report any errors, but when I run make, I get these errors:
Code:
[ 92%] Performing configure step for 'ngsolve' -- Found Git: /usr/bin/git (found version "1.8.3.1") -- The C compiler identification is GNU 7.2.0 -- The CXX compiler identification is GNU 7.2.0 -- Check for working C compiler: /vol/apps/gcc/gcc-7.2.0/bin/gcc -- Check for working C compiler: /vol/apps/gcc/gcc-7.2.0/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /vol/apps/gcc/gcc-7.2.0/bin/g++ -- Check for working CXX compiler: /vol/apps/gcc/gcc-7.2.0/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Netgen: /home/ddrake/NGserial/lib/cmake/netgen -- Looking for include file dlfcn.h -- Looking for include file dlfcn.h - found -- Looking for abi::__cxa_demangle -- Looking for abi::__cxa_demangle - found -- Found MKL: /opt/intel/mkl/include -- Found HYPRE: /home/ddrake/NGparallel/build/dependencies/src/project_hypre/src/hypre/lib/libHYPRE.a -- Found MUMPS: /home/ddrake/NGparallel/build/dependencies/src/project_mumps/lib/libdmumps.a;/home/ddrake/NGparallel/build/dependencies/src/project_mumps/lib/libzmumps.a;/home/ddrake/NGparallel/build/dependencies/src/project_mumps/lib/libmumps_common.a;/home/ddrake/NGparallel/build/dependencies/parmetis/lib/libparmetis.a -- Could NOT find LAPACK (missing: LAPACK_DIR) -- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE) Sphinx not found, if you want to build the documentation you have to install Sphinx ------------------------------------------------------------------------ NGSolve 6.2.1804-67-ga81fb5a: Automatic configuration OK. Build type: Release Compiler: /vol/apps/gcc/gcc-7.2.0/bin/g++ Flags: -O3 -DNDEBUG -DHAVE_NETGEN_SOURCES -DHAVE_DLFCN_H -DHAVE_CXA_DEMANGLE -DUSE_TIMEOFDAY -DTCL -DUSE_PARDISO -DLAPACK -DHYPRE -DUSE_MUMPS -DNGS_PYTHON -DUSE_UMFPACK -march=native $<$<COMPILE_LANGUAGE:CXX>:-std=c++14> -fPIC Enabled functionality: GUI: ............... ON LAPACK: ............ ON MKL: ............... ON PYTHON: ............ ON MPI: ............... OFF CUDA: .............. MUMPS: ............. ON PARDISO: ........... OFF INTEL_MIC: ......... OFF VTUNE: ............. OFF VAMPIRTRACE: ....... OFF Building: Type 'make' to compile NGSolve. Type 'make install' to install NGSolve. Install directory: /home/ddrake/NGparallel ------------------------------------------------------------------------ -- Configuring done CMake Error: CMake can not determine linker language for target: dummy_fortran CMake Error in linalg/CMakeLists.txt: Exporting the target "dummy_fortran" is not allowed since its linker language cannot be determined CMake Error: CMake can not determine linker language for target: dummy_fortran CMake Error in linalg/CMakeLists.txt: Exporting the target "dummy_fortran" is not allowed since its linker language cannot be determined CMake Error: Cannot determine link language for target "dummy_fortran". -- Generating done CMake Warning: Manually-specified variables were not used by the project: USE_GUI

Thanks,
Dow
More
6 years 5 months ago #533 by ddrake
Sorry to bother -- it's working now -- the problem was on my end. I think a variable wasn't set correctly...

Thanks,
Dow
Time to create page: 0.097 seconds