Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions docs/tracking-algorithms/tstorms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,22 @@ number of fixes for hard-coded filepaths etc. over the original to aid usability

TSTORMS comprises two codes, one for storm detection (``tstorms_driver``) and another
for generating trajectories (``trajectory_analysis``).
The code is built using Make and requires a Fortran compiler (ifort default recommended)
and an installation of NetCDF.
The code is built using Make and requires a Fortran compiler and an installation of
NetCDF.
The steps are summarised here::

git clone https://github.com/Cambridge-ICCS/TSTORMS.git
cd TSTORMS/
cd tstorms_driver/
make
make FC=gfortran
cd ../trajectory_analysis/
make
make FC=gfortran

This will clone the TSTORMS code and then then build the two TSTORMS executables using
Make.
Using a different compiler requires modification to both
``tstorms_driver/mkmf_template`` and ``trajectory_analysis/mkmf_template``
to set ``FC``, ``LD``, and any associated flags appropriately.
This will be required if building with gfortran or Intel oneAPI compilers >= 2025 (ifx).
``ifort`` or ``ifx`` can also be used for the compilation. Any other compilers will
require modification to both ``tstorms_driver/mkmf_template`` and
``trajectory_analysis/mkmf_template``.

Once this is complete the TSTORMS executables can then be found at
``/path/to/TSTORMS_installation/tstorms_driver/tstorms_driver.exe`` and
Expand Down
4 changes: 2 additions & 2 deletions tutorial/install_tstorms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ cd TSTORMS/

# Build using Make
cd tstorms_driver/
make
make FC=gfortran
cd ../trajectory_analysis/
make
make FC=gfortran

# return to tutorial directory
cd ../../
Loading