RE: The build scripts stuck at the second last line of 'install_and_bundle - Forum - Delft3D Flexible Mesh
Forum
- Home
- 2. Questions and troubleshooting
- 2.1 Questions about the software
- 2.1.1 Compiling the code
- RE: The build scripts stuck at the second last line of 'install_and_bundle
RE: The build scripts stuck at the second last line of 'install_and_bundle
Nautilus Chan, modified 3 Years ago.
The build scripts stuck at the second last line of 'install_and_bundle.'
Youngling Post: 1 Join Date: 6/17/14 Recent Posts- system: deepin 20.5 (A debian based linux);
- compiler: intel oneapi 2021.02.
- I add some codes in the build.sh as below:
# Intel compiler:
myconfig=$config
. /opt/intel/oneapi/setvars.sh
. /opt/intel/oneapi/tbb/latest/env/vars.sh
export config=$myconfig
# Intel MPI:
. /opt/intel/oneapi/mpi/latest/env/vars.sh -ofi_internal=1
# netcdf、petsc:
export NETCDF=~/oss_dependence
export PKG_CONFIG_PATH=${NETCDF}/pkg_config:$PKG_CONFIG_PATH
# Metis:
export METIS_DIR=${NETCDF}/metis
export FC=mpiifort
export CXX=mpiicpc
export CC=mpiicc
echo "FC=$FC"
echo "CXX=$CXX"
echo "CC=$CC"
#########add code end###########
It seems good, but stucked at the second last line of 'install_and_bundle.cmake':
"execute_process(COMMAND find "${CMAKE_INSTALL_PREFIX}/lib" -type l -exec echo "remove destination of symlink:" {} \; -exec bash -c "cp --remove-destination $(readlink {}) {};" {} \; WORKING_DIRECTORY "${CMAKE_INSTALL_PREFIX}/lib" )"
And , It cannot find the folder "${CMAKE_INSTALL_PREFIX}/share".
Could you help me? Thanks very much!
Attachments:
Adri Mourits, modified 3 Years ago.