Skip to content

Commit

Permalink
Add standalone build as 'make example'
Browse files Browse the repository at this point in the history
  • Loading branch information
penguian committed Apr 3, 2024
1 parent d1cf7bf commit 4f8e227
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
example:
bld/build.sh nci cice4 25x29
clean:
rm -rf build_*
17 changes: 17 additions & 0 deletions bld/config.nci.cice4.25x29
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

setenv RES gx3
setenv GRID 100x116

set NXGLOB = `echo $GRID | sed s/x.\*//`
set NYGLOB = `echo $GRID | sed s/.\*x//`

setenv NTASK 4 # total number of processors
setenv BLCKX 25 # x-dimension of blocks ( not including )
setenv BLCKY 29 # y-dimension of blocks ( ghost cells )

source /etc/profile.d/modules.csh
module purge
module load intel-compiler/2019.3.199
module load intel-mkl/2019.3.199
module load netcdf/4.7.1
module load openmpi/4.0.2

0 comments on commit 4f8e227

Please sign in to comment.