... | ... | @@ -59,12 +59,6 @@ this should create a libstf.a file in lib/ |
|
|
|
|
|
3. Build SWIFT
|
|
|
--------------
|
|
|
* Checkout the `swift-velociraptor-C` branch:
|
|
|
|
|
|
```
|
|
|
git checkout swift-velociraptor-C
|
|
|
```
|
|
|
|
|
|
* Run `autogen.sh`
|
|
|
* Configure SWIFT so that the path to `libstf.a` is known:
|
|
|
|
... | ... | @@ -100,4 +94,19 @@ export CRAYPE_LINK_TYPE=dynamic |
|
|
|
|
|
where `-I` specifies the snapshot format (Gadget, HDF5, etc.), `-i` tells it the input file without the file extension, `-C` specifies the config file to use and `-o` specifies the base name of the output file.
|
|
|
|
|
|
* A more detailed description of running VELOCIraptor can be found here: https://velociraptor-stf.readthedocs.io/en/latest/ |
|
|
\ No newline at end of file |
|
|
* A more detailed description of running VELOCIraptor can be found here: https://velociraptor-stf.readthedocs.io/en/latest/
|
|
|
|
|
|
6. Running VELOCIraptor with OpenMP
|
|
|
-----------------------------------
|
|
|
* VELOCIraptor can be run with OpenMP both stand-alone and from within SWIFT.
|
|
|
* Enable OpenMP compilation in the VELOCIraptor `Makefile.config` file by setting `OMP="on"`
|
|
|
* Before running with VELOCIraptor set how many OpenMP threads are required via:
|
|
|
|
|
|
```
|
|
|
export OMP_NUM_THREADS=28
|
|
|
```
|
|
|
* You should get the following message when VELOCIraptor runs:
|
|
|
|
|
|
```
|
|
|
VELOCIraptor/STF running with OpenMP. Number of openmp threads: 28
|
|
|
``` |
|
|
\ No newline at end of file |