... | ... | @@ -10,7 +10,7 @@ git clone https://github.com/pelahi/VELOCIraptor-STF.git |
|
|
|
|
|
2. Build VELOCIraptor
|
|
|
---------------------
|
|
|
* Make sure that the `python` module is unloaded on COSMA as it causes problems when linking VELOCIraptor with SWIFT
|
|
|
* Make sure that the `python` module is unloaded on COSMA5 as it causes problems when linking VELOCIraptor with SWIFT
|
|
|
* Checkout the `swift-interface` branch:
|
|
|
|
|
|
```
|
... | ... | @@ -36,12 +36,6 @@ GSL_DIR = /cosma/local/gsl/c4/intel_2017/2.3 |
|
|
HDF_DIR = /cosma/local/hdf5//c5/intel_2017/1.8.18
|
|
|
```
|
|
|
Note: the versions of the libraries used for `GSL` and `HDF5` have to match what SWIFT is built with.
|
|
|
* Include these extra lines in `Makefile.config` so that VELOCIraptor can find SWIFT header files:
|
|
|
|
|
|
```
|
|
|
SWIFTDIR =/cosma5/data/dp004/dc-will2/SWIFT/swift-velociraptor-C/swiftsim/
|
|
|
SWIFT_INCL = -I$(SWIFTDIR) -I$(SWIFTDIR)/src/ -I$(SWIFTDIR)/src/gravity/Default/ -I$(SWIFTDIR)/src/hydro/Gadget2/
|
|
|
```
|
|
|
|
|
|
* Make sure that a C++ compiler module is loaded and set the compiler to:
|
|
|
|
... | ... | |