Skip to content

Commit

Permalink
Merge branch 'develop' into feature/new_ip
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeGayno-NOAA committed Nov 29, 2022
2 parents 7f7feec + aa44b99 commit bf05b7f
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 13 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/linux-mac-nceplibs-mpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
CXX: g++-9
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
os: [macos-11, ubuntu-latest]
compiler: [gcc-9]
nceplibs_version: [develop, 1.4.0]
mpi_type: [mpich, openmpi]
Expand All @@ -29,7 +29,7 @@ jobs:
sudo apt-get update
sudo apt-get install libpng-dev
sudo apt-get install libjpeg-dev
elif [[ ${{ matrix.os }} == "macos-latest" ]]; then
elif [[ ${{ matrix.os }} == "macos-11" ]]; then
brew update
brew install wget
brew install jpeg-turbo
Expand All @@ -39,7 +39,6 @@ jobs:
sudo ln -sf /usr/local/bin/gfortran-10 /usr/local/bin/gfortran
fi
fi
python3 -m pip install gcovr
- name: cache-mpi
id: cache-mpi
Expand All @@ -64,7 +63,7 @@ jobs:
cd openmpi-4.1.1
if [[ ${{ matrix.os }} == "ubuntu-latest" ]]; then
./configure --prefix=$HOME/mpi --enable-mpi-fortran --enable-mpi-cxx
elif [[ ${{ matrix.os }} == "macos-latest" ]]; then
elif [[ ${{ matrix.os }} == "macos-11" ]]; then
./configure --prefix=$HOME/mpi --enable-mpi-fortran --enable-mpi-cxx --enable-two-level-namespace
fi
make -j2
Expand Down
2 changes: 1 addition & 1 deletion reg_tests/chgres_cube/driver.wcoss2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fi

export HOMEufs=$PWD/../..

export HOMEreg=/lfs/h2/emc/global/noscrub/George.Gayno/ufs_utils.git/reg_tests/chgres_cube
export HOMEreg=/lfs/h2/emc/nems/noscrub/emc.nems/UFS_UTILS/reg_tests/chgres_cube

LOG_FILE=consistency.log
SUM_FILE=summary.log
Expand Down
4 changes: 2 additions & 2 deletions reg_tests/cpld_gridgen/rt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ rm -f fail_test* $COMPILE_LOG run_*.log nccmp_*.log summary.log

if [[ $target = wcoss2 ]]; then
STMP=${STMP:-/lfs/h2/emc/stmp/$USER}
export MOM6_FIXDIR=/lfs/h2/emc/global/noscrub/George.Gayno/ufs_utils.git/reg_tests/cpld_gridgen/fix_mom6
BASELINE_ROOT=/lfs/h2/emc/global/noscrub/George.Gayno/ufs_utils.git/reg_tests/cpld_gridgen/baseline_data
export MOM6_FIXDIR=/lfs/h2/emc/nems/noscrub/emc.nems/UFS_UTILS/reg_tests/cpld_gridgen/fix_mom6
BASELINE_ROOT=/lfs/h2/emc/nems/noscrub/emc.nems/UFS_UTILS/reg_tests/cpld_gridgen/baseline_data
ACCOUNT=${ACCOUNT:-GFS-DEV}
export APRUN="mpiexec -n 1 -ppn 1 --cpu-bind core"
QUEUE=${QUEUE:-dev}
Expand Down
2 changes: 1 addition & 1 deletion reg_tests/global_cycle/driver.wcoss2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fi

DATA_DIR="${WORK_DIR}/reg-tests/global-cycle"

export HOMEreg=/lfs/h2/emc/global/noscrub/George.Gayno/ufs_utils.git/reg_tests/global_cycle
export HOMEreg=/lfs/h2/emc/nems/noscrub/emc.nems/UFS_UTILS/reg_tests/global_cycle

export OMP_NUM_THREADS_CY=2
export OMP_PLACES=cores
Expand Down
2 changes: 1 addition & 1 deletion reg_tests/grid_gen/driver.wcoss2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export APRUN_SFC="mpiexec -n 30 -ppn 30 -cpu-bind core"
export OMP_STACKSIZE=2048m
export OMP_NUM_THREADS=30 # orog code uses threads
export OMP_PLACES=cores
export HOMEreg=/lfs/h2/emc/global/noscrub/George.Gayno/ufs_utils.git/reg_tests/grid_gen/baseline_data
export HOMEreg=/lfs/h2/emc/nems/noscrub/emc.nems/UFS_UTILS/reg_tests/grid_gen/baseline_data
this_dir=$PWD

ulimit -a
Expand Down
4 changes: 2 additions & 2 deletions reg_tests/ice_blend/driver.wcoss2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#PBS -o consistency.log
#PBS -e consistency.log
#PBS -N iceb_regt
#PBS -q debug
#PBS -q dev
#PBS -A GFS-DEV
#PBS -l select=1:ncpus=1:mem=2500MB

Expand Down Expand Up @@ -51,7 +51,7 @@ if [ "$UPDATE_BASELINE" = "TRUE" ]; then
source ../get_hash.sh
fi

export HOMEreg=/lfs/h2/emc/global/noscrub/George.Gayno/ufs_utils.git/reg_tests/ice_blend
export HOMEreg=/lfs/h2/emc/nems/noscrub/emc.nems/UFS_UTILS/reg_tests/ice_blend
export HOMEgfs=$PBS_O_WORKDIR/../..

rm -fr $DATA
Expand Down
2 changes: 1 addition & 1 deletion reg_tests/snow2mdl/driver.wcoss2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if [ "$UPDATE_BASELINE" = "TRUE" ]; then
source ../get_hash.sh
fi

export HOMEreg=/lfs/h2/emc/global/noscrub/George.Gayno/ufs_utils.git/reg_tests/snow2mdl
export HOMEreg=/lfs/h2/emc/nems/noscrub/emc.nems/UFS_UTILS/reg_tests/snow2mdl
export HOMEgfs=$PWD/../..

LOG_FILE=consistency.log
Expand Down
2 changes: 1 addition & 1 deletion reg_tests/weight_gen/driver.wcoss2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if [ "$UPDATE_BASELINE" = "TRUE" ]; then
source ../get_hash.sh
fi

export HOMEreg=/lfs/h2/emc/global/noscrub/George.Gayno/ufs_utils.git/reg_tests/weight_gen
export HOMEreg=/lfs/h2/emc/nems/noscrub/emc.nems/UFS_UTILS/reg_tests/weight_gen
export HOMEufs=$PBS_O_WORKDIR/../..

export NCCMP=/lfs/h2/emc/global/noscrub/George.Gayno/util/nccmp/nccmp-1.8.5.0/src/nccmp
Expand Down

0 comments on commit bf05b7f

Please sign in to comment.