Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs section on HPC installation #322

Merged
merged 2 commits into from
Sep 18, 2024
Merged
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
23 changes: 23 additions & 0 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -208,4 +208,27 @@ or alternatively, you can use the shortcut in the ``Makefile`` and type:
Once this process is complete the python interface install should be complete and tacs should be importable from python.


Installation tips for common HPC systems
****************************************

NASA HECC
=========

We have successfully built TACS on the NASA High End Computing Capability system using the following modules:
::

Currently Loaded Modulefiles:
1) pkgsrc/2023Q3 2) mpi-hpe/mpt.2.28_25Apr23_rhel87 3) comp-intel/2020.4.304 4) python3/3.11.5

A number of changes are necessary to the default ``Makefile.in`` file:

- If using intel compilers and one of the ``mpi-hpe`` modules, use ``CXX = icpc -lmpi``
- To build a TACS binary that will work on all node types, use the optimization flags recommended in the `HECC documentation <https://www.nas.nasa.gov/hecc/support/kb/recommended-compiler-options_99.html>`_, ``-O3 -axCORE-AVX512,CORE-AVX2 -xAVX``
- If you run into issues related to OpenMP, add ``-qopenmp`` to the end of the `SO_LINK_FLAGS`` entry
- To link to Intel's MKL in place of standard blas and lapack, replace the default ``LAPACK_LIBS`` line with:

::

MKLPATH=${MKLROOT}/lib/intel64
MKL_LIBS = -Wl,--start-group ${MKLPATH}/libmkl_intel_lp64.a ${MKLPATH}/libmkl_sequential.a ${MKLPATH}/libmkl_core.a -Wl,--end-group -lpthread
LAPACK_LIBS = -limf ${MKL_LIBS}
Loading