... | ... | @@ -5,14 +5,14 @@ sudo apt install gfortran git libblas-dev libglu1-mesa libhdf5-dev liblapack-dev |
|
|
```
|
|
|
Clone the SLIM git repository.
|
|
|
```
|
|
|
git clone https://git.immc.ucl.ac.be/dg/dg.git
|
|
|
git clone https://git.immc.ucl.ac.be/slim/slim.git
|
|
|
```
|
|
|
Create a build directory in the dg directory and use cmake to generate the setup the build environment.
|
|
|
```
|
|
|
cd dg
|
|
|
cd slim
|
|
|
mkdir build
|
|
|
cd build
|
|
|
cmake .. -DENABLE_GOTM=1 -DPYTHON_EXECUTABLE=/usr/bin/python3
|
|
|
cmake .. -DPYTHON_EXECUTABLE=/usr/bin/python3
|
|
|
```
|
|
|
Build the library (it will takes some time ...)
|
|
|
```
|
... | ... | @@ -25,7 +25,6 @@ source ~/.bashrc |
|
|
```
|
|
|
At this point, the slim installation is complete. To try it, you can run one of the automatic benchmarks. E.g. :
|
|
|
```
|
|
|
cd ../modules/slim3d/tests/swe3dKatoPhilipps
|
|
|
rundgpy test.py
|
|
|
```
|
|
|
It should end with "TEST SUCCEED". |
|
|
\ No newline at end of file |
|
|
cd shallowWater/tests/stommel
|
|
|
slim test.py
|
|
|
``` |
|
|
\ No newline at end of file |