Skip to content
Snippets Groups Projects
Commit 8be1ae13 authored by Anthony's avatar Anthony
Browse files

New Experiments

parent 2957bf11
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
#
#PBS -N BuildHTUs_SAM
#
#PBS -j oe
#PBS -l nodes=2:ppn=32
#PBS -l walltime=6:00:00
#PBS -l vmem=250g,mem=250g
#
cd ${PBS_O_WORKDIR}
export NSLOTS=$(($PBS_NUM_NODES*$PBS_NUM_PPN))
#
# Set the right Python 3 Anaconda environment
#
source ../../Environment
#
# Clean-up. Weights are kept for future runs.
#
/bin/rm -f DocumentationInterface *graph.nc *.txt check.out
#
# Run the Python code to generate the HTUs and write them into a netCDF file.
#
mpirun -n ${NSLOTS} python ../../RoutingPreProc.py
if [ $? -gt 0 ] ; then
echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
echo "X Run on AmSud failed X"
echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
else
echo "==========================="
echo "= Run on AmSud successful ="
echo "==========================="
fi
#
ls -l
#!/bin/bash
#
#PBS -N Weights
#
#PBS -j oe
#PBS -l nodes=2:ppn=32
#PBS -l walltime=128:00:00
#PBS -l mem=240gb
#PBS -l vmem=240gb
#
cd ${PBS_O_WORKDIR}
export NSLOTS=$(($PBS_NUM_NODES*$PBS_NUM_PPN))
#
# Set the right Python 3 Anaconda environment
#
source ../../Environment
#
# Clean-up. Weights are kept for future runs.
#
/bin/rm -f DocumentationInterface *graph.nc *.txt
#
# Run the Python code to generate the HTUs and write them into a netCDF file.
#
mpirun -n ${NSLOTS} python ../../WeightsOnly.py
if [ $? -gt 0 ] ; then
echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
echo "X Run on Iberian Peninsula failed X"
echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
else
echo "======================================="
echo "= Run on Iberian Peninsula successful ="
echo "======================================="
fi
#
ls -l
[OverAll]
#
#
#
EarthRadius = 6370000.
#
ModelGridFile = /home/lfita/estudios/RegIPSL/AmSud/geo_em_CentAmSud.nc
# WEST_EAST = -90.75, -30.25
# SOUTH_NORTH = -55.25, 25.5
HydroFile = /bdd/ORCHIDEE_Forcing/Routing/Hydro4ORCH/HydroSHEDS_qGlobal.nc
#
# FORTRAN interface parameters
#
Documentation = true
#
# Configuration for the graph to be generated
#
nbasmax = 3
#
# Number of operation of simplification performed together
#
numop = 10
#
# Output
#
GraphFile = AmSud_A_HS_CentAmSud_graph.nc
#
WeightFile = Weights_HydroSHEDS_CentAmSud.nc
#
# Parameters for Truncate and Basin construction
#
maxpercent = 40
frac_lim = 0.5
limit_step5 = 40
#
# File containing infrastructures to be placed.
# Maximum error in the distance of the station in km^2
MaxDistErr = 25.0
# Maximum error in the upstream area in %
MaxUpstrErr = 25.0
GRDCFile = /homedata/aschrapffer/Observations/GRDC_Monthly_Jan20.nc
#!/bin/bash
#
#PBS -N BuildHTUs_SAM
#
#PBS -j oe
#PBS -l nodes=2:ppn=32
#PBS -l walltime=6:00:00
#PBS -l vmem=250g,mem=250g
#
cd ${PBS_O_WORKDIR}
export NSLOTS=$(($PBS_NUM_NODES*$PBS_NUM_PPN))
#
# Set the right Python 3 Anaconda environment
#
source ../../Environment
#
# Clean-up. Weights are kept for future runs.
#
/bin/rm -f DocumentationInterface *graph.nc *.txt check.out
#
# Run the Python code to generate the HTUs and write them into a netCDF file.
#
mpirun -n ${NSLOTS} python ../../RoutingPreProc.py
if [ $? -gt 0 ] ; then
echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
echo "X Run on AmSud failed X"
echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
else
echo "==========================="
echo "= Run on AmSud successful ="
echo "==========================="
fi
#
ls -l
#!/bin/bash
#
#PBS -N Weights
#
#PBS -j oe
#PBS -l nodes=2:ppn=32
#PBS -l walltime=128:00:00
#PBS -l mem=240gb
#PBS -l vmem=240gb
#
cd ${PBS_O_WORKDIR}
export NSLOTS=$(($PBS_NUM_NODES*$PBS_NUM_PPN))
#
# Set the right Python 3 Anaconda environment
#
source ../../Environment
#
# Clean-up. Weights are kept for future runs.
#
/bin/rm -f DocumentationInterface *graph.nc *.txt
#
# Run the Python code to generate the HTUs and write them into a netCDF file.
#
mpirun -n ${NSLOTS} python ../../WeightsOnly.py
if [ $? -gt 0 ] ; then
echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
echo "X Run on Iberian Peninsula failed X"
echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
else
echo "======================================="
echo "= Run on Iberian Peninsula successful ="
echo "======================================="
fi
#
ls -l
[OverAll]
#
#
#
EarthRadius = 6370000.
#
ModelGridFile = /bdd/MEDI/workspaces/polcher/WRF_Forcing/AmSud-A/geo_em.d01.nc
# WEST_EAST = -90.75, -30.25
# SOUTH_NORTH = -55.25, 25.5
HydroFile = /bdd/ORCHIDEE_Forcing/Routing/Hydro4ORCH/MERIT_Global.nc
#
# FORTRAN interface parameters
#
Documentation = true
#
# Configuration for the graph to be generated
#
nbasmax = 15
#
# Number of operation of simplification performed together
#
numop =100
#
# Output
#
GraphFile = AmSud_A_graph_nbasmax15_t.nc
#
WeightFile = Weights_MERIT.nc
#
FloodplainsFile = /homedata/aschrapffer/FLOOPLAINS_INPUT/MERIT_floodplains.nc
#
#
# File containing infrastructures to be placed.
# Maximum error in the distance of the station in km^2
MaxDistErr = 25.0
# Maximum error in the upstream area in %
MaxUpstrErr = 25.0
GRDCFile = /homedata/aschrapffer/Observations/GRDC_Monthly_Jan20.nc
#!/bin/bash
#
#PBS -N BuildHTUs_SAM
#
#PBS -j oe
#PBS -l nodes=2:ppn=32
#PBS -l walltime=6:00:00
#PBS -l vmem=250g,mem=250g
#
cd ${PBS_O_WORKDIR}
export NSLOTS=$(($PBS_NUM_NODES*$PBS_NUM_PPN))
#
# Set the right Python 3 Anaconda environment
#
source ../../Environment
#
# Clean-up. Weights are kept for future runs.
#
/bin/rm -f DocumentationInterface *graph.nc *.txt check.out
#
# Run the Python code to generate the HTUs and write them into a netCDF file.
#
mpirun -n ${NSLOTS} python ../../RoutingPreProc.py
if [ $? -gt 0 ] ; then
echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
echo "X Run on AmSud failed X"
echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
else
echo "==========================="
echo "= Run on AmSud successful ="
echo "==========================="
fi
#
ls -l
#!/bin/bash
#
#PBS -N Weights
#
#PBS -j oe
#PBS -l nodes=2:ppn=32
#PBS -l walltime=128:00:00
#PBS -l mem=240gb
#PBS -l vmem=240gb
#
cd ${PBS_O_WORKDIR}
export NSLOTS=$(($PBS_NUM_NODES*$PBS_NUM_PPN))
#
# Set the right Python 3 Anaconda environment
#
source ../../Environment
#
# Clean-up. Weights are kept for future runs.
#
/bin/rm -f DocumentationInterface *graph.nc *.txt
#
# Run the Python code to generate the HTUs and write them into a netCDF file.
#
mpirun -n ${NSLOTS} python ../../WeightsOnly.py
if [ $? -gt 0 ] ; then
echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
echo "X Run on Iberian Peninsula failed X"
echo "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
else
echo "======================================="
echo "= Run on Iberian Peninsula successful ="
echo "======================================="
fi
#
ls -l
[OverAll]
#
#
#
EarthRadius = 6370000.
#
ModelGridFile = /home/lfita/estudios/RegIPSL/AmSud/geo_em_CentAmSud.nc
# WEST_EAST = -90.75, -30.25
# SOUTH_NORTH = -55.25, 25.5
HydroFile = /bdd/ORCHIDEE_Forcing/Routing/Hydro4ORCH/MERIT_Global.nc
#
# FORTRAN interface parameters
#
Documentation = true
#
# Configuration for the graph to be generated
#
nbasmax = 4
#
# Number of operation of simplification performed together
#
numop = 10
#
# Output
#
GraphFile = AmSud_A_CentAmSud_graph.nc
#
WeightFile = Weights_MERIT_CentAmSud.nc
#
#
# File containing infrastructures to be placed.
# Maximum error in the distance of the station in km^2
MaxDistErr = 25.0
# Maximum error in the upstream area in %
MaxUpstrErr = 25.0
GRDCFile = /homedata/aschrapffer/Observations/GRDC_Monthly_Jan20.nc
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment