Download THE MESONH USER'S GUIDE
Transcript
18 CHAPTER 2. INSTALLATION OF MESONH http://mesonh.aero.obs-mip.fr/cgi-bin/mesonh_interne/viewcvs.cgi/MNH-VX-Y-Z In the field ”Show files using tag:”, select ”PACK-MNH-V4-9-1” and then download the file ”MNH-VX-Y-Z.tar.gz” with the link " Download tarball " Then untar the file ”MNH-VX-Y-Z.tar.gz” where you want to, in your home directory for example: cd ∼ tar xvfz MNH-VX-Y-Z.tar.gz As the directory did not reflect the last version name move it to the right one mv MNH-VX-Y-Z MNH-V4-9-1 2.2 Installing/configuring the MESONH package For the installation process, you could now use the configure script like this : cd ∼/MNH-V4-9-1/src configure This will create a configuration file profile mesonh with an extension reflecting the different ”choices” made automatically to match the computer on which you want to install MESONH and then source/load the new generate file : . ../conf/profile_mesonh WARNING : on GENCI, ECMWF and METEO-FRANCE computers, the configure is tuned to identify the computer on which the command is used so the good compiler, mpi & cdf library , etc ... is automatically chosen This is not the case in your ”own” personal Linux computer ...It is up to you to set the ARCH variable correctly ARCH= Fortran compiler to use, and all the other environnement variables . By default : • the compiler is chosen to be ”g95” : ARCH=LXg95 • the mpi library to be the MPIVIDE :VER MPI=MPIVIDE ( empty mpi library coming with MESONH package = no parallel run possible ) • the level compiler optimization : OPTLEVEL=DEBUG (for development purpose, fast compilation, debugging ) So if needed, you could also change the default FLAG compiler/mpi/optlevel like this, for example :