From a1b86d91d1a02297337aafa7b245484dac577778 Mon Sep 17 00:00:00 2001 From: gsell Date: Wed, 8 Mar 2023 16:57:00 +0000 Subject: [PATCH] Update README.md --- Compiler/fluka4/README.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/Compiler/fluka4/README.md b/Compiler/fluka4/README.md index 54fc170..d215645 100644 --- a/Compiler/fluka4/README.md +++ b/Compiler/fluka4/README.md @@ -5,12 +5,16 @@ PSI has a institutional license for FLUKA and Flair. Anyway users should registe ## Download https://fluka.cern +https://flair.web.cern.ch/flair/index.html +You have to register before you can download FLUKA! + ## Install ``` -FLUKA4_VERSION=3.0 -FLAIR_VERSION=3.2-0 +FLUKA4_VERSION=3.1 +FLAIR_VERSION=3.2-2 +GEOVIEWER_VERSION=3.2 GCC_VERSION=9.5.0 PYTHON_VERSION=3.9.10 @@ -18,9 +22,9 @@ TCLTK_VERSION=8.6.9 PREFIX="${PMODULES_ROOT}/Compiler/fluka4/${FLUKA4_VERSION}/gcc/${GCC_VERSION}" DISTFILES_DIR='/afs/psi.ch/software/Pmodules/distfiles' -FLUKA_TAR="${DISTFILES_DIR}/fluka-4-${FLUKA4_VERSION}.x86-Linux-gfor${GCC_VERSION/.*}.tar.bz2" -FLAIR_TAR="${DISTFILES_DIR}/flair-${FLAIR_VERSION}.tar.bz2" -GEOVIEWER_TAR="${DISTFILES_DIR}/flair-geoviewer-${FLAIR_VERSION}.tgz" +FLUKA_TAR="${DISTFILES_DIR}/fluka-4-${FLUKA4_VERSION}.x86-Linux-gfor${GCC_VERSION/.*}.tgz" +FLAIR_TAR="${DISTFILES_DIR}/flair-${FLAIR_VERSION}.tgz" +GEOVIEWER_TAR="${DISTFILES_DIR}/flair-geoviewer-${GEOVIEWER_VERSION}.tgz" module load gcc/${GCC_VERSION} Python/${PYTHON_VERSION} TclTk/${TCLTK_VERSION} @@ -34,8 +38,11 @@ mkdir -p "${PREFIX}/flair" && cd "$_" tar --strip-components=1 -xvf "${FLAIR_TAR}" make -# geoviewer: tbw - +# geoviewer: to be tested +tar --strip-components=1 --directory=geoviewer -xvf "${GEOVIEWER_TAR}" +cd geoviewer +make +make DESTDIR="${PREFIX}/flair" install cd "${PREFIX}" ln -s lib lib64