Skip to content

Commit 403a87f

Browse files
authored
Merge pull request #62 from ESCOMP/katec/derecho_update
Katec/derecho update
2 parents ea89779 + 627b3d7 commit 403a87f

5 files changed

Lines changed: 80 additions & 18 deletions

File tree

.gitignore

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Ignore editor temporaries and backups
2+
*~
3+
.#*
4+
\#*#
5+
*.swp
6+
7+
# Ignore python bytecode files
8+
*.pyc
9+
10+
# Ignore build temporary files
11+
CMakeCache.txt
12+
CMakeFiles
13+
Makefile
14+
autocopy.log
15+
Makefile.am
16+
build
17+
cmake_install.cmake
18+
fortran_autocopy_includes
19+
fortran_autogen_srcs
20+
fortran_mod_files
21+
lib
22+
23+
#ignore cism_driver executables
24+
cism_driver
25+
26+
#ignore test outputs
27+
results
28+
*config.log
29+
*out.nc
30+
*restart.nc
31+
output
32+
*.o*
33+
e1-mm.3.nc
34+
isos.elra.nc
35+
mismip.config
36+
mismip3d.config
37+
mismip3dInit.nc
38+
greenland_20km.config.pdd.log
39+
greenland_20km.config.smb.log
40+
pbsout.txt
41+
linear
42+
P75R
43+
P75S
44+
Stnd
45+
mismip+Ice0

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
CISM Changelog
22

3+
Changes in CISM tag cism_main_2.01.015
4+
======================================
5+
Updates for running CISM standalone on the NSF NCAR Derecho supercomputer.
6+
37
Changes in CISM tag cism_main_2.01.014
48
======================================
59
Basal hydrology scheme, new basal friction and inversion options ESCOMP/CISM PR#61

builds/derecho-intel/derecho-intel-cmake

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,16 @@
44

55
# This cmake configuration script is set up to perform a parallel build with Trilinos
66

7+
source /etc/profile.d/z00_modules.csh
8+
79
module purge
8-
module load ncarenv/23.06
9-
module load intel/2023.0.0
10-
module load intel-mpi/2021.8.0
11-
module load mkl/2023.0.0
12-
#module load mpt/2.19
13-
module load netcdf/4.9.2
10+
module load ncarenv/23.09
11+
module load intel/2023.2.1
1412
module load ncarcompilers/1.0.0
15-
#module load pnetcdf/1.11.0
13+
module load cray-mpich/8.1.27
14+
module load mkl/2023.2.0
15+
module load netcdf/4.9.2
1616
module load cmake/3.26.3
17-
#module load python/2.7.13
18-
#module load numpy/1.12.0
19-
#module load netcdf4-python/1.2.7
2017

2118
# remove old build data:
2219
rm -f ./CMakeCache.txt

builds/derecho-intel/derecho-intel-cmake.sh

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,20 @@ else
1515
cism_top=${1%/}
1616
fi
1717

18+
source /etc/profile.d/z00_modules.sh
19+
1820
echo CISM: "${cism_top}"
1921

2022

2123
module purge
22-
module load ncarenv/23.06
23-
module load intel/2023.0.0
24-
module load mkl/2023.0.0
25-
#module load mpt/2.15f
24+
module load ncarenv/23.09
25+
module load intel/2023.2.1
26+
module load cray-mpich/8.1.27
27+
module load mkl/2023.2.0
2628
module load netcdf/4.9.2
2729
module load ncarcompilers/1.0.0
28-
#module load pnetcdf/1.8.0
2930
module load cmake/3.26.3
30-
#module load python/2.7.13
31-
#module load numpy/1.12.0
32-
#module load netcdf4-python/1.2.7
31+
3332

3433
# remove old build data:
3534
rm -f ./CMakeCache.txt
@@ -65,6 +64,8 @@ cmake \
6564
-D CMAKE_CXX_COMPILER=mpiicpc \
6665
-D CMAKE_C_COMPILER=mpicc \
6766
-D CMAKE_Fortran_COMPILER=mpif90 \
67+
\
68+
-D CMAKE_EXE_LINKER_FLAGS="-mkl=cluster" \
6869
\
6970
-D CMAKE_Fortran_FLAGS:STRING="-qno-opt-dynamic-align -convert big_endian -assume byterecl -ftz -traceback -assume realloc_lhs -fp-model source -qopt-report -O2 -debug minimal " \
7071
-D CMAKE_C_FLAGS:STRING="-qno-opt-dynamic-align -fp-model precise -std=gnu99 -qopt-report -O2 -debug minimal " \
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
#
3+
#PBS -N MISMIP
4+
#PBS -A P93300601
5+
#PBS -l walltime=01:30:00
6+
#PBS -q main
7+
#PBS -j oe
8+
#PBS -m abe
9+
#PBS -l select=1:ncpus=128:mpiprocs=128
10+
11+
module load intel/2023.2.1
12+
module load craype/2.7.23
13+
module load mkl/2023.2.0
14+
15+
mpiexec -n 128 ./cism_driver mismip.config

0 commit comments

Comments
 (0)