Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jet build config update, Hera GNU support, FV3 dycore GNU bugfix #151

Merged
2 changes: 1 addition & 1 deletion FV3
Submodule FV3 updated 1 files
+1 −1 atmos_cubed_sphere
3 changes: 1 addition & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ set -eu

MYDIR=$(cd "$(dirname "$(readlink -f -n "${BASH_SOURCE[0]}" )" )" && pwd -P)

export COMPILER=${COMPILER:?"Please set COMPILER environment variable [gnu|intel]"}
export CMAKE_Platform=linux.${COMPILER}
export CMAKE_Platform=${CMAKE_Platform:?"Please set the CMAKE_Platform environment variable, e.g. [macosx.gnu|linux.gnu|linux.intel|hera.intel|...]"}
export CMAKE_C_COMPILER=${CMAKE_C_COMPILER:-mpicc}
export CMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER:-mpicxx}
export CMAKE_Fortran_COMPILER=${CMAKE_Fortran_COMPILER:-mpif90}
Expand Down
4 changes: 3 additions & 1 deletion cmake/configure_jet.intel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ option(INLINE_POST "Enable inline post" OFF)

include( cmake/${CMAKE_Fortran_COMPILER_ID}.cmake )

message("AVX2 is ENABLED on Jet (multi-tagret executable)")
message("AVX2 is ENABLED on Jet (multi-target executable)")
string (REPLACE "-xHOST" "-axSSE4.2,AVX,CORE-AVX2" CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS}")
string (REPLACE "-xHOST" "-axSSE4.2,AVX,CORE-AVX2" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
# For CCPP
option(SIMDMULTIARCH "Enable multi-target SIMD instruction sets" ON)

string(REPLACE "-i_dynamic" "-shared-intel"
CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS
Expand Down
7 changes: 3 additions & 4 deletions modulefiles/hera.gnu/fv3
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@ module load sutils
## this typically includes compiler, MPI and job scheduler
##
module load gnu/9.2.0
module load openmpi/3.1.4
module load netcdf/4.7.2
module use -a /scratch1/BMC/gmtb/software/modulefiles/gnu-9.2.0/mpich-3.3.2
module load mpich/3.3.2

##
## use pre-compiled EMSF library and NCEP libraries for above compiler / MPI combination
## use pre-compiled netCDF, EMSF library and NCEP libraries for above compiler / MPI combination
##
module use -a /scratch1/BMC/gmtb/software/modulefiles/gnu-9.2.0/openmpi-3.1.4
module load NCEPlibs/1.0.0

##
Expand Down
528 changes: 528 additions & 0 deletions tests/Compile_hera.gnu.log

Large diffs are not rendered by default.

1,031 changes: 491 additions & 540 deletions tests/Compile_hera.intel.log

Large diffs are not rendered by default.

835 changes: 416 additions & 419 deletions tests/Compile_orion.intel.log

Large diffs are not rendered by default.

811 changes: 428 additions & 383 deletions tests/Compile_wcoss_cray.log

Large diffs are not rendered by default.

545 changes: 274 additions & 271 deletions tests/Compile_wcoss_dell_p3.log

Large diffs are not rendered by default.

697 changes: 697 additions & 0 deletions tests/RegressionTests_hera.gnu.log

Large diffs are not rendered by default.

108 changes: 54 additions & 54 deletions tests/RegressionTests_hera.intel.log

Large diffs are not rendered by default.

100 changes: 50 additions & 50 deletions tests/RegressionTests_orion.intel.log

Large diffs are not rendered by default.

90 changes: 45 additions & 45 deletions tests/RegressionTests_wcoss_cray.log

Large diffs are not rendered by default.

92 changes: 46 additions & 46 deletions tests/RegressionTests_wcoss_dell_p3.log

Large diffs are not rendered by default.