From 6b5354a3016b2b93d7cf67af1c3420de3fb75a06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Riette?= <sebastien.riette@meteo.fr> Date: Thu, 14 Apr 2022 12:34:02 +0200 Subject: [PATCH] Update mesonh case Update INSTALL_pack_mesonh for HPC Add rain_ice_red to the list of files to be suppressed for mesonh Add .gitignore into tracked files --- .gitignore | 10 ++++++++++ INSTALL_pack_mesonh | 12 ++++++------ check_commit_mesonh.sh | 3 ++- 3 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..c4d0f06dc --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +# Ignore the content of pack directory but not the directory itself +/pack/** +!/pack/.gitkeep + +# Ignore the content of mnh_expand directory but not the directory itself +/mnh_expand/** +!/mnh_expand/.gitkeep + +# Ignore vim swapp files +.*.swp diff --git a/INSTALL_pack_mesonh b/INSTALL_pack_mesonh index a6269053f..4c82fc496 100644 --- a/INSTALL_pack_mesonh +++ b/INSTALL_pack_mesonh @@ -1,23 +1,23 @@ 1) Compilation de la master -Il faut installer dans le répertoire pack une version de mesonh officielle (exemple pour sxphynh): +Il faut installer dans le répertoire pack une version de mesonh officielle: cd <git repository>/pack -cp ~rodierq/MNH-V5-5-0.tar.gz . +scp sxphynh.cnrm.meteo.fr:/home/rodierq/MNH-V5-5-0.tar.gz . tar xvfz MNH-V5-5-0.tar.gz cd MNH-V5-5-0/src ./configure -. ../conf/profile_mesonh-LXgfortran-R8I4-MNH-V5-5-0-MPIAUTO-DEBUG +. ../conf/profile_mesonh-* make -j 8 make installmaster 2) Lancer les étapes de pré-processing au moins une fois en master sur le KTEST : cd ../MY_RUN/KTEST/007_16janvier # J'ai modifié la namelists du cas pour activer plus d'option, récupérer le nouveau dossier de run : -rm -Rf 008_run2; cp -R ~rodierq/MNH-V5-5-0/MY_RUN/KTEST/007_16janvier/008_run2 . +rm -Rf 008_run2; scp -r sxphynh.cnrm.meteo.fr:/home/rodierq/MNH-V5-5-0/MY_RUN/KTEST/007_16janvier/008_run2 . make clean make #l'étape 10 ne se déroule sans erreur que si un display (X11) est disponible - #les étapes suivantes peuvent être alors lancées par "make E011_ncl E012_spectre" + #après l'erreur, les étapes suivantes peuvent être lancées par "make E011_ncl E012_spectre" 3) Récupérer le pack modifie pour accueillir PHYEX (essentiellement le makefile modifié et le répertoire PHYEX créé) cd <git repository>/pack -cp ~rodierq/MNH-V5-5-0_PHYEX.tar.gz . +scp sxphynh.cnrm.meteo.fr:/home/rodierq/MNH-V5-5-0_PHYEX.tar.gz . diff --git a/check_commit_mesonh.sh b/check_commit_mesonh.sh index e3ae44e6e..68e80936d 100755 --- a/check_commit_mesonh.sh +++ b/check_commit_mesonh.sh @@ -205,9 +205,10 @@ if [ $compilation -eq 1 ]; then mv remove_non_mode.sh ../. cd ../ ./remove_non_mode.sh - # nettoyage, routine non appellee : + # nettoyage, routines non appellees : rm -f MNH/mf_turb_greyzone.f90 rm -f MNH/compute_frac_ice.f90 + rm -f MNH/rain_ice_red.f90 #Configure and compilation ./configure -- GitLab