-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add standalone build as 'make example'
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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_* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |