Update README.md
This commit is contained in:
@@ -1 +1,37 @@
|
||||
# FLUKA and Flair module
|
||||
|
||||
PSI has a institutional license for FLUKA and Flair. Anyway users should register.
|
||||
|
||||
## Download
|
||||
|
||||
https://fluka.cern
|
||||
|
||||
|
||||
## Install
|
||||
```
|
||||
FLUKA4_VERSION=2.2
|
||||
FLAIR_VERSION=3.1-15.1
|
||||
|
||||
GCC_VERSION=9.3.0
|
||||
PYTHON_VERSION=3.8.8
|
||||
|
||||
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}.tar.bz2"
|
||||
|
||||
module load gcc/${GCC_VERSION} Python/${PYTHON_VERSION}
|
||||
|
||||
mkdir -p "${PREFIX}" && cd "$_"
|
||||
|
||||
tar --strip-components=1 -xvf "${FLUKA_TAR}"
|
||||
cd src
|
||||
make
|
||||
|
||||
mkdir -p "${PREFIX}/flair" && cd "$_"
|
||||
make
|
||||
```
|
||||
|
||||
## Install FLUKA
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user