Open tkoskela opened 9 months ago
Those steps should be similar for all of the above target machines.
mkdir ~/Excalibur
cd ~/Excalibur
git clone https://github.com/ukri-excalibur/excalibur-tests.git
For [Myriad, Kathleen, Young]
we have to use a more recent compiler suite than the currently default gcc 4.9.2
, and a newer python
module unload -f compilers gcc-libs mpi
module load beta-modules
module load gcc-libs/10.2.0 compilers/gnu/10.2.0
module load python3
Create a venv
python3 -m venv ./EXCALIBUR
. ./EXCALIBUR/bin/activate
Get and build spack
git clone -c feature.manyFiles=true https://github.com/spack/spack.git
. ./spack/share/spack/setup-env.sh
which spack
Should reply ~/Excalibur/spack/bin/spack
spack --version
Should reply with something like
0.22.0.dev0 (88e738c34346031ce875fdd510dd2251aa63dad7)
Get latest pip
, as the one currently provided snags against our .toml
file to be used below
python -m pip install --upgrade pip
....
Successfully installed pip-23.3.1
Finally, cd
to our codebase and install via pip
; this will also install a compatible version of
ReFrame
from PyPi
.
cd excalibur-tests
pip install -e .
[ ] Build / install LIKWID with perf_event backend instead of native access steps in several machines:
Those steps should be similar for all of the above target machines.
For [Myriad, Kathleen, Young]
we have to use a more recent compiler suite than the currently default gcc 4.9.2
, and a newer python
module unload -f compilers gcc-libs mpi
module load beta-modules
module load gcc-libs/10.2.0 compilers/gnu/10.2.0
module load python3
cd Excalibur/
. ./EXCALIBUR/bin/activate
likwid
in a convenient place
mkdir dloads ; cd dloads
VERSION=stable
wget http://ftp.fau.de/pub/likwid/likwid-$VERSION.tar.gz
tar -xaf likwid-$VERSION.tar.gz
cd cd likwid-5.3.0/
vi config.mk # configure build, e.g. change installation prefix and architecture flags
# Path were to install likwid
# PREFIX ?= /usr/local#NO SPACE
PREFIX ?= /home/ucaseko/Excalibur/likwid-5.3.0#NO SPACE
# Set the default mode for MSR access.
# This can usually be overriden on the commandline.
# Valid values are: direct, accessdaemon and perf_event
# ACCESSMODE = accessdaemon#NO SPACE
ACCESSMODE = perf_event#NO SPACE
# Build Fortran90 module interface for Marker API. Adopt Fortran compiler
# in ./make/include_<COMPILER>.mk if necessary. Default: ifort (even for 25 # COMPILER=GCC)
FORTRAN_INTERFACE = false#NO SPACE
# Instrument likwid-bench with Marker API calls for use with likwid-perfctr
INSTRUMENT_BENCH = true#NO SPACE
make
# sudo make install # sudo required to install the access daemon with proper permissions
make install # with my edits in config.mk
Instructions in LIKWID wiki
Document steps to install in a comment to this issue.