-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to a single UFS_UTILS repository; remove utility builds from reg…
…ional_workflow (#17) * Changes necessary to run with a single UFS_UTILS repository and with the new chgres_cube * Changes to Externals.cfg to point to the EMC_post release branch and remove the second UFS_UTILS repo * Change UFS_UTILS source directory name (remove _develop) * Changes to build regional_grid on Jet * Remove builds for utilities previously in regional_workflow * Add new UFS_UTILS utilities to install_all.sh * Remove spaces. * Changes to Externals.cfg to point to new UFS_UTILS and regional_workflow, plus develop branch of ufs_weather_model and release branch of EMC_post * Revert back to NCAR fork of ufs_weather_model, since develop branch build of ufs-community/ufs_weather_model fails on Hera * Point to Larissa's fork of UFS_UTILS for new bug fixes * Point to my fork of UFS_UTILS
- Loading branch information
1 parent
d6f712b
commit d1822a2
Showing
8 changed files
with
78 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#!/bin/sh | ||
#========================================================================== | ||
# | ||
# Description: Builds chgres, chgres_cube, orog, fre-nctools, sfc_climo_gen, | ||
# regional_grid, global_equiv_resol, and mosaic_file. | ||
# | ||
# Usage: ./build_UFS_UTILS.sh | ||
# | ||
#========================================================================== | ||
set -eux | ||
cwd=`pwd` | ||
|
||
build_dir="${cwd}" | ||
UFS_UTILS="${cwd}/UFS_UTILS" | ||
export USE_PREINST_LIBS="true" | ||
|
||
#------------------------------------ | ||
# END USER DEFINED STUFF | ||
#------------------------------------ | ||
|
||
logs_dir=${cwd}/logs | ||
if [ ! -d $logs_dir ]; then | ||
echo "Creating logs folder" | ||
mkdir $logs_dir | ||
fi | ||
|
||
#------------------------------------ | ||
# INCLUDE PARTIAL BUILD | ||
#------------------------------------ | ||
|
||
. ./partial_build.sh | ||
|
||
#------------------------------------ | ||
# build UFS_UTILS | ||
#------------------------------------ | ||
$Build_UFS_UTILS && { | ||
echo " .... Building UFS_UTILS .... " | ||
cd $UFS_UTILS | ||
./build_all.sh > $logs_dir/build_UFS_UTILS.log 2>&1 | ||
if [ $? -eq 0 ] ; then | ||
echo "UFS_UTILS build SUCCEEDED" | ||
else | ||
echo "UFS_UTILS build FAILED see $logs_dir/build_UFS_UTILS.log" | ||
exit 1 | ||
fi | ||
} | ||
|
||
cd $build_dir | ||
|
||
echo 'Building UFS_UTILS done' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.