1. Overview
The newest stable version of OPAL is 2022.1.
It might be that a binary package of the latest version is not available for all platforms.
2. Installation of the OPAL binary distribution
The package can be installed wherever you want. Let’s name this directory $PREFIX
.
2.1. On Linux
-
change your working directory to
$PREFIX
-
download OPAL-2022.1.0 for Linux
-
Un-tar the downloaded file:
tar xf OPAL-2022.1.0-1-x86_64-linux.tar.xz
2.2. On macOS
-
change your working directory to
$PREFIX
-
download OPAL-2022.1.0
-
Un-tar the downloaded file and remove the quarantine extended attribute:
tar xf OPAL-2022.1.0-1-x86_64-macos.tar.xz
or
tar xf OPAL-2022.1.0-1-arm-macos.tar.xz
Unset the 'quarantine' attribute:
xattr -dr com.apple.quarantine OPAL-2022.1
3. Running OPAL
Note MPI is included in the OPAL package. Be sure to use the MPI utilities shipped with the OPAL package!
Source the OPAL shell profile. For the time being only sh-like shells - like BASH, ZSH - are supported.
source "$PREFIX/OPAL-2022.1/etc/profile.d/opal.sh"
Now you are ready to run OPAL (assuming you have an input file example.in
):
opal example.in
or
mpirun -np 4 opal example.in