... | ... | @@ -175,9 +175,7 @@ front-end of LLVM or GCC from one of the package managers. |
|
|
|
|
|
'''
|
|
|
|
|
|
== Setup or build required software
|
|
|
|
|
|
=== Linux @PSI
|
|
|
== Compile __OPAL__ on a Linux system @PSI
|
|
|
|
|
|
The easiest and recommended solution is to use the **Pmodules**
|
|
|
environment available at PSI. Please link:Pmodules[read this
|
... | ... | @@ -193,7 +191,7 @@ meta-modules available, run the command: |
|
|
module use /afs/psi.ch/project/amas/modulefiles/OPAL
|
|
|
----
|
|
|
|
|
|
==== Compiling on Merlin6
|
|
|
=== Compiling on Merlin6
|
|
|
|
|
|
On Merlin6 special version of the modules should be used. These
|
|
|
modules provide a better integration with the SLURM batch system. The
|
... | ... | @@ -223,7 +221,7 @@ module load toolchain/master_slurm |
|
|
|
|
|
'''
|
|
|
|
|
|
==== Other Linux Systems
|
|
|
=== Other Linux Systems
|
|
|
|
|
|
**To compile OPAL 2.0.x or 2.2.x**
|
|
|
|
... | ... | @@ -273,7 +271,7 @@ or |
|
|
module load toolchain/master
|
|
|
----
|
|
|
|
|
|
=== Build the OPAL tool-chain from scratch
|
|
|
== Build the OPAL tool-chain from scratch
|
|
|
|
|
|
If you do not have access to the required software in binary form - either
|
|
|
via a package manager or a module environment - you have to compile
|
... | ... | @@ -285,7 +283,7 @@ tested with, several Linux distributions including Redhat Enterprise |
|
|
Linux 6 & 7, Ubuntu 18 & 20, openSUE leaf 15, macOS 10.12 - 10.15 as
|
|
|
well as with the Windows Services for Linux.
|
|
|
|
|
|
==== The OPAL Tool-chain Builder
|
|
|
=== The OPAL Tool-chain Builder
|
|
|
|
|
|
The OPAL Tool-chain Builder (OTB) is a collection of recipes to build all
|
|
|
required software you need to compile OPAL.
|
... | ... | @@ -302,7 +300,7 @@ or |
|
|
git clone https://gitlab.psi.ch/OPAL/build-recipes.git
|
|
|
--
|
|
|
|
|
|
==== Setting up the environment
|
|
|
=== Setting up the environment
|
|
|
|
|
|
First change into the directory you used in the above Git command. In
|
|
|
the following we assume that you are in this directory.
|
... | ... | @@ -364,7 +362,7 @@ for recipe in "${OTB_RECIPES[@]}"; do ${recipe} || break; done |
|
|
|
|
|
'''
|
|
|
|
|
|
==== Compiling the tool-chain
|
|
|
=== Compiling the tool-chain
|
|
|
|
|
|
**Compiling GCC**
|
|
|
|
... | ... | @@ -403,7 +401,7 @@ and if whether the version fulfil the requirements. |
|
|
|
|
|
'''
|
|
|
|
|
|
==== macOS: Using the tool-chain and Macports, Homebrew or ...
|
|
|
=== macOS: Using the tool-chain and Macports, Homebrew or ...
|
|
|
Most of the required packages are available via Macports, Homebrew or
|
|
|
another package manager. If you want to use them, you should know what
|
|
|
you are doing.
|
... | ... | |