Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
IPSL
LMD
InTro
RoutingPP
Commits
1dfeebdf
Commit
1dfeebdf
authored
Oct 14, 2021
by
POLCHER Jan
🚴🏾
Browse files
Update the EuroSW case in the tests.
parent
338f652f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
19 deletions
+24
-19
tests/EuroSW/BuildHTUs_EuroSW.pbs
tests/EuroSW/BuildHTUs_EuroSW.pbs
+13
-10
tests/EuroSW/run.def
tests/EuroSW/run.def
+11
-9
No files found.
tests/EuroSW/BuildHTUs_EuroSW.pbs
View file @
1dfeebdf
...
@@ -3,22 +3,25 @@
...
@@ -3,22 +3,25 @@
#PBS -N BuildHTUs_EuroSW
#PBS -N BuildHTUs_EuroSW
#
#
#PBS -j oe
#PBS -j oe
#PBS -l nodes=
2
:ppn=
32
#PBS -l nodes=
1
:ppn=
64
#PBS -l walltime=
4
2:00:00
#PBS -l walltime=2
4
:00:00
#PBS -l vmem=5
0
0g,mem=2
4
0g
#PBS -l vmem=
2
50g,mem=2
5
0g
#
#
cd
${
PBS_O_WORKDIR
}
cd
${
PBS_O_WORKDIR
}
echo
"PPN =
${
PBS_NUM_PPN
}
NODES =
${
PBS_NUM_NODES
}
"
export
NSLOTS
=
$((
$PBS_NUM_NODES
*
$PBS_NUM_PPN
))
export
NSLOTS
=
$((
$PBS_NUM_NODES
*
$PBS_NUM_PPN
))
#
#
# Set the right Python 3 Anaconda environment
# Set the right Python 3 Anaconda environment
#
#
date
source
../../Environment
source
../../Environment
module load python/3.6-anaconda50
python
--version
#
#
# Clean-up. Weights are kept for future runs.
# Clean-up. Weights are kept for future runs.
#
#
/bin/rm
-f
DocumentationInterface
*
.txt check.out
/bin/rm
-f
DocumentationInterface
Out_
*
.txt Weight_
*
.txt check.out
WF
=
$(
grep
WeightFile run.def
.ref
|
cut
-d
"="
-f
2 |
sed
-e
's/ //g'
)
WF
=
$(
grep
WeightFile run.def |
cut
-d
"="
-f
2 |
sed
-e
's/ //g'
)
#
#
# If weights file does not exist, then compute it quickly
# If weights file does not exist, then compute it quickly
#
#
...
@@ -39,13 +42,13 @@ fi
...
@@ -39,13 +42,13 @@ fi
mpirun
-n
${
NSLOTS
}
python ../../RoutingPreProc.py
mpirun
-n
${
NSLOTS
}
python ../../RoutingPreProc.py
if
[
$?
-gt
0
]
;
then
if
[
$?
-gt
0
]
;
then
echo
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
echo
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
echo
"X Run on EuroSW failed
X"
echo
"X Run on EuroSW failed
${
NB
}
X"
echo
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
echo
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
exit
else
else
echo
"======================================="
echo
"======================================="
echo
"= Run on EuroSW successful
="
echo
"= Run on EuroSW successful
${
NB
}
="
echo
"======================================="
echo
"======================================="
fi
fi
#
#
date
ls
-l
tests/EuroSW/run.def
View file @
1dfeebdf
...
@@ -2,25 +2,27 @@
...
@@ -2,25 +2,27 @@
#
#
#
#
#
#
EarthRadius = 6378000.
#
ModelGridFile = /bdd/MEDI/workspaces/polcher/NewDivBas/EuroSW/geo_EuroSW.nc
ModelGridFile = /bdd/MEDI/workspaces/polcher/NewDivBas/EuroSW/geo_EuroSW.nc
HydroFile = /bdd/ORCHIDEE_Forcing/Routing/Hydro4ORCH/HydroSHEDS_MED.nc
HydroFile = /bdd/ORCHIDEE_Forcing/Routing/Hydro4ORCH/HydroSHEDS_qGlobal.nc
#
WeightFile = /bdd/MEDI/workspaces/polcher/NewDivBas/EuroSW/Weights_EuroSW.nc
#
#
# Configuration for the graph to be generated
# Configuration for the graph to be generated
#
#
nbasmax = 5
nbasmax = 7
#
# Number of operation of simplification performed together
#
numop = 100
#
#
# Output
# Output
#
#
GraphFile = /bdd/MEDI/workspaces/polcher/NewDivBas/EuroSW/EuroSW_HydroSHEDS_graph.nc
GraphFile = /bdd/MEDI/workspaces/polcher/NewDivBas/EuroSW/EuroSW_HydroSHEDS_graph.nc
#
#
WeightFile = /bdd/MEDI/workspaces/polcher/NewDivBas/EuroSW/Weights_EuroSW.nc
#
#
# File containing infrastructures to be placed.
# File containing infrastructures to be placed.
# Maximum error in the distance of the station in km
# Maximum error in the distance of the station in km
^2
MaxDistErr = 5
0
.0
MaxDistErr =
2
5.0
# Maximum error in the upstream area in %
# Maximum error in the upstream area in %
MaxUpstrErr = 25.0
MaxUpstrErr = 25.0
GRDCFile = /bdd/ORCHIDEE_Forcing/Validation/GRDC/GRDC_Monthly_Jan21_v2.nc
GRDCFile = /bdd/ORCHIDEE_Forcing/Validation/GRDC/GRDC_Monthly_Jan21_v2.nc
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment