-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fb coupling time #9
Changes from 6 commits
07473b0
b085a1a
439de49
e17931a
58c5ee7
f0a663c
542a3db
bf6253a
f0edfab
ad62a6a
98ba9e7
b51cf91
baa95b0
7567b4e
47ffc4b
e3d4a23
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ | |
prop1D prop2D time fetch hur1mg \ | ||
multi01 multi02 multi03 multi04 multi05 \ | ||
hybd shwtr unstr pdlib smcgr mudice infgrv \ | ||
uost assim multi06 multi07 multi08 | ||
uost assim coup multi06 multi07 multi08 | ||
do | ||
eval " value=\$$par" | ||
# echo "$par = $value" | ||
|
@@ -84,7 +84,8 @@ | |
echo " echo ' Multi 06 (curv. + reg. grds) : $multi06'" >> matrix.head | ||
echo " echo ' Multi 07 (unstr. + reg. grds) : $multi07'" >> matrix.head | ||
echo " echo ' Multi 08 (with ice) : $multi08'" >> matrix.head | ||
echo " echo ' Assim Update of the restart file : $assim'" >> matrix.head | ||
echo " echo ' Assim Update of the restart file : $assim'" >> matrix.head | ||
echo " echo ' Atmosphere, ocean, and ice coupling: $coup'" >> matrix.head | ||
echo " echo ' '" >> matrix.head | ||
if [ -n "$filter" ] | ||
then | ||
|
@@ -2002,6 +2003,16 @@ | |
echo "$rtst -s ST4 -w work_UPD6_U_cap -i input_UPD6_U_cap $ww3 ww3_ta1" >> matrix.body | ||
fi | ||
|
||
#Test of atmosphere, ocean, and ice coupling | ||
if [ "$coup" = 'y' ] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since these are all MPI cases, we should make sure dist=y as well. |
||
then | ||
echo ' ' >> matrix.body | ||
echo "$rtst -s OASACM -w work_OASACM -C OASIS -f -p $mpi -n $np -o netcdf $ww3 ww3_tp2.14" >> matrix.body | ||
echo "$rtst -s OASACM2 -w work_OASACM2 -C OASIS -f -p $mpi -n $np -o netcdf $ww3 ww3_tp2.14" >> matrix.body | ||
echo "$rtst -s OASOCM -w work_OASOCM -C OASIS -f -p $mpi -n $np -o netcdf $ww3 ww3_tp2.14" >> matrix.body | ||
echo "$rtst -s OASICM -w work_OASICM -C OASIS -f -p $mpi -n $np -o netcdf $ww3 ww3_tp2.14" >> matrix.body | ||
fi | ||
|
||
# --------------------------------------------------------------------------- # | ||
# 3. End of script output # | ||
# --------------------------------------------------------------------------- # | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -154,6 +154,7 @@ fi | |
export infgrv='y' # Second harmonic generation tests | ||
export uost='y' # ww3_ts4 Unresolved Obstacles Source Term (UOST) | ||
export assim='y' # Restart spectra update | ||
export coup='y' # Atmosphere, ocean, and ice coupling | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are there any secondary library requirements for running these tests? Also we should specify that this is OASIS coupling, not just "coupling". There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm asking about the requirements, because if there are any, I think this should be a 'n' for NCEP. |
||
|
||
export multi01='y' # mww3_test_01 (wetting and drying) | ||
export multi02='y' # mww3_test_02 (basic two-way nesting test)) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
&NAM_OASIS IL_NB_TIME_STEPS=10, | ||
DELTA_T=360, | ||
DATA_FILENAME='grid_toy_model.nc' / | ||
|
||
&NAM_FCT_SEND CTYPE_FCT='FILES', | ||
CNAME_FILE='toy_coupled_field.nc', | ||
VALUE=10 / | ||
|
||
&NAM_RECV_FIELDS NB_RECV_FIELDS=1, | ||
CRCVFIELDS(1)='TOY__CHA' / | ||
|
||
&NAM_SEND_FIELDS NB_SEND_FIELDS=2, | ||
CSNDFIELDS(1)='TOY_U10M', | ||
CSNDFIELDS(2)='TOY_V10M' / |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
# This is a typical input file for OASIS3-MCT. | ||
# Keywords used in previous versions of OASIS3 | ||
# but now obsolete are marked "Not used" | ||
# Don't hesitate to ask precisions or make suggestions (oasishelp@cerfacs.fr). | ||
# | ||
# Any line beginning with # is ignored. Blank lines are not allowed. | ||
# | ||
######################################################################### | ||
$NFIELDS | ||
# The number of fields described in the second part of the namcouple. | ||
# | ||
3 | ||
$END | ||
######################################################################### | ||
$NBMODEL | ||
# The number of models in this experiment + their names (6 characters) | ||
# | ||
2 toyexe wwatch | ||
$END | ||
########################################################################### | ||
$RUNTIME | ||
# The total simulated time for this run in seconds | ||
# | ||
3600 | ||
$END | ||
########################################################################### | ||
$NLOGPRT | ||
# The first (0 to 30) and second (0 to 3) numbers refer to the ammount of | ||
# debug and time statistic information written by OASIS3-MCT for each model | ||
# and processor (see user manual for more details) | ||
# | ||
1 | ||
$END | ||
########################################################################### | ||
$STRINGS | ||
# | ||
# The above variables are the general parameters for the experiment. | ||
# Everything below has to do with the fields being exchanged. | ||
# | ||
# line 1: field in ww3 model, field in target model, unused, coupling | ||
# period, number of transformation, restart file, field status | ||
# line 2: nb of pts for ww3 grid without halo first dim, and second dim, | ||
# for target grid first dim, and second dim (optionals, default=0), | ||
# ww3 grid name, target grid name, lag index | ||
# line 3: ww3 grid periodical (P) or regional (R), and nb of overlapping | ||
# points, target grid periodical (P) or regional (R), and number of | ||
# overlapping points | ||
# line 4: list of transformations performed | ||
# line 5: parameters for each transformation | ||
# | ||
# See the correspondances between WW3 and OASIS fields below: | ||
# | ||
# |--------------------------------------------------------------| | ||
# | received fields by ww3 from Ocean model : WW3 | OASIS | | ||
# |--------------------------------------------------------------| | ||
# | not defined | WW3_OWDH WW3_OWDU WW3_OWDV | | ||
# | SSH | WW3__SSH | | ||
# | CUR | WW3_OSSU WW3_OSSV | | ||
# |--------------------------------------------------------------| | ||
# | received fields by ww3 from Atmospheric model : WW3 | OASIS | | ||
# --------------------------------------------------------------| | ||
# | WND | WW3__U10 WW3__V10 | | ||
# |--------------------------------------------------------------| | ||
# | received fields by ww3 from Ice model : WW3 | OASIS | | ||
# --------------------------------------------------------------| | ||
# | ICE | WW3__ICE | | ||
# | IC1 | WW3__IC1 | | ||
# | IC5 | WW3__IC5 | | ||
# |--------------------------------------------------------------| | ||
# | sent fields by ww3 to Ocean model : WW3 | OASIS | | ||
# |--------------------------------------------------------------| | ||
# | not defined | WW3_ODRY | | ||
# | T0M1 | WW3_T0M1 | | ||
# | HS | WW3__OHS | | ||
# | DIR | WW3_CDIR WW3_SDIR | | ||
# | BHD | WW3__BHD | | ||
# | TWO | WW3_TWOX WW3_TWOY | | ||
# | UBR | WW3__UBR | | ||
# | FOC | WW3__FOC | | ||
# | TAW | WW3_TAWX WW3_TAWY | | ||
# | LM | WW3___LM | | ||
# | OCHA | WW3_OCHA | | ||
# |--------------------------------------------------------------| | ||
# | sent fields by ww3 to Atmospheric model : WW3 | OASIS | | ||
# |--------------------------------------------------------------| | ||
# | CUR | WW3_WSSU WW3_WSSV | | ||
# | ACHA | WW3_ACHA | | ||
# | HS | WW3__AHS | | ||
# | FP | WW3___FP | | ||
# | FWS | WW3__FWS | | ||
# |--------------------------------------------------------------| | ||
# | sent fields by ww3 to Ice model : WW3 | OASIS | | ||
# |--------------------------------------------------------------| | ||
# | TWI | WW3_TWIX WW3_TWIY | | ||
# | IC5 | WW3_ICEF | | ||
# |--------------------------------------------------------------| | ||
# | ||
# | ||
# | ||
# ------------------------------------------ | ||
# TOY (toyexe) ==> WW3 (wwatch) | ||
# ------------------------------------------ | ||
# | ||
#~~~~~~~~~~~ | ||
# Field 1 : | ||
#~~~~~~~~~~~ | ||
TOY_U10M WW3__U10 1 360 1 r-toy.nc EXPOUT | ||
80 80 103 119 toyt ww3t LAG=+360 | ||
R 0 R 0 | ||
SCRIPR | ||
DISTWGT LR SCALAR LATLON 1 4 | ||
# | ||
#~~~~~~~~~~~ | ||
# Field 2 : | ||
#~~~~~~~~~~~ | ||
TOY_V10M WW3__V10 1 360 1 r-toy.nc EXPOUT | ||
80 80 103 119 toyt ww3t LAG=+360 | ||
R 0 R 0 | ||
SCRIPR | ||
DISTWGT LR SCALAR LATLON 1 4 | ||
# | ||
# ----------------------------------------- | ||
# WW3 (wwatch) ==> TOY (toyexe) | ||
# ----------------------------------------- | ||
# | ||
#~~~~~~~~~~~ | ||
# Field 3 : | ||
#~~~~~~~~~~~ | ||
WW3_ACHA TOY__CHA 1 360 1 r-ww3.nc EXPOUT | ||
103 119 80 80 ww3t toyt LAG=+360 | ||
R 0 R 0 | ||
SCRIPR | ||
DISTWGT LR SCALAR LATLON 1 4 | ||
# | ||
$END |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
F90 NOGRB NC4 TRKNC DIST MPI PR3 UQ FLX0 LN1 ST4 STAB0 NL1 BT4 DB1 MLIM TR0 BS0 IC2 IS0 REF1 XX0 WNT0 WNX1 RWND CRT1 CRX1 COU OASIS OASACM O0 O1 O2 O2a O2b O2c O3 O4 O5 O6 O7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer that we specify that these are OASIS coupling as there are multiple ways to couple and this is only for OASIS testing.