Forum

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
  1. system: deepin 20.5 (A debian based linux);
  2. compiler: intel oneapi 2021.02.
  3. I add some codes in the build.sh as below:
############add to build.sh after "On Deltares systems only"#######
# 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!
thumbnail
Adri Mourits, modified 3 Years ago.

RE: The build scripts stuck at the second last line of 'install_and_bundle

Youngling Post: 1 Join Date: 1/3/11 Recent Posts