Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 08cd4520 authored by adelmann's avatar adelmann :reminder_ribbon:
Browse files

new isntallation guidlines

parent f6055cde
No related branches found
No related tags found
No related merge requests found
...@@ -4,54 +4,27 @@ ...@@ -4,54 +4,27 @@
# BUILDING OPAL-X on Merlin # BUILDING OPAL-X on Merlin
## Modules needed ## Modules needed OPENMP build
load_ipplomp() { cmake/3.25.2
module purge openmpi/4.1.5_slurm
module use unstable fftw/3.3.10_merlin6
module load cmake/3.25.2 gsl/2.7
module load gcc/11.4.0 # does not work for openmp and mixed module load gcc/12.3.0 H5hut/2.0.0rc6_slurm 11) emacs/29.1
module load openmpi gcc/12.3.0
module load boost boost/1.82.0_slurm
module load fftw gtest/1.13.0-1
module load gtest hdf5/1.10.8_slurm
module load gsl gnutls/3.5.19
module load hdf5
module load H5hut
module load boost ## Clone repo and build opal-x with OPENMP
module load cuda/12.1.1
export BOOST_ROOT=$BOOST_DIR % git clone git@gitlab.psi.ch:OPAL/opal-x/src.git opal-x
export OMP_PROC_BIND=spread % cd opal-x
} % ./gen_OPALrevision
% mkdir build_openmp && cd build_openmp
## build for Kokkos, FEFFTe and IPPL % cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_STANDARD=20 -DENABLE_SOLVERS=ON -DENABLE_FFT=ON -DIPPL_PLATFORMS=openmp
% git clone git@github.com:IPPL-framework/ippl-build-scripts.git
set the correct environment, adjust the path in ITB_DOWNLOAD_DIR
% export ITB_DOWNLOAD_DIR=/data/project/general/isodarUQ/adelmann
% export ITB_SRC_DIR=${ITB_DOWNLOAD_DIR}/downloads
% export ITB_PREFIX=${ITB_DOWNLOAD_DIR}/install
% mkdir -p ${ITB_SRC_DIR}
% mkdir -p ${ITB_PREFIX}
Now you can build serial and with openmp
% ./999-build-everything -t serial --kokkos --heffte --ippl --export -u
% ./999-build-everything -t openmp --enable-openmp --kokkos --heffte --ippl --export -u
here is still a problem with cuda (./999-build-everything -t mixed --enable-cuda --enable-openmp --kokkos --heffte --ippl --export --arch=PASCAL6 -u)
## Checkout OPAL-X
% git clone git@gitlab.psi.ch:OPAL/opal-x/src.git
Change to build-script
401-build-opal -r openmp --export -u
......
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