Skip to content
Snippets Groups Projects
Commit 2ffae154 authored by RODIER Quentin's avatar RODIER Quentin
Browse files

Quentin 18/01/2024: continuous integration add LOCAL testing test cases (part1)

parent 883024cc
No related branches found
No related tags found
No related merge requests found
......@@ -2,13 +2,8 @@ all:
cd 001_prep_ideal && run_prep_ideal_case_xyz
cd 002_mesonh && run_mesonh_xyz
cd 003_diag && run_diag_xyz
cd 004_convdia && run_conv2dia
cd 005_diaprog && run_diaprog
cd 006_plotresults && run_plotresults
clean:
cd 001_prep_ideal && clean_prep_ideal_case_xyz
cd 002_mesonh && clean_mesonh_xyz
cd 003_diag && clean_diag_xyz
cd 004_convdia && clean_conv2dia
cd 006_plotresults && clean_plotresults
all:
cd SIMU1 && make
cd SIMU2 && make
#!/bin/sh
ln -sf ../003_prep_nest_pgd/PGD1*neste* .
cp -f PRE_REAL1.nam_INIFILE PRE_REAL1.nam
ln -sf /cnrm/phynh/data1/rodierq/GRIB_KTEST/ecmwf.OD.20030810.00 .
if [ ! -f ecmwf.OD.20030810.00 ]; then
wget -c -nd http://mesonh.aero.obs-mip.fr/mesonh/dir_doc/dir_namelist_examples/GRIB_KTEST/ecmwf.OD.20030810.00
fi
time ${MONORUN} PREP_REAL_CASE${XYZ}
all:
cd ALM && make
cd ADNR && make
......@@ -9,7 +9,7 @@ set -o pipefail #abort if left command on a pipe fails
# TARGZDIR: directory where tar.gz files are searched for
# MNHPACK: directory where tests are build
availTests="001_2Drelief, 002_3Drelief, 003_KW78, 004_Reunion, 005_ARM, 007_16janvier, 009_ICARTT, 011_KW78CHEM, 012_dust, 014_LIMA"
availTests="001_2Drelief, 002_3Drelief, 003_KW78, 004_Reunion, 005_ARM, 007_16janvier, 009_ICARTT, 011_KW78CHEM, 012_dust, 014_LIMA, 2DRelief, 3DRelief, ARMCU_1D_CONDSAMP, BLOWSNOW_c1b1D, BOMEX, COLD_BUBBLE, DOUBLE_GRIDNESTING, EOLIENNE_FAST, FIRE1D/KHKO, FIRE1D/KHKO_MALA, FOG_1D/ICE3, FOG_1D/LIMA, HYDRO, IHOP_1D, LIMA_2D, Reunion, STATIONS_PROF_BALLON_AIRCR_4doms "
defaultTest="007_16janvier"
separator='_' #- be carrefull, gmkpack (at least on belenos) has multiple allergies (':', '.', '@')
#- seprator must be in sync with prep_code.sh separator
......@@ -173,7 +173,18 @@ if [ $run -ge 1 ]; then
case=$(echo $t | cut -d / -f 1)
exedir=$(echo $t | cut -d / -f 2)
rep=$MNHPACK/$name/MY_RUN/KTEST/$case
cd $rep
repLOCAL=$MNHPACK/$name/MY_RUN/INTEGRATION_CASES/LOCAL/$case
repHPC=$MNHPACK/$name/MY_RUN/INTEGRATION_CASES/HPC/$case
if [ -d $rep ]; then
cd $rep
elif [ -d $repLOCAL ]; then
cd $repLOCAL
elif [ -d $repHPC ]; then
cd $repHPC
else
echo "The KTEST $case has not been found"
exit 7
fi
set +e #file ends with a test that can return false
[ $compilation -eq 0 ] && . $MNHPACK/$name/conf/profile_mesonh-*
set -e
......
......@@ -10,6 +10,18 @@
"009_ICARTT":"cc1eb13",
"011_KW78CHEM":"cc1eb13",
"012_dust":"cc1eb13",
"014_LIMA":"cc1eb13"
"014_LIMA":"cc1eb13",
"2DRelief":"cc1eb13",
"3DRelief":"cc1eb13",
"ARMCU_1D_CONDSAMP":"cc1eb13",
"BLOWSNOW_c1b1D":"cc1eb13",
"BOMEX":"cc1eb13",
"COLD_BUBBLE":"cc1eb13",
"DOUBLE_GRIDNESTING":"cc1eb13",
"EOLIENNE_FAST":"cc1eb13",
"LIMA_2D":"cc1eb13",
"IHOP_1D":"cc1eb13",
"Reunion":"cc1eb13",
"STATIONS_PROF_BALLON_AIRCR_4doms":"cc1eb13"
}
}
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