ntmanhvn181
Member
Dear all,
I have a error when I try to compile metis-5.1.0 by this following command
Please help me to solve this problem.
I have a error when I try to compile metis-5.1.0 by this following command
Please help me to solve this problem.
Code:
make config share=1 cc=gcc
rm -rf build/Linux-x86_64
mkdir -p build/Linux-x86_64
cd build/Linux-x86_64 && cmake /work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/metis-5.1.0 -DCMAKE_VERBOSE_MAKEFILE=1 -DGKLIB_PATH=/work/users/cloud/user/manh/MPAS/MPAS-Model-6.3/metis-5.1.0/GKlib -DCMAKE_C_COMPILER=gcc
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is Intel 16.0.0.20160811
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /share/apps/intel/compilers_and_libraries_2016.4.258/linux/bin/intel64/icpc
-- Check for working CXX compiler: /share/apps/intel/compilers_and_libraries_2016.4.258/linux/bin/intel64/icpc -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Looking for getline
-- Looking for getline - found
-- checking for thread-local storage - found
-- Configuring done
-- Generating done
-- Build files have been written to: /export/home/cloud/work/user/manh/MPAS/MPAS-Model-6.3/metis-5.1.0/build/Linux-x86_64
make install > make.log
CMake Error at /export/home/cloud/work/user/manh/MPAS/MPAS-Model-6.3/metis-5.1.0/build/Linux-x86_64/include/cmake_install.cmake:36 (FILE):
file INSTALL cannot copy file
"/export/home/cloud/work/user/manh/MPAS/MPAS-Model-6.3/metis-5.1.0/include/metis.h"
to "/usr/local/include/metis.h".
Call Stack (most recent call first):
cmake_install.cmake:37 (INCLUDE)
make[1]: *** [install] Error 1
make: *** [install] Error 2