Changes between Version 2 and Version 3 of user/techene/TP_NEMO
- Timestamp:
- 2021-01-21T18:01:35+01:00 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
user/techene/TP_NEMO
v2 v3 70 70 - Replace -n MY_CONFIG by names you find in NEMO/tests prefixed with -a or NEMO/cfgs prefixed with -r. 71 71 - Replace MY_ENV by linux_gfortran or by any name you chose when you created your arch file. 72 {{{ 72 {{{#!sh 73 73 # Let's go ! 74 74 cd NEMO 75 75 # generic example : ./makenemo -n MY_CONFIG -j 6 -m MY_ENV 76 76 ./makenemo -h 77 # compile ORCA2 configuration in the pre set environment77 # compile ORCA2 configuration in the pre-set environment 78 78 ./makenemo -r ORCA2_ICE_PISCES -j 6 -m linux_gfortran 79 # compile CANAL configuration in the pre set environment79 # compile CANAL configuration in the pre-set environment 80 80 ./makenemo -a CANAL -j 6 -m linux_gfortran 81 81 }}} 82 83 Resulting executable is created in a repository associated with the MY_CONFIG configuration. In the generic example case it is ./*/MY_CONFIG/EXP00/. * stands either for tests or cfgs depending on where your configuration was originally located. 84 85 == Run NEMO's ORCA2 configuration == 86 87 # Let's go ! 88 cd ./cfgs/ORCA2_ICE_PISCES/EXP00 89 # Check executable presence 90 ls -lrt 91 # Run NEMO on 4 nodes (default) 92 mpirun ./nemo -np 4 93 # Run NEMO with customize parameters 94 vi namelist_cfg 95 mpirun ./nemo -np 4 96 }}}