Skip to content

Commit

Permalink
Make UPP can be built on wcoss2 and other machines (#414)
Browse files Browse the repository at this point in the history
On branch hotfix/gefs_v12
 Changes to be committed:
	modified:   sorc/build_ncep_post.sh

Refs: #345
  • Loading branch information
XianwuXue-NOAA authored Nov 12, 2021
1 parent c574d19 commit 6737e7e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion sorc/build_ncep_post.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ elif [ -d /apps/prod ]; then # WCOSS2
machine=wcoss2
fi

source ../modulefiles/post/v8.0.0-${machine}
if [ $machine = wcoss2 ] ; then
source ../modulefiles/post/v8.0.0-${machine}
else
moduledir=`dirname $(readlink -f ../modulefiles/post)`
module use ${moduledir}
module load post/v8.0.0-${machine}
fi
module list

cd ncep_post.fd
Expand Down

0 comments on commit 6737e7e

Please sign in to comment.