Skip to content

Commit b8eee94

Browse files
authored
Merge pull request #17 from smsaleeb/main
Steve's updates past v6.3.03 for new tagged version v.6.3.04
2 parents c8f4e39 + 0dcbe82 commit b8eee94

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+735
-412
lines changed
Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184

185185
! History start (if RUNTYPE='HISTORY')
186186

187-
HFILIN = './test.supercell/a-A-1991-04-26-213000-head.txt',
187+
HFILIN = './testrun.output/a-A-1991-04-26-213000-head.txt',
188188
! Input state file name
189189

190190
! Analysis file input for assimilation: 1=yes, 0=no
@@ -198,7 +198,7 @@
198198
! Analysis file output
199199

200200
IOUTPUT = 1, ! 0-no files, 1-write files
201-
AFILEPREF = './test.supercell/a',
201+
AFILEPREF = './testrun.output/a',
202202
! File prefix for all analysis files
203203
! state,mean,lite,both
204204

@@ -229,10 +229,10 @@
229229

230230
! Input topography variables
231231

232-
TOPFILES = './test.supercell/toph', ! Path and prefix for topo files.
233-
SFCFILES = './test.supercell/sfch', ! Path and prefix for surface files.
234-
SSTFPFX = './test.supercell/ssth', ! Path and prefix for sst files
235-
NDVIFPFX = './test.supercell/ndh', ! Path and prefix for ndni files
232+
TOPFILES = './testrun.output/toph', ! Path and prefix for topo files.
233+
SFCFILES = './testrun.output/sfch', ! Path and prefix for surface files.
234+
SSTFPFX = './testrun.output/ssth', ! Path and prefix for sst files
235+
NDVIFPFX = './testrun.output/ndh', ! Path and prefix for ndni files
236236

237237
ITOPTFLG = 2,0,0,0, ! 2 - Fill data in "leaf3_init"
238238
ISSTFLG = 2,2,0,0, ! 0 - Interpolate from coarser grid
@@ -245,8 +245,8 @@
245245
! 1 - Update values during run
246246

247247
! The following only apply for IxxxxFLG=1
248-
ITOPTFN = '../../sfctypehdf5/DEM30s-h5/EL',
249-
'../../sfctypehdf5/DEM30s-h5/EL',
248+
ITOPTFN = '../../sfctypehdf5/gmted2010-h5/TM',
249+
'../../sfctypehdf5/gmted2010-h5/TM',
250250
ISSTFN = '../../sfctypehdf5/sst-h5/S',
251251
'../../sfctypehdf5/sst-h5/S',
252252
IVEGTFN = '../../sfctypehdf5/ogedata-h5/GE',
@@ -288,6 +288,9 @@
288288
IBND = 1, ! Lateral boundary condition flags
289289
JBND = 1, ! 1-Klemp/Wilhelmson, 2-cyclic
290290

291+
ISPONGE_PTS = 0,5,5, ! Number of nested grid boundary sponge points
292+
SPONGE_TAU = 0.,30.,30., ! Nested grid sponge zone time scale (seconds)
293+
291294
CPHAS = 30., ! Phase speed if IBND or JBND = 1
292295
LSFLG = 1, ! Large-scale gradient flag for variables other than
293296
! normal velocity:
@@ -316,7 +319,7 @@
316319

317320
! KPP mixed-layer single-column ocean model
318321

319-
IKPP = 1, ! Ocean model (0-off, 1-on, 2-more diagnostics)
322+
IKPP = 0, ! Ocean model (0-off, 1-on, 2-more diagnostics)
320323
DMAXKPP = 500., ! Maximum ocean depth (meters)
321324
NKPPZ = 48, ! Number of ocean layers (levels = layers+1)
322325
DSCALEKPP = 3., ! Set exponential for stretched grid
@@ -369,7 +372,7 @@
369372
! 9 Tall grass ! 20 Wetland evergreen broadleaf tree
370373
! 10 Semi-desert ! 21 Very urban
371374

372-
PCTLCON = 0.7, ! Constant land % if for all domain
375+
PCTLCON = 1.0, ! Constant land % if for all domain
373376
NSLCON = 6, ! Constant soil type if for all domain
374377

375378
! 1 -- sand 2 -- loamy sand 3 -- sandy loam
@@ -536,7 +539,7 @@
536539

537540
! Aerosol parameters ! See mic_init.f90 for setting profiles
538541
! ------------------------------------------
539-
IAEROSOL = 1, ! CCN,GCCN: 0=off, 1=userset
542+
IAEROSOL = 1, ! CCN-1,CCN-2: 0=off, 1=userset
540543
ISALT = 1, ! Sea Salt: 0=off, 1=userset, 2=saltmodel
541544
IDUST = 1, ! Dust: 0=off, 1=userset 2=dustmodel
542545
IABCARB = 0, ! Absorbing carbon: 0=off, 1=userset
@@ -576,8 +579,8 @@
576579
IAEROPRNT = 1, ! Print aerosol init profiles (0=no,1=yes)
577580
IAEROHIST = 0, ! Re-initialize aerosols on hist restart:0,1
578581
CIN_MAX = 0.01, ! Ice Nuclei (#/mg)
579-
CCN_MAX = 1000., ! CCN (#/mg)
580-
GCCN_MAX = 0.01, ! Giant-CCN (#/mg)
582+
CCN1_MAX = 1000., ! CCN-mode-1 (#/mg)
583+
CCN2_MAX = 0.01, ! CCN-mode-2 (#/mg)
581584
DUST1_MAX = 100., ! Small Dust Mode (#/mg)
582585
DUST2_MAX = 10., ! Large Dust Mode (#/mg)
583586
SALTF_MAX = 100., ! Film Sea Salt (#/mg)
@@ -593,7 +596,7 @@
593596
AERO_EPSILON = 0.90,0.90,0.05,0.05,1.00,1.00,1.00,0.05,0.05,0.20,0.20,
594597

595598
! Aerosol 9 categories initial median radius (meters)
596-
AERO_MEDRAD = 0.04e-6,3.00e-6, !CCN,GCCN
599+
AERO_MEDRAD = 0.04e-6,3.00e-6, !CCN-1,CCN-2
597600
0.05e-6,0.50e-6, !Dust1,Dust2
598601
0.10e-6,1.00e-6,6.00e-6, !SeaSalt: film,jet,spume
599602
0.05e-6,0.05e-6, !Absorbing carbon

bin.rams/cleanup.sc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
rm -f *.mod rams rams*.a
3+
rm -fr testrun.output

bin.rams/machs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
floyd

bin.rams/machs.master

Lines changed: 13 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,8 @@
99
#SINGLE MACHINE
1010
#`hostname`
1111

12-
#Using "ccn" cluster with MPICH
13-
#node01:1
14-
#node02:8
15-
#node03:8
16-
#node04:8
17-
#node05:8
18-
#node06:8
19-
#node07:8
20-
#node08:8
21-
22-
#Using "ccn" cluster with openMPI
23-
#node01 slots=1
24-
#node02 slots=8
25-
#node03 slots=8
26-
#node04 slots=8
27-
#node05 slots=8
28-
#node06 slots=8
29-
#node07 slots=8
30-
#node08 slots=8
31-
3212
#Using "frost" cluster with MPICH
33-
#frost:1
13+
#frost:16
3414
#frost1:16
3515
#frost2:16
3616
#frost3:16
@@ -40,12 +20,18 @@
4020
#frost7:16
4121
#frost8:16
4222

43-
#Using "ice" cluster (infiniband) MPICH
44-
#icehome_ib:8
45-
#ice1_ib:12
46-
#ice2_ib:12
47-
#ice3_ib:12
48-
#ice4_ib:12
23+
#Using "ice" cluster
24+
#ice:8
25+
#ice1:12
26+
#ice2:12
27+
#ice3:12
28+
#ice4:12
29+
30+
#Using "snow" cluster
31+
#snow:1
32+
#snowfall1:64
33+
#snowfall2:64
34+
#snowfall3:64
4935

5036
#Ciracluster (head node is cm00, but do not include that in list)
5137
#cc00:12
Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# this script in parallel or serial.
99
#
1010
# A couple of important items here for this test simulation.
11-
# 1. RAMSIN.supercell - produces a 3D 1-grid supercell simulation with
11+
# 1. RAMSIN.testrunonly - produces a 3D 1-grid supercell simulation with
1212
# LEVEL=3 microphysics
1313
# 2. This idealized simulation does not require geographical data (sfctypehdf5)
1414
# for running since geography does not matter. Also, we do not need gridded
@@ -19,25 +19,29 @@
1919
# but NOT on a supercomputer using a PBS QSUB queuing system. Consult their
2020
# userguides for running parallel jobs on their systems. Each system is unique.
2121
# /home/smsaleeb/software/mpich-3.3.2/bin/mpiexec -machinefile machs -np 8 \
22-
# ./bin.rams/rams-6.3.01 -f RAMSIN.supercell
23-
# Note: might have to add (-ifrace eth0) to this executable statement or
22+
# ./bin.rams/rams-6.3.01 -f RAMSIN.testrunonly
23+
# Note: might have to add (-iface eth0) to this executable statement or
2424
# something similar depending on how your compute nodes communicate. Use
2525
# utility (ifconfig) to find out how your nodes communicate (ie. eth0 or eth1).
2626
#
2727
# Do not blindly use this script for running every simulation. It is simply
2828
# included here as a starting point and because I use this frequently on my
2929
# desktop Linux workstation for RAMS tests and debugging. If using this script
30-
# please become familiar with its flags, settings, and functionality. It cannot
31-
# be used for every runtime situation.
30+
# and RAMSIN namelist, please become familiar with its flags, settings, and
31+
# functionality. They cannot be used for every runtime situation. Many RAMSIN
32+
# flags in this test example are turned on for testing only and are not
33+
# appropriate for a real simulation to study.
3234
###############################################################################
3335
# Set your RAMS root path
3436
rd=`pwd`/..
37+
# RAMSIN name
38+
ramsin="RAMSIN.testrunonly"
3539
# RAMS version (ie. 6.1.6)
36-
vs=6.3.02
40+
vs=6.3.04
3741
# Set flag for type of test (0=sequential, 1=parallel)
38-
runtype=0
42+
runtype=1
3943
# Set number of nodes for parallel run.
40-
n=10
44+
n=8
4145
# Set delete flag (0 = do not delete, 1 = delete and start over)
4246
del=1
4347

@@ -56,8 +60,8 @@ a3=$rd/bin.rams/rams-$vs
5660
a4=$rd/bin.revu/revu-$vs
5761

5862
#Check to see that RAMSIN namelist exists
59-
if [ ! -f $rd/bin.rams/RAMSIN.supercell ]; then
60-
echo "Input paths for this file is incorrect: RAMSIN.supercell"
63+
if [ ! -f $rd/bin.rams/$ramsin ]; then
64+
echo "Input paths for this file is incorrect: RAMSIN.testrunonly"
6165
exit
6266
fi
6367

@@ -92,11 +96,10 @@ fi
9296
# DONE WITH NECESSARY USER CHANGES
9397
###############################################################################
9498

95-
for dirname in $rd/bin.rams/test.supercell
99+
for dirname in $rd/bin.rams/testrun.output
96100
do
97101
if [ -d $dirname -a $del -eq 1 ]; then
98-
rm -f $dirname/*.h5 $dirname/*.txt $dirname/*.tag \
99-
$dirname/r.* $dirname/ct.* $dirname/out
102+
rm -f $dirname/*.h5 $dirname/*.txt
100103
else
101104
if [ ! -d $dirname ]; then mkdir $dirname; fi;
102105
fi
@@ -114,9 +117,4 @@ else
114117
exit
115118
fi
116119

117-
$rc1 $rd/bin.rams/RAMSIN.supercell
118-
119-
#Try running REVU on test simulation output if REVU is compiled
120-
if [ -f $a4 ]; then
121-
$a4 -f $rd/bin.rams/REVUIN.supercell
122-
fi
120+
$rc1 $rd/bin.rams/$ramsin

docs/GridStruct3D.pdf

45.1 KB
Binary file not shown.

docs/GridStructXY.pdf

37.3 KB
Binary file not shown.

docs/GridStructXZ.pdf

43.8 KB
Binary file not shown.

docs/RAMS-Namelist.pdf

6.94 KB
Binary file not shown.

0 commit comments

Comments
 (0)