Skip to content
Snippets Groups Projects
Commit 84e0d84b authored by GUEZ Lionel's avatar GUEZ Lionel
Browse files

Polish

parent 6239476f
No related branches found
No related tags found
No related merge requests found
...@@ -128,11 +128,11 @@ specify 30 as the last argument on the command line. ...@@ -128,11 +128,11 @@ specify 30 as the last argument on the command line.
# Installation # Installation
For the detection part, you need [CMake](https://cmake.org) version ≥ For the detection of instantaneous eddies, you need
`3.20`, [Git](https://git-scm.com), a Fortran compiler, the Fortran [CMake](https://cmake.org) version ≥ `3.20`,
interface to the [Git](https://git-scm.com), a Fortran compiler, the Fortran interface
[NetCDF](https://www.unidata.ucar.edu/software/netcdf) library and the to the [NetCDF](https://www.unidata.ucar.edu/software/netcdf) library
[Shapefile C library](http://shapelib.maptools.org). and the [Shapefile C library](http://shapelib.maptools.org).
If your Linux distribution is Ubuntu `20.04` or Linux Mint 20, you can If your Linux distribution is Ubuntu `20.04` or Linux Mint 20, you can
get all the above dependencies except CMake with the following get all the above dependencies except CMake with the following
...@@ -158,6 +158,13 @@ get the MPI library with the following command: ...@@ -158,6 +158,13 @@ get the MPI library with the following command:
sudo apt install libopenmpi-dev sudo apt install libopenmpi-dev
``` ```
For the trajectory part, the dependencies can be installed with
[mamba](https://github.com/mamba-org/mamba):
```shell
mamba create --name my_env graph-tool=2.80 networkx pyshp f90nml cartopy pygifsicle h5py pynco pygraphviz
```
Once you have collected the dependencies, you can download an archive Once you have collected the dependencies, you can download an archive
of the present repository or clone it with Git. So for example: of the present repository or clone it with Git. So for example:
...@@ -166,8 +173,7 @@ wget https://gitlab.in2p3.fr/ipsl/lmd/dpao/Detection_eddies/-/archive/master/Det ...@@ -166,8 +173,7 @@ wget https://gitlab.in2p3.fr/ipsl/lmd/dpao/Detection_eddies/-/archive/master/Det
tar -xf Detection_eddies-master.tar.gz tar -xf Detection_eddies-master.tar.gz
``` ```
Then run the following command to install the program for detection of Then run the following command to build the programs:
eddies:
```shell ```shell
cmake -B build -S Detection_eddies-master -DCMAKE_BUILD_TYPE:STRING=Release -DFETCH:BOOL=ON cmake -B build -S Detection_eddies-master -DCMAKE_BUILD_TYPE:STRING=Release -DFETCH:BOOL=ON
...@@ -177,9 +183,6 @@ cmake --build build ...@@ -177,9 +183,6 @@ cmake --build build
where we have chosen to create the build products in a directory where we have chosen to create the build products in a directory
called build (you can choose any location and any name). called build (you can choose any location and any name).
For the trajectory part, the Python dependencies are: graph-tool
networkx pyshp f90nml cartopy pygifsicle h5py pynco pygraphviz.
# Repartition of Fortran files into directories # Repartition of Fortran files into directories
Since commit 3289c070. Since commit 3289c070.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment