From 7eee6de65659bdf3407c75bc552c035de7c7d582 Mon Sep 17 00:00:00 2001 From: "kate.friedman" Date: Thu, 16 Sep 2021 17:38:08 +0000 Subject: [PATCH] Add WCOSS2 if-block to build_tropcy_NEMS.sh for SIGIO - the production library installation on WCOSS2 is hpc-stack and includes updates to some library variable names - added an if-block to build_tropcy_NEMS.sh when on WCOSS2 to set the SIGIO variables to the new hpc-stack versions - SIGIO_LIB4 in hpc-stack is now just SIGIO_LIB - SIGIO_INC4 in hpc-stack is now just SIGIO_INC - need if-block to retain support for pre-hpc-stack in operations branch on other platforms Refs: #399 --- sorc/build_tropcy_NEMS.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sorc/build_tropcy_NEMS.sh b/sorc/build_tropcy_NEMS.sh index 77a69dc95e..72b4b18309 100755 --- a/sorc/build_tropcy_NEMS.sh +++ b/sorc/build_tropcy_NEMS.sh @@ -29,6 +29,11 @@ else fi source ../modulefiles/modulefile.storm_reloc_v6.0.0.$target +if [ $target = "wcoss2" ]; then + SIGIO_LIB4=$SIGIO_LIB + SIGIO_INC4=$SIGIO_INC +fi + export FC=mpiifort export JASPER_LIB=${JASPER_LIB:-$JASPER_LIBRARY_DIRS/libjasper.a}