Skip to content
Snippets Groups Projects
Commit cd63ce06 authored by Siddhant Tibrewal's avatar Siddhant Tibrewal
Browse files

added cray c++ compiler wraper for lumi build scripts

parent 66dabcdf
Branches release-0.5.1
Tags v0.5.1
1 merge request!46Build process for multiple compilers across different machines
......@@ -55,7 +55,7 @@ function clone_to {
# invoke with the specified FC, CC and CXX if they are present as variables
function invoke_build_script_generation {
if [ -n "${CC}" ] || [ -n "${CXX}" ] || [ -n "${FC}" ]; then
echo "env CC=${CC:-$CC} CXX=${CXX:-$CXX} FC=${FC:-$FC} "$@""
echo "invoking.. env CC=${CC:-$CC} CXX=${CXX:-$CXX} FC=${FC:-$FC} "$@""
env CC=${CC:-$CC} CXX=${CXX:-$CXX} FC=${FC:-$FC} "$@"
else
"$@"
......
......@@ -29,6 +29,7 @@ module load PrgEnv-cray cce/16.0.1.1 craype-x86-milan cray-mpich cray-hdf5 cray-
unset INCLUDE_PATH_X86_64
export CC="cc"
export CXX="CC"
export FC="ftn"
THREADS=8
......
......@@ -29,9 +29,10 @@ module load PrgEnv-cray cce/17.0.1 craype-x86-milan cray-mpich/8.1.29 cray-hdf5
unset INCLUDE_PATH_X86_64
export CC="cc"
export CXX="CC"
export FC="ftn"
THREADS=8
THREADS=64
BUILD_PATH=$ABSOLUTE_YACO_ROOT/build/$COMPILER
INSTALL_PATH=$BUILD_PATH/install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment