Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
5ca95ae0
Commit
5ca95ae0
authored
6 years ago
by
Loic Hausammann
Browse files
Options
Downloads
Patches
Plain Diff
Update velociraptor standalone doc
parent
e1fea0c7
No related branches found
No related tags found
1 merge request
!696
Update velociraptor doc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/RTD/source/VELOCIraptorInterface/stfalone.rst
+11
-24
11 additions, 24 deletions
doc/RTD/source/VELOCIraptorInterface/stfalone.rst
with
11 additions
and
24 deletions
doc/RTD/source/VELOCIraptorInterface/stfalone.rst
+
11
−
24
View file @
5ca95ae0
...
@@ -23,24 +23,18 @@ git repository as::
...
@@ -23,24 +23,18 @@ git repository as::
git clone https://github.com/pelahi/VELOCIraptor-STF
git clone https://github.com/pelahi/VELOCIraptor-STF
Similar to the SWIFT with VELOCIraptor configuration, we can use the
Similar to the SWIFT with VELOCIraptor configuration, we can use the
swift-interface branch
to analyse individual snapshots. We can use this branch
master
to analyse individual snapshots. We can use this branch
by doing::
by doing::
cd VELOCIraptor-STF
cd VELOCIraptor-STF
git fetch
git fetch
git checkout swift-interface
Again we need to copy the default SWIFT config file to a other config file by
Again we need to configure VELOCIraptor::
doing::
cd stf
cmake . -DVR_USE_GAS=ON
cp Makefile.config.SWIFT-template Makefile.config
Similar to configuring VELOCIraptor with swift we need to change the first 20
In this case, we do not need the SWIFT interface, therefore we can drop
lines of ``Makefile.config`` to work with our compiler, but we also need to
this option (disabled by default).
change the fact that we do not use the swift-interface but the standalone
version of the code, so change ``SWIFTINTERFACE="on"`` to
``SWIFTINTERFACE="off"``.
Compiling VELOCIraptor
Compiling VELOCIraptor
----------------------
----------------------
...
@@ -50,9 +44,7 @@ configuration with SWIFT. In this case we can compile the code as::
...
@@ -50,9 +44,7 @@ configuration with SWIFT. In this case we can compile the code as::
make
make
After this an additional folder is created in ``VELOCIraptor-stf/stf`` called
After this an executable is created (``VELOCIraptor-stf/stf``).
``bin``, in which the binary files of ``stf-gas`` is present (assuming you
run a simulation with SPH [#nosph]_)
Running VELOCIraptor on a Snapshot
Running VELOCIraptor on a Snapshot
----------------------------------
----------------------------------
...
@@ -61,10 +53,12 @@ After the code is compile the next step is using VELOCIraptor on a single
...
@@ -61,10 +53,12 @@ After the code is compile the next step is using VELOCIraptor on a single
snapshot of a simulation. The code has several options which can be used, which
snapshot of a simulation. The code has several options which can be used, which
can be displayed by running a terminal command of an invalid letter like::
can be displayed by running a terminal command of an invalid letter like::
./stf
-gas
-h
./stf -h
which gives the information about the usage of the command::
which gives the information about the usage of the command::
VELOCIraptor/STF running with MPI. Number of mpi threads: 1
VELOCIraptor/STF running with OpenMP. Number of openmp threads: 8
USAGE:
USAGE:
-C <configuration file (overrides other options)>
-C <configuration file (overrides other options)>
...
@@ -80,13 +74,6 @@ which gives the information about the usage of the command::
...
@@ -80,13 +74,6 @@ which gives the information about the usage of the command::
===== EXTRA OPTIONS REQUIRED FOR RAMSES INPUT ======
===== EXTRA OPTIONS REQUIRED FOR RAMSES INPUT ======
-t <ramses snapnumber>
-t <ramses snapnumber>
After this we can run
a
VELOCIraptor on a snapshot as::
After this we can run VELOCIraptor on a snapshot as::
./stf-gas -i input -o output -C configfile.txt
./stf -i input -o output -C configfile.txt
.. [#nosph] In the case that in the ``Makefile.config`` it is indicate that the
simulation does only contain dark matter this will reflect back on the
generated binary file. So ``stf-gas`` will change to ``stf`` in the case of
a dark matter only simulation.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment