Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • mesonh/mesonh-code
  • quentin.rodier/mesonh-code-fork
  • benoit.vie/mesonh-code
  • joris.pianezze/mesonh-code
  • 8qq4g5s7/mesonh-code
  • jean.baptiste.filippi/meso-nh-fire-code
  • fdl68d9p/mesonh-code-sophia
7 results
Show changes
Commits on Source (4532)
Showing
with 1445 additions and 351 deletions
* text=auto
*.tar filter=lfs diff=lfs merge=lfs -crlf
*.tar.gz filter=lfs diff=lfs merge=lfs -crlf
*/ecmwf.OD* filter=lfs diff=lfs merge=lfs -crlf
*CLEAN4_ops filter=lfs diff=lfs merge=lfs -crlf
*arpifs.* filter=lfs diff=lfs merge=lfs -crlf
*dasucl4_ops filter=lfs diff=lfs merge=lfs -crlf
bin/gmake-3.80 filter=lfs diff=lfs merge=lfs -crlf
bin_tools/X86/* filter=lfs diff=lfs merge=lfs -crlf
bin_tools/X86_64/* filter=lfs diff=lfs merge=lfs -crlf
exe/[a-zA-Z]* filter=lfs diff=lfs merge=lfs -crlf
# 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 the content of testprogs_data but not the directory itself
/testprogs_data/ice_adjust/**
/testprogs_data/rain_ice/**
!/testprogs_data/ice_adjust/.gitkeep
!/testprogs_data/rain_ice/.gitkeep
# Ignore vim swapp files
.*.swp
conf/profile_mesonh
conf/profile_mesonh-*
exe/*
MY_RUN/INTEGRATION_CASES/**/*.des
MY_RUN/INTEGRATION_CASES/**/*.dir
MY_RUN/INTEGRATION_CASES/**/*.hdr
MY_RUN/INTEGRATION_CASES/**/*.nc
MY_RUN/INTEGRATION_CASES/**/ecmwf.OD.????????.??
MY_RUN/INTEGRATION_CASES/**/file_for_xtransfer
MY_RUN/INTEGRATION_CASES/**/OUTPUT_LISTING*
MY_RUN/INTEGRATION_CASES/**/PRESSURE
MY_RUN/KTEST/*/*/*.des
MY_RUN/KTEST/*/*/*.lfi
MY_RUN/KTEST/*/*/*.nc
MY_RUN/KTEST/*/*/dir.??????:??:??
MY_RUN/KTEST/*/*/dir_save
MY_RUN/KTEST/*/*/dirconv
MY_RUN/KTEST/*/*/dirextract
MY_RUN/KTEST/*/*/ecmwf.OD.????????.??
MY_RUN/KTEST/*/*/file_for_xtransfer
MY_RUN/KTEST/*/*/gmeta
MY_RUN/KTEST/*/*/gtopo30.*
MY_RUN/KTEST/*/*/CLAY_HWSD_MOY.*
MY_RUN/KTEST/*/*/DATA?1
MY_RUN/KTEST/*/*/ECOCLIMAP_v2.0.*
MY_RUN/KTEST/*/*/FICJD
MY_RUN/KTEST/*/*/LISTING_DIA
MY_RUN/KTEST/*/*/OUT_DIA
MY_RUN/KTEST/*/*/OUTPUT_LISTING*
MY_RUN/KTEST/*/*/PRESSURE
MY_RUN/KTEST/*/*/REMAP*FFT*
MY_RUN/KTEST/*/*/SAND_HWSD_MOY.*
MY_RUN/KTEST/*/*/output_save*
MY_RUN/KTEST/*/*/pipe_name
MY_RUN/KTEST/*/*/gshhs(?).rim
MY_RUN/KTEST/*/*/gshhs(?).zip
MY_RUN/KTEST/*/*/rangs(?).cat
MY_RUN/KTEST/*/*/rangs(?).cel
MY_RUN/KTEST/*/*/rangs(?).zip
MY_RUN/KTEST/*/*/visu*.png
MY_RUN/KTEST/*/*/zsection*.png
MY_RUN/KTEST/007_16janvier/012_spectre/spectra_16JAN.1.12B18.001_*
MY_RUN/KTEST/009_ICARTT/001_pgd1/*.asc
MY_RUN/KTEST/009_ICARTT/002_arp2lfi/ecmwf.OD.20040810.18-V2
MY_RUN/KTEST/009_ICARTT/002_arp2lfi/mocage.GLOB22.20040810.18
MY_RUN/KTEST/9??_*
pub/FILEPP/filepp*
!pub/FILEPP/filepp*.tar.gz
pub/FILEPP/FILEPP*
pub/FILEPP/MNH_Expand_*
!pub/FILEPP/MNH_EXPAND_*.tar.gz
src/dir_obj-*
src/LIB/eccodes*
!src/LIB/eccodes*.tar.gz
src/LIB/grib_api*
!src/LIB/grib_api*.tar.gz
src/LIB/hdf5*
!src/LIB/hdf5*.tar.gz
src/LIB/libaec*
!src/LIB/libaec*.tar.gz
src/LIB/netcdf*
!src/LIB/netcdf*.tar.gz
src/LIB/MEGAN*
src/LIB/oasis3-mct*
!src/LIB/oasis3-mct*.tar.gz
src/LIB/toy*
!src/LIB/toy*.tar.gz
vscode_mod
This diff is collapsed.
wget http://anonymous:mto@webdav.cnrm.meteo.fr/public/algo/khatib/src/48t1_main.01.tgz
Pour chacun de ces packs, le répertoire bin créé est un lien. On déplace le répertoire pour que le binaire soit effectivement sur /cnrm
Pour tous les packs: le code provient du git, dr_hook est modifié pour ubuntu, aro_rain_ice est corrigé et l'option -ftree-vectorize est supprimée
main.01: code du git
phyex.01: code du git avec rangement dans phyex
#################################
#Ce qui suit est conservé au cas où mais n'est plus utile
main.01: (-a) code du git, recompil sans rien changer
main.02: idem main.01 mais compil 1proc, listing compil sauve
phyex.01: (-a) code du git, split puis recompil
phyex.02: (-a) décrit ci-dessous
phyex.03: pour test (cf. ci-dessous)
phyex.04: idem phyex.02 mais sur ubuntu, + correction budget RH dans aro_rain_ice
phyex.05: idem phyex.04 mais en -O0
phyex.06: basé sur 04, cp main/phyex local/phyex, -O0 dans ics_masterodb (gmkpack -r 48t1 -b phyex -v 04 -l MPIGFORTRAN920DBL -o xfftw -p masterodb -f /cnrm/phynh/data1/riette/DATA/202005_externalisation_physique/pack/ -h /cnrm/phynh/data1/riette/DATA/202005_externalisation_physique/pack/ -u phyex -n 06). Puis recompile en ajoutant les codes suivants dans local: arpifs/namelist/namparar.nam.h arpifs/phys_dmn/suparar.F90 arpifs/phys_dmn/apl_arome.F90 arpifs/module/yomparar.F90 mpa/turb/externals/aro_turb_mnh.F90 mpa/micro/externals/aro_convbu.F90 mpa/micro/externals/aro_lima.F90 mpa/micro/externals/aro_rain_ice.F90 mpa/micro/externals/aro_startbu.F90 mpa/micro/interface/aro_rain_ice.h
phyex.07: idem 02 avec correction aro_rain_ice (compilé depuis lxphynh9). Manip sur libifsaux inutile => non faite!!!
phyex.08: idem 07 mais construit sur 02 (pour modifier aro_rain_ice) plutot que recompilé entièrement
phyex.09: idem 04 mais sans -ftree-vectorize, et avec modif libifsaux
phyex.10: idem 09 mais compilé depuis pxphynh18 (ubuntu)
phyex.11: idem 10 mais LANG=C.UTF-8
phyex.12: idem 09 (sur sxphynh en ubuntu) mais avec 'export GMKTMP=/dev/shm'
phyex.13: idem 12 mais avec 'export GMKTMP=/tmp'
phyex.14: idem 13 mais avec 'export GMKTMP=/home/riette/mon_rep_tempo', répertoire créé pour l'occasion
phyex.15: idem ?? mais un seul thread
Manip sur les lib (2 packs sinon édition de lien trop lente):
phyex.02: (-a) code du git, split, recompil (jusqu'ici, identique à phyex.01), modif lib (ci-dessous), recompil
cd lib; mv libifsaux.local.a ..; cp /home/riette/packs/PHYEX/ori/lib/libifsaux.main.a libifsaux.local.a; cd ..; ./ics_masterodb
Pour effectuer les tests (pour trouver qu'ifsaux est le coupable, j'ai utilisé un deuxième pack pour que l'édition de lien soit plus rapide):
phyex.03: (basé sur phyex.02): gmkpack -r 48t1 -b phyex -v 02 -l MPIGFORTRAN920DBL -o xfftw -p masterodb -f /cnrm/phynh/data1/riette/DATA/202005_externalisation_physique/pack/ -h /cnrm/phynh/data1/riette/DATA/202005_externalisation_physique/pack/ -u phyex -n 03
libs=$(for file in $(\ls *.a | grep -v libmpa | grep -v libphyex | cut -d. -f1); do echo $file; done)
libs="libaeolus libaladin libalgor libarpifs libbiper libblacklist libcma-odb libcountryrst-odb libcoupling libcrm libdummyaeolus libdummyaladin libdummyalgor libdummyarpifs libdummybiper libdummyblacklist libdummyetrans libdummympa libdummymse libdummyodb libdummysatrad libdummysurf libdummytrans libecfftw libetrans libgrib-utilities libifsaux libifsobs libmain-odb libmse libmtocomp-odb libobstat libodb libpearome-utilities libport-odb libpregpssol-utilities libprograms-aladin libprograms-arpifs libprograms-blacklist libprograms-etrans libprograms-ifsaux libprograms-mse libprograms-satrad libprograms-scat libprograms-trans libradiation librstbias-odb libsatrad libscat libsonderst-odb libsurfex libsurf libtrans libunsxref-verbose libutilities"
libs="libifsaux"
do:
for file in $libs; do rm -f ${file}.main.a; ln -s /home/riette/packs/PHYEX/ori/lib/${file}.main.a; done
undo:
for file in $libs; do rm -f ${file}.main.a; ln -s /cnrm/phynh/data1/riette/DATA/202005_externalisation_physique/pack/48t1_phyex.02.MPIGFORTRAN920DBL.xfftw/lib/${file}.local.a ${file}.main.a; done
Some installations are needed:
1) IAL REFERENCE PACK
The check_commit_ial.sh script, by default, build a pack on top of a precompiled pack.
This precompiled pack must be build beforehand. Instructions can be found in
** INSTALL_pack_ial **
2) MESONH REFERENCE PACK
The reference pack for Meso-NH must be installed. Instructions can be found in
** INSTALL_pack_mesonh **
3) MNH_EXPAND
This tool is composed of two parts: the filepp software, and the MNH_Expand_Array package.
Installation is described in ** INSTALL_mnh_expand **
4) TESTPROGS REFERENCE DATA
The script check\_commit\_testprogs.sh needs reference data.
The data generation is explained in ** INSTALL_testprogs **
Two packages must be installed:
- filepp
- MNH_Expand_Array
################
filepp
################
In the mnh_expand directory:
wget https://www-users.york.ac.uk/~dm26/filepp/filepp-1.8.0.tar.gz
tar xvf filepp-1.8.0.tar.gz
cd filepp-1.8.0
./configure --prefix=$PWD
make install
Go back one directory upper and create a link:
cd ..
ln -s filepp-1.8.0 filepp
################
MNH_Expand_Array
################
In the mnh_expand directory, clone the repository found at
https://github.com/JuanEscobarMunoz/MNH_Expand_Array.git
#######################################################################
Pack creation
#######################################################################
This document describes how to build reference packs on sxphynh and belenos.
The following instructions focuse on the 'phyex' pack in which the physics
have been put in a new gmkpack project, named phyex.
Another pack ('main') have been produced as a super-reference without code
move. Only a recompilation has been done.
This document ends with instruction on how to use these packs. This step
is now automatically performed with the prep_code.sh script.
In these instructions, the git package have been installed in:
sxphynh:/cnrm/phynh/data1/riette/DATA/202005_externalisation_physique
belenos:/scratch/work/riette/202005_externalisation_physique
Pathes must be adapted.
#######################################################################
Creation on sxphynh, to be done only once and to be shared among users:
#######################################################################
version=01
#Get source code
getpack 48t1_main.01.MPIGFORTRAN920DBL.xfftw
export GMKTMP=/dev/shm
#Create main pack
(. berootpack)
gmkpack -a -r 48t1 -b phyex -n $version -l MPIGFORTRAN920DBL -o xfftw -p masterodb -h /cnrm/phynh/data1/riette/DATA/202005_externalisation_physique/pack/
#populate main pack with source code
cd /cnrm/phynh/data1/riette/DATA/202005_externalisation_physique/pack/48t1_phyex.${version}.MPIGFORTRAN920DBL.xfftw/src/local
wget http://anonymous:mto@webdav.cnrm.meteo.fr/public/algo/khatib/src/48t1_main.01.tgz
tar xf 48t1_main.01.tgz
rm -f 48t1_main.01.tgz
for rep in turb micro conv; do
mkdir -p phyex/$rep
mv mpa/$rep/internals/* phyex/$rep/
mv mpa/$rep/module/* phyex/$rep/
rmdir mpa/$rep/internals mpa/$rep/module
done
tar xf /cnrm/algo/khatib/drhook.c_for_ubuntu.tar
sed -i 's/IF (LBUDGET_RH)/IF (LBUDGET_RH .AND. KRR==7)/' mpa/micro/externals/aro_rain_ice.F90
Édition de apl_arome.F90 pour modifier:
IF (LMFSHAL .AND. (CMF_CLOUD=='DIRE'.OR.CMF_CLOUD=='BIGA')) THEN
IOFF_MFSHAL=IOFF_MFSHAL+3
...
ENDIF
en:
IF (LMFSHAL .AND. (CMF_CLOUD=='DIRE'.OR.CMF_CLOUD=='BIGA')) THEN
IOFF_MFSHAL=IOFF_MFSHAL+3
...
ELSE
DO JLEV = 1, KLEV
ZRC_MF_(KIDIA:KFDIA,JLEV)=0._JPRB
ZRI_MF_(KIDIA:KFDIA,JLEV)=0._JPRB
ZCF_MF_(KIDIA:KFDIA,JLEV)=0._JPRB
ENDDO
ENDIF
Édition de apl_arome.F90 pour modifier:
IF ( LKFBCONV.AND.LOSUBG_COND.AND..NOT.LOSIGMAS) THEN
DO JLEV = 1, KLEV
ZMFM_(KIDIA:KFDIA,JLEV)=PSIGM(KIDIA:KFDIA,JLEV)
ENDDO
ENDIF
en:
IF (LOSUBG_COND.AND..NOT.LOSIGMAS) THEN
IF (LKFBCONV) THEN
DO JLEV = 1, KLEV
ZMFM_(KIDIA:KFDIA,JLEV)=PSIGM(KIDIA:KFDIA,JLEV)
ENDDO
ELSE
DO JLEV = 1, KLEV
ZMFM_(KIDIA:KFDIA,JLEV)=0._JPRB
ENDDO
ENDIF
ENDIF
#Compilation
cd /cnrm/phynh/data1/riette/DATA/202005_externalisation_physique/pack/48t1_phyex.${version}.MPIGFORTRAN920DBL.xfftw
grep MPA .gmkfile/MPIGFORTRAN920DBL.GMAP | sed 's/MPA/PHYEX/g' >> .gmkfile/MPIGFORTRAN920DBL.GMAP # <-------------------- to be modified by Ryad
édition pour ajouter -DREPRO48 à la variable MACROS_FRT supprimer les corrections de bugs et assurer la reproduction avec le cy48
édition pour retirer (ubuntu) -ftree-vectorize
sed -i 's/GMK_THREADS=1/GMK_THREADS=10/' ics_masterodb
cleanpack -f
resetpack -f
./ics_masterodb
#######################################################################
Creation on belenos, to be done only once and to be shared among users:
#######################################################################
version=01
#Create main pack
(. berootpack)
gmkpack -a -r 48t1 -b phyex -n $version -l MIMPIIFC1805 -o 2y -p masterodb -h /scratch/work/riette/202005_externalisation_physique/pack/
#populate main pack with source code
cd /scratch/work/riette/202005_externalisation_physique/pack/48t1_phyex.${version}.MIMPIIFC1805.2y/src/local/
ssh sxphynh.cnrm.meteo.fr "wget http://anonymous:mto@webdav.cnrm.meteo.fr/public/algo/khatib/src/48t1_main.01.tgz -O -" > 48t1_main.01.tg
tar xf 48t1_main.01.tgz
rm -f 48t1_main.01.tgz
for rep in turb micro conv; do
mkdir -p phyex/$rep
mv mpa/$rep/internals/* phyex/$rep/
mv mpa/$rep/module/* phyex/$rep/
rmdir mpa/$rep/internals mpa/$rep/module
done
sed -i 's/IF (LBUDGET_RH)/IF (LBUDGET_RH .AND. KRR==7)/' mpa/micro/externals/aro_rain_ice.F90
Édition de apl_arome.F90 pour modifier:
IF (LMFSHAL .AND. (CMF_CLOUD=='DIRE'.OR.CMF_CLOUD=='BIGA')) THEN
IOFF_MFSHAL=IOFF_MFSHAL+3
...
ENDIF
en:
IF (LMFSHAL .AND. (CMF_CLOUD=='DIRE'.OR.CMF_CLOUD=='BIGA')) THEN
IOFF_MFSHAL=IOFF_MFSHAL+3
...
ELSE
DO JLEV = 1, KLEV
ZRC_MF_(KIDIA:KFDIA,JLEV)=0._JPRB
ZRI_MF_(KIDIA:KFDIA,JLEV)=0._JPRB
ZCF_MF_(KIDIA:KFDIA,JLEV)=0._JPRB
ENDDO
ENDIF
Édition de apl_arome.F90 pour modifier:
IF ( LKFBCONV.AND.LOSUBG_COND.AND..NOT.LOSIGMAS) THEN
DO JLEV = 1, KLEV
ZMFM_(KIDIA:KFDIA,JLEV)=PSIGM(KIDIA:KFDIA,JLEV)
ENDDO
ENDIF
en:
IF (LOSUBG_COND.AND..NOT.LOSIGMAS) THEN
IF (LKFBCONV) THEN
DO JLEV = 1, KLEV
ZMFM_(KIDIA:KFDIA,JLEV)=PSIGM(KIDIA:KFDIA,JLEV)
ENDDO
ELSE
DO JLEV = 1, KLEV
ZMFM_(KIDIA:KFDIA,JLEV)=0._JPRB
ENDDO
ENDIF
ENDIF
#Compilation
cd /scratch/work/riette/202005_externalisation_physique/pack/48t1_phyex.${version}.MIMPIIFC1805.2y/
grep MPA .gmkfile/MIMPIIFC1805.EPONA | sed 's/MPA/PHYEX/g' >> .gmkfile/MIMPIIFC1805.EPONA # <-------------------- to be modified by Ryad
édition pour ajouter -DREPRO48 à la variable MACROS_FRT supprimer les corrections de bugs et assurer la reproduction avec le cy48
sed -i 's/GMK_THREADS=1/GMK_THREADS=10/' ics_masterodb
cleanpack -f
resetpack -f
sbatch --wait ics_masterodb
###################################
Usage on any computer (with /cnrm):
###################################
getpack 48t1_main.01.MPIGFORTRAN920DBL.xfftw
commit=9ce8119430dd603d35308d8ae94cf18636157473
name="commit=$commit"
gmkpack -r 48t1 -b phyex -v 01 -l MPIGFORTRAN920DBL -o xfftw -p masterodb -f /cnrm/phynh/data1/riette/DATA/202005_externalisation_physique/pack/ -u PHYEX/$name
cd $HOMEPACK/PHYEX/$name/src/local/phyex
git clone git@github.com:QuentinRodier/PHYEX.git
cd PHYEX
git checkout $commit
for rep in turb micro conv; do
mv -f src/common/$rep/* ../$rep/
mv -f src/arome/$rep/* ../$rep/
touch ../$rep/*
done
cd ..
rm -rf PHYEX
cd $HOMEPACK/PHYEX/$name
sed -i 's/GMK_THREADS=1/GMK_THREADS=10/' ics_masterodb
cleanpack -f
./ics_masterodb
####################
Usage on any belenos
####################
commit=9ce8119430dd603d35308d8ae94cf18636157473
name="commit=$commit"
gmkpack -r 48t1 -b phyex -v 01 -l MIMPIIFC1805 -o 2y -p masterodb -f /scratch/work/riette/202005_externalisation_physique/pack/ -u PHYEX/$name
cd $HOMEPACK/PHYEX/$name/src/local/phyex
git clone git@github.com:QuentinRodier/PHYEX.git
cd PHYEX
git checkout $commit
for rep in turb micro conv; do
mv -f src/common/$rep/* ../$rep/
mv -f src/arome/$rep/* ../$rep/
touch ../$rep/*
done
cd ..
rm -rf PHYEX
cd $HOMEPACK/PHYEX/$name
sed -i 's/GMK_THREADS=1/GMK_THREADS=10/' ics_masterodb
cleanpack -f
sbatch --wait ics_masterodb
1) Compilation de la master
Il faut installer dans le répertoire pack une version de mesonh officielle:
cd <git repository>/pack
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-*
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; 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
#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
scp sxphynh.cnrm.meteo.fr:/home/rodierq/MNH-V5-5-0_PHYEX.tar.gz .
4) Certains commits ne reproduisent pas le commit de référence. En attendant la résolution du problème ces
commits sont contrôlés par rapport au b1e20 mais ce commit n'est pas compilable directement. Pour le
compiler, il faut inverser l'ordre des arguments d'appel des fonctions DZM_MF, MZM_MF, GZ_M_W_MF
dans les sources compute_bl89_ml, tridiag_massflux.f90 et shuman_mf.f90
The testprogs_data directory must be filled by reference data.
These data are generated according to the description provided in the Offline documentation.
The check_commit_testprogs.sh script will run offline simulations in the directory given
by the environment variable TESTPROGSDIR ($HOME/TESTPROGS will be used if the variable is not set).
This directory must exist.
Libtools sources may be retrieved with the following commands.
Choose a working directory to install the sources, then
- To get the latest stable revision :
cvs co libtools
- To get the latest development release :
cvs co -r LIBTOOLS-DEVEL-branch libtools
- To get the latest CNRM development release :
cvs co -r LIBTOOLS-CNRM-branch libtools
- to get the LIBTOOLS-DEVEL-1-0-2 release :
cvs co -r LIBTOOLS-DEVEL-1-0-2 libtools
Tags that may appear in this repository are explained below :
MAIN
====
| LIBTOOLS-DEVEL-branch LIBTOOLS-CNRM-branch
| ===================== ====================
| | |
| | |
LIBTOOLS-1-0-0 ------------------+---------------------------------+
| | |
| | |
| | |
| DEV-SURC-7-4-1 |
| | |
| | |
| DEV-SURC-7-4-1-1 |
| | |
| | |
| DEV-SURC-7-4-1-2 |
| | |
| | |
| LIBTOOLS-DEVEL-1-0-1 |
| | |
| | |
| | |
| LIBTOOLS-DEVEL-1-0-2 merge |
| merged_from_DEVEL_to_CNRM ---------> LIBTOOLS-CNRM-1-0-2
| | |
. . .
. . .
. . .
Branch TAGS
===========
MAIN : this branch contains official stable LibTools sources.
LIBTOOLS-DEVEL-branch : this branch contains sources currently under
development that sooner or later are merged to
main branch.
LIBTOOLS-CNRM-branch : this branch is reserved to CNRM development/tests.
Sources may be merged to MAIN or LIBTOOLS-DEVEL-branch
branch.
Release TAGS
============
LIBTOOLS-x-y-z : this tag is applied to all sources of a stable LIBTOOLS release
on the MAIN branch.
LIBTOOLS-DEVEL-x-y-z : this tag is applied to all sources of a development LIBTOOLS
release on the LIBTOOLS-DEVEL-branch development branch.
DEV-SURC-x-y... : this tag is only applied to the lib/SURCOUCHE sources on the
LIBTOOLS-DEVEL-branch development branch.
LIBTOOLS-CNRM-x-y... : this tag is applied to all sources of a development/test LIBTOOLS
release on the LIBTOOLS-CNRM-branch development branch.
Note that all sources from LIBTOOLS-DEVEL-1-0-2 and LIBTOOLS-CNRM-1-0-2 release
are strictly identical (except maybe for the README.TXT file).
Release tag : LIBTOOLS-CNRM-4-8-a on September 24 2009
Welcome to MESONH Libtools...
Branch : LIBTOOLS-CNRM-branch
TAG : $Name$
Support for gfortran ver > 4.3 and NCL/NCAR 5.1.1
with :
export ARCH=LXgfortran
Documentation can be found in 'readme' directory.
LaTeX sources of documentation can be found in 'readme/LATEX'
directory : type make in the LATEX directory to build the
postscript documentation file : tools.ps
How to compile ?
cd lib
export ARCH=LXgfortran
make COMPRESS
make NEWLFI
make SURCOUCHE
make MPIvide
make RAD2
make vis5d
cd gribex_1302b
export ARCH=linux
export CNAME=_gfortran
export A64=A64
make
cd ../../tools
cd diachro
export ARCH=LXgfortran
export MNH_LIBTOOLS= absolute path for libtools directory
make
# The executables are in the directory LXgfortran_64 conv2dia and LXgfortran_32 for the others
cd ../fmmore
make
# The executable is in the directory LXgfortran_64
cd ../lfiz
make
# The executables ate in the directory LXgfortran
CPP = cc -C -E
AR = ar
F77 = xlf90 -q32 -qextname
F90 = xlf90 -q32 -qextname
F77FLAGS = -qfixed -O3 -qstrict
F90FLAGS = -qfree=f90 -qsuffix=f=f90 -O3 -qstrict
CPPFLAGS =
LDFLAGS = -bloadmap:map_ld
CPP = cc -C -E
AR = ar -X64
F77 = xlf90_r -qarch=pwr4 -qzerosize -qautodbl=dbl4 -qmaxmem=-1
F90 = xlf90_r -qarch=pwr4 -qzerosize -qautodbl=dbl4 -qmaxmem=-1
F77FLAGS = -q64 -qfixed -O3 -qstrict
F90FLAGS = -q64 -qfree=f90 -qsuffix=f=f90 -O3 -qstrict
CFLAGS = -q64
CPPFLAGS =
LDFLAGS = -q64 -bloadmap:map_ld
CPP = /usr/lib/cpp -P -C
AR = ar
CC = cc
F77 = f95
F90 = f95
F90FLAGS = -f77 -kind=byte -w -mismatch_all
F77FLAGS = -f77 -kind=byte -w -mismatch_all -dusty
LDFLAGS = -unsharedf95
CPP = /usr/lib/cpp -P -C
AR = ar
F90 = f90 +DAportable
F77 = f90 +DAportable
CPPFLAGS = -DHP -DF90HP
F90FLAGS = -w
F77FLAGS = -w
CPP = cpp -P -traditional -Wcomment
AR = ar
CC = cc
F77 = f95
F90 = f95
CPPFLAGS = -DNAGf95
#F90FLAGS = -kind=byte -w -C=all -gline
F90FLAGS = -kind=byte -w -mismatch_all -gline
F77FLAGS = -kind=byte -w -mismatch_all -dusty
LDFLAGS = -unsharedf95
CPP = cpp -P -traditional -Wcomment
AR = ar
CC = cc
F77 = g95
F90 = g95
CPPFLAGS = -DG95
F90FLAGS = -w -fno-second-underscore
F77FLAGS = -w -fno-second-underscore
LDFLAGS =
CPP = cpp -P -traditional -Wcomment
AR = ar
CC = cc
F77 = gfortran
F90 = gfortran
CPPFLAGS = -DGFORTRAN
F90FLAGS = -w -fno-second-underscore
F77FLAGS = -w -fno-second-underscore
LDFLAGS =
CPP = cpp -P -traditional -Wcomment
AR = ar
CC = cc
F77 = ifort
F90 = ifort
CPPFLAGS =
F90FLAGS =
F77FLAGS =
LDFLAGS =
CPP = cpp -P -traditional -Wcomment
AR = ar
CC = cc
F77 = pgf90
F90 = pgf90
CPPFLAGS = -Dpgf
F90FLAGS = -w
F77FLAGS = -w
LDFLAGS = -Wl,-noinhibit-exec -Wl,-warn-once