Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
RoutingPP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IPSL
LMD
InTro
RoutingPP
Commits
3171d871
Commit
3171d871
authored
4 years ago
by
POLCHER Jan
Browse files
Options
Downloads
Patches
Plain Diff
Simplify the Iberian test case.
parent
6aac9043
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tests/Iberia/BuildHTUs_IP.pbs
+23
-21
23 additions, 21 deletions
tests/Iberia/BuildHTUs_IP.pbs
tests/Iberia/run_MEDCORDEX.def
+27
-0
27 additions, 0 deletions
tests/Iberia/run_MEDCORDEX.def
tests/Iberia/run_regular.def
+27
-0
27 additions, 0 deletions
tests/Iberia/run_regular.def
with
77 additions
and
21 deletions
tests/Iberia/BuildHTUs_IP.pbs
+
23
−
21
View file @
3171d871
...
...
@@ -4,7 +4,7 @@
#
#PBS -j oe
#PBS -l nodes=1:ppn=64
#PBS -l walltime=
12
8:00:00
#PBS -l walltime=
4
8:00:00
#PBS -l mem=160gb
#PBS -l vmem=160gb
#
...
...
@@ -19,30 +19,32 @@ source ../../Environment
#
/bin/rm
-f
DocumentationInterface
*
graph.nc
*
.txt check.out
#
# If weights file does not exist, then compute it quickly
#
if
[
!
-e
Weights.nc
]
;
then
mpirun
-n
${
NSLOTS
}
python ../../WeightsOnly.py
if
[
$?
-gt
0
]
;
then
exit
else
echo
"============================================="
echo
"= Weight calculations successful ="
echo
"============================================="
fi
fi
#
# Run the Python code to generate the HTUs and write them into a netCDF file.
#
cp
run_MEDCORDEX.def run.def
mpirun
-n
${
NSLOTS
}
python ../../RoutingPreProc.py
if
[
$?
-gt
0
]
;
then
echo
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
echo
"X Run on Iberian Peninsula failed X"
echo
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
echo
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXX
"
echo
"X
MEDCORDEX
Run on Iberian Peninsula failed X"
echo
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXX
"
else
echo
"======================================="
echo
"= Run on Iberian Peninsula successful ="
echo
"======================================="
echo
"=======================================
==========
"
echo
"=
MEDCORDEX
Run on Iberian Peninsula successful ="
echo
"=======================================
==========
"
fi
#
ls
-l
/bin/rm
-f
*
.txt
#
#
#
cp
run_regular.def run.def
mpirun
-n
${
NSLOTS
}
python ../../RoutingPreProc.py
if
[
$?
-gt
0
]
;
then
echo
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
echo
"X Regular grid run on Iberian Peninsula failed X"
echo
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
else
echo
"===================================================="
echo
"= Regular grid run on Iberian Peninsula successful ="
echo
"===================================================="
fi
This diff is collapsed.
Click to expand it.
tests/Iberia/run_MEDCORDEX.def
0 → 100644
+
27
−
0
View file @
3171d871
[OverAll]
#
#
#
EarthRadius = 6370000.
#
ModelGridFile = /bdd/MEDI/workspaces/polcher/NewRouting/geo_MEDCORDEX.nc
WEST_EAST = -9.75, 5.25
SOUTH_NORTH = 35.5, 43.5
HydroFile = /bdd/ORCHIDEE_Forcing/Routing/Hydro4ORCH/HydroSHEDS_MED.nc
#
# FORTRAN interface parameters
#
Documentation = true
#
# Configuration for the graph to be generated
#
nbasmax = 35
#
# Number of operation of simplification performed together
#
numop = 100
#
# Output
#
GraphFile = MEDCORDEX_Spain_graph.nc
#
This diff is collapsed.
Click to expand it.
tests/Iberia/run_regular.def
0 → 100644
+
27
−
0
View file @
3171d871
[OverAll]
#
#
#
EarthRadius = 6370000.
#
ModelGridFile = /bdd/MEDI/workspaces/polcher/NewRouting/EM_WFDEI_CRU_2000.nc
WEST_EAST = -9.75, 5.25
SOUTH_NORTH = 35.5, 43.5
HydroFile = /bdd/ORCHIDEE_Forcing/Routing/Hydro4ORCH/HydroSHEDS_MED.nc
#
# FORTRAN interface parameters
#
Documentation = true
#
# Configuration for the graph to be generated
#
nbasmax = 35
#
# Number of operation of simplification performed together
#
numop = 100
#
# Output
#
GraphFile = EM_WFDEI_Spain_graph.nc
#
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment