... | ... | @@ -53,6 +53,7 @@ $ git-lfs pull |
|
|
|
|
|
## Configuration
|
|
|
|
|
|
### Build directory
|
|
|
It is advised (read mandatory) not to build directly in the source code directory.
|
|
|
|
|
|
```
|
... | ... | @@ -63,6 +64,8 @@ It is advised (read mandatory) not to build directly in the source code director |
|
|
[...build]$
|
|
|
```
|
|
|
|
|
|
### Running cmake
|
|
|
|
|
|
If all the required libraries are available in standard locations, you only need to run `cmake ..` (or, in its general form `cmake <fargOCA distrib path>`:
|
|
|
|
|
|
```
|
... | ... | @@ -78,6 +81,22 @@ If all the required libraries are available in standard locations, you only need |
|
|
-- Build files have been written to: /beegfs/home/alainm/tmp/fargOCA/build
|
|
|
[alainm@pollux build]$
|
|
|
```
|
|
|
To run in release mode, specify **-DCMAKE_BUILD_TYPE=Release**:
|
|
|
```
|
|
|
[alainm@pollux build]$ cmake DCMAKE_BUILD_TYPE=Release ..
|
|
|
```
|
|
|
|
|
|
### Enabling the Symba7 integrator
|
|
|
|
|
|
The *Symba7 integrator* can be used to control the evolution of the planets. It is not shipped with our distribution but can be used as a plugin.
|
|
|
|
|
|
To enable it, you need to obtain a copy of the **symba7.tar** integrator tar file and add **-DUSE_SYMBA7=<path to symba7.tar>** to the cmake command. For example:
|
|
|
```
|
|
|
22:42:22 [alainm@castor s7]# cmake -DCMAKE_BUILD_TYPE=Release -DUSE_SYMBA7=../../fargOCA/contrib/symba7.tar ..
|
|
|
```
|
|
|
|
|
|
Note that you will need to have acces to *https://www.boulder.swri.edu/~hal/downloads/swift.tar.gz" from your build machine.
|
|
|
|
|
|
|
|
|
#### Troubleshooting
|
|
|
|
... | ... | |