Skip to content
Snippets Groups Projects
Commit 9e0dc830 authored by Martin Lang's avatar Martin Lang
Browse files

Minor corrections in the documentation for the upcoming 24a release

parent 4af36693
No related branches found
No related tags found
1 merge request!125Draft documentation for upcoming release
Pipeline #419114 passed
......@@ -297,8 +297,8 @@ Development
-----------
Developers documentation is available at development.rst.
Upcoming releases (for alpha testing)
-------------------------------------
Upcoming release 24a (for alpha testing)
----------------------------------------
Work has started to provide newer toolchains and compiler versions. For these, the structure and layout of the modules has been modified compared to what is described above (the changes are experimentally and may change in the future, feedback is very welcome).
......@@ -309,25 +309,29 @@ To use the new compilers on the HPC system run::
You get access (as of Dec 2023) to ``gcc/12.2.0`` (easybuild toolchain foss2022b), ``gcc/12.3.0`` (easybuild toolchain foss2023a), and ``gcc/13.2.0`` (also via the toolchain gcc13 as easybuild did not yet release a toolchain with any gcc13 that we could mimic).
When loading the toolchain metamodules (called ``toolchain/<easybuild version>|gcc<gcc version>``), you will load (ignoring internal dependencies)
When loading the toolchain metamodules (called ``toolchain/<easybuild version>|gcc<gcc major version>``), you will load (ignoring internal dependencies)
- gcc
- openpi
- openmpi
- fftw
- scalapack
- openblas
- scalapack
Several additional octopus dependencies have also been compiled with all gcc versions. They can be loaded individually, we currently do not provide any metamodule for octopus dependencies. Please report any problems or missing modules, or difficulties loading modules that can come with or without MPI support.
Each module sets an environment variable ``MPSD_<MODULE_NAME>_ROOT`` that can be used for configure.
Several additional octopus dependencies have also been compiled with all gcc
versions. They can be loaded individually, we currently do not provide any
metamodule for octopus dependencies. Please report any problems or missing
modules, or difficulties loading modules that can come with or without MPI
support.
Spack requires adding rpath in the linker options (``LDLIBRARY_PATH`` is not set [and should not be set]), more details are available at: https://computational-science.mpsd.mpg.de/docs/mpsd-hpc.html#setting-the-rpath-finding-libraries-at-runtime (also https://docs.mpcdf.mpg.de/faq/hpc_software.html#how-do-i-set-the-rpath ). The required syntax is ``-Wl,-rpath=/...``, e.g. for fftw in a Makefile::
Each module sets an environment variable ``MPSD_<MODULE_NAME>_ROOT`` that can be used for configure and the rpath (see below).
LDFLAGS:= -lfftw3
LDFLAGS+=-Wl,-rpath=$(MPSD_FFTW_ROOT)/lib
Spack requires adding rpath in the linker options (``LDLIBRARY_PATH`` is not set
[and should not be set]), more details are available at:
https://computational-science.mpsd.mpg.de/docs/mpsd-hpc.html#setting-the-rpath-finding-libraries-at-runtime
(also https://docs.mpcdf.mpg.de/faq/hpc_software.html#how-do-i-set-the-rpath ).
Setting the flags for all loaded modules should work via:::
Setting the flags for all loaded modules should work via: ::
export LDFLAGS=`echo ${LIBRARY_PATH:+:$LIBRARY_PATH} | sed -e 's/:/ -Wl,-rpath=/g'`
*Note* An intel toolchain may also show up in the list. It might however not be functional yet so expect that loading that module might fail.
*Note* An intel toolchain may at some point also show up in the list. It might however not be functional yet so expect that loading that module might fail.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment