Skip to content

Commit

Permalink
Fix issues with NEMO integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sergisiso committed Feb 11, 2025
1 parent 73209b5 commit 9f66641
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nemo_v5_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ jobs:
# We compile at -O1 to permit comparison of the results.
cd $NEMO_DIR
cp $PSYCLONE_NEMO_DIR/KGOs/arch-linux_spack.fcm arch/arch-linux_spack.fcm
export FCFLAGS="-i4 -Mr8 -O1 -nofma -Mnovect -g -mp=gpu -gpu=managed,math_uniform"
export FCFLAGS="-i4 -Mr8 -O1 -nofma -Mnovect -g -mp=gpu -gpu=mem:managed,math_uniform"
# Clean up and compile
# Without key_mpi_off it fails to compile (even without psyclone)
Expand Down Expand Up @@ -255,7 +255,7 @@ jobs:
# We compile at "-O1 -nofma -Mnovect -gpu=math_uniform" to permit comparison of the results.
cd $NEMO_DIR
cp $PSYCLONE_NEMO_DIR/KGOs/arch-linux_spack.fcm arch/arch-linux_spack.fcm
export FCFLAGS="-i4 -Mr8 -O1 -nofma -Mnovect -g -mp=gpu -gpu=managed,math_uniform"
export FCFLAGS="-i4 -Mr8 -O1 -nofma -Mnovect -g -mp=gpu -gpu=mem:managed,math_uniform"
# Clean up and compile
# Without key_mpi_off it fails to compile (even without psyclone)
Expand All @@ -264,7 +264,7 @@ jobs:
add_key "key_mpi_off key_nosignedzero" -j 4 -v 1
# Run test (disabled because it is currently too slow)
cd $NEMO_DIR/tests/${TEST_DIR}/EXP00
cd $NEMO_DIR/cfgs/${TEST_DIR}/EXP00
./nemo
diff $PSYCLONE_NEMO_DIR/KGOs/run.stat.orca1.nvhpc.10steps run.stat
export TIME_sec=$(grep "local proces" timing.output | head -n 1 | awk '{print $4}' | tr -d s)
Expand Down
2 changes: 2 additions & 0 deletions examples/nemo/scripts/omp_gpu_trans.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@
NEMOV4 = os.environ.get('NEMOV4', False)

NEMOV4_EXCLUSIONS = [
"sbcdcy.f90",
"sbcmod.f90",
"domvvl.f90",
"domzgr.f90",
"dtatsd.f90",
Expand Down

0 comments on commit 9f66641

Please sign in to comment.