Update README.md
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user