Version 7 (modified by techene, 4 years ago) (diff) |
---|
Get the source
https://owncloud.locean-ipsl.upmc.fr/index.php/s/MIDmP18cvAkd0xl
Put the source at the right location
cp MODNUM.tar.gz $HOME
Go in the home
cd $HOME
...to extract
tar xvfz MODNUM.tar.gz
Compile it
cd MODNUM cd nemo ./makenemo -m GCC_LINUX -j 4 -r PAC2
The compilation command is written in README_compile.
in case of problem
- check your are in $HOME
- check $HOME=/home/utl1
- check the command you used to compile !
Then run the code
cd cfgs cd PAC2 cd EXP00
check nemo executable is available
ls
need to update path
this variable has to be update each time you change terminal
export LD_LIBRARY_PATH=$HOME/MODNUM/util/netcdf-fortran-4.5.3/lib:$HOME/MODNUM/util/netcdf-c-4.7.4/lib:$HOME/MODNUM/util/hdf5-1.10.7/lib mpirun -np 4 ./nemo
The run procedure is written in README_run.
Look at the output
pwd ls ncview blablabla.nc
in case of problem (there is a bug in the current version)
in file_def_nemo-oce.xml
change one_file for multiple_file
in namelist_cfg
nn_leapy = 0
with these parameters
rm PAC2_1m_19940101_19941231_grid_T.nc ./rebuild -o PAC2_1m_19940101_19941231_grid_T.nc PAC2_1m_19940101_19941231_grid_T_00*
Now you can visualise with ncview
rm PAC2_1m_19940101_19941231_grid_T.nc rm PAC2_1m_19940101_19941231_grid_U.nc rm PAC2_1m_19940101_19941231_grid_V.nc rm PAC2_1m_19940101_19941231_grid_W.nc rm PAC2_1d_19940101_19941231_grid_T.nc rm PAC2_1d_19940101_19941231_grid_U.nc rm PAC2_1d_19940101_19941231_grid_V.nc rm PAC2_1d_19940101_19941231_grid_W.nc ./rebuild -o PAC2_1m_19940101_19941231_grid_T.nc PAC2_1m_19940101_19941231_grid_T_00* ./rebuild -o PAC2_1m_19940101_19941231_grid_U.nc PAC2_1m_19940101_19941231_grid_U_00* ./rebuild -o PAC2_1m_19940101_19941231_grid_V.nc PAC2_1m_19940101_19941231_grid_V_00* ./rebuild -o PAC2_1m_19940101_19941231_grid_W.nc PAC2_1m_19940101_19941231_grid_W_00* ./rebuild -o PAC2_1d_19940101_19941231_grid_T.nc PAC2_1m_19940101_19941231_grid_T_00* ./rebuild -o PAC2_1d_19940101_19941231_grid_U.nc PAC2_1m_19940101_19941231_grid_U_00* ./rebuild -o PAC2_1d_19940101_19941231_grid_V.nc PAC2_1m_19940101_19941231_grid_V_00* ./rebuild -o PAC2_1d_19940101_19941231_grid_W.nc PAC2_1m_19940101_19941231_grid_W_00*