Skip to content

Commit

Permalink
fill in directions for ECCO v4 r3 in ECCOv4r3_mods.md + fix typos in …
Browse files Browse the repository at this point in the history
…ECCOv4r1_mods.md
  • Loading branch information
gaelforget committed Feb 14, 2018
1 parent db3145e commit 506ce9b
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/ECCOv4r1_mods.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ To set up MITgcm to reproduce the ECCO version 4 baseline 1 solution, which most
2. add ``#define ALLOW_AUTODIFF_INIT_OLD`` in ``code/AUTODIFF_OPTIONS.h``.
3. copy ``input_itXX/data`` and ``input_itXX/data.exf`` over ``input/data`` and ``input/data.exf``, respectively.

To compile MITgcm and run the ECCO version 4 baseline 1 solution, follow directions provided at [http://eccov4.readthedocs.io/]() except that the ECCO version 4 baseline 1 forcing ([forcing_baseline1/](<ftp://mit.ecco-group.org/ecco_for_las/version_4/release1/forcing_baseline1/>)) should be link in the `run/` directory in place of `forcing_baseline2/`.
To compile MITgcm and run the ECCO version 4 baseline 1 solution, then follow directions provided at [http://eccov4.readthedocs.io/]() except that the ECCO version 4 baseline 1 forcing ([forcing_baseline1/](<ftp://mit.ecco-group.org/ecco_for_las/version_4/release1/forcing_baseline1/>)) should be linked in the `run/` directory in place of `forcing_baseline2/`.



48 changes: 47 additions & 1 deletion docs/ECCOv4r3_mods.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,49 @@

to be added shortly...
To set up MITgcm to reproduce the ECCO version 4 release 3 solution, directions provided at [http://eccov4.readthedocs.io/]() should be modified as follows:


### install MITgcm + configuration

```
git clone https://github.com/MITgcm/MITgcm
git clone -b release3 https://github.com/gaelforget/ECCOv4
mkdir MITgcm/mysetups
mv ECCOv4 MITgcm/mysetups/.
```

### compile the MITgcm config.

```
cd MITgcm/mysetups/ECCOv4/build
../../../tools/genmake2 -mods=../code -optfile \
../../../tools/build_options/linux_amd64_gfortran -mpi
make depend
make -j 4
cd ..
```

### download input files

```
cd MITgcm/mysetups/ECCOv4
wget --recursive ftp://mit.ecco-group.org/ecco_for_las/version_4/release3/input_forcing/
wget --recursive ftp://mit.ecco-group.org/ecco_for_las/version_4/release3/input_init/
mv mit.ecco-group.org/ecco_for_las/version_4/release3/input_forcing .
mv mit.ecco-group.org/ecco_for_las/version_4/release3/input_init .
```

### setup the run directory

```
cd MITgcm/mysetups/ECCOv4
mkdir run
cd run
ln -s ../build/mitgcmuv .
ln -s ../input/* .
ln -s ../input_init/* .
ln -s ../input_forcing/* .
```

### run the model

`mpiexec -np 96 ./mitgcmuv`

0 comments on commit 506ce9b

Please sign in to comment.