diff --git a/Compiler/flair-geoviewer/build b/Compiler/flair-geoviewer/build new file mode 100755 index 0000000..2641772 --- /dev/null +++ b/Compiler/flair-geoviewer/build @@ -0,0 +1,9 @@ +#!/usr/bin/env modbuild +pbuild::compile() { + make +} + +pbuild::install() { + make DESTDIR="${FLAIR_PREFIX}" install +} + diff --git a/Compiler/flair-geoviewer/files/config.yaml b/Compiler/flair-geoviewer/files/config.yaml new file mode 100644 index 0000000..b2a68e8 --- /dev/null +++ b/Compiler/flair-geoviewer/files/config.yaml @@ -0,0 +1,24 @@ +--- +# yamllint disable rule:line-length +format: 1 +flair-geoviewer: + defaults: + group: Compiler + overlay: base + relstage: unstable + compile_in_sourcetree: true + systems: [rhel7, rhel8, rhel9] + docfiles: [AUTHORS, LICENSE, NEWS, README] + urls: + - url: https://flair.web.cern.ch/flair/download/flair-geoviewer-3.3-1.tgz + shasums: + flair-geoviewer-3.3-1.tgz: 3c18747abac21907e90c3ed1759b73ca53c987f12216ba8ee9919a199c0dca26 + + versions: + 3.3.1: + variants: + - systems: [merlin-*, ra-*] + group_deps: + compiler: {gcc: [13.1.0]} + relstage: unstable + build_requires: ['flair/3.3.1', 'TclTk/8.6.9'] diff --git a/Compiler/flair-geoviewer/modulefile b/Compiler/flair-geoviewer/modulefile new file mode 100644 index 0000000..ae7ca95 --- /dev/null +++ b/Compiler/flair-geoviewer/modulefile @@ -0,0 +1,18 @@ +#%Module1.0 + +module-whatis "Flair by CERN: Advanced graphical user interface for particle simulation programs" +module-url "http://flair.web.cern.ch/flair/index.html" +module-license "[http://flair.web.cern.ch/flair/license.html](http://flair.web.cern.ch/flair/license.html)" +module-maintainer "Elsa Germann " +module-help " +/fleə(r)/ n [U,C] natural or instinctive ability to do something well, to select or recognize what is best, more useful, etc. + +flair is an advanced user friendly interface for several Monte Carlo codes. Originally it was developed for FLUKA, where its unique features strongly contributed to the success of both codes FLUKA and flair. From version 3 the interface was separated from the functionality permitting an easy integration of other simulation packages. + +The current line of development is to make flair a unique tool for performing calculations with the same input using FLUKA, Geant4, PENELOPE, and other simulations engines. +Presently is fully supporting the CERN FLUKA version and there is ongoing work to support: + +Moira a Geant4 based application, permitting the user to run with Geant4 FLUKA equivalent inputs with the same geometry, materials, scoring,... + +Other codes like MCNP, PHITS, PENELOPE could be added in the future. +" diff --git a/Compiler/flair/build b/Compiler/flair/build new file mode 100755 index 0000000..c841ef1 --- /dev/null +++ b/Compiler/flair/build @@ -0,0 +1,9 @@ +#!/usr/bin/env modbuild +pbuild::compile() { + make +} + +pbuild::install() { + make DESTDIR="${PREFIX}" install +} + diff --git a/Compiler/flair/files/config.yaml b/Compiler/flair/files/config.yaml new file mode 100644 index 0000000..4476db6 --- /dev/null +++ b/Compiler/flair/files/config.yaml @@ -0,0 +1,23 @@ +--- +# yamllint disable rule:line-length +format: 1 +flair: + defaults: + group: Compiler + overlay: base + relstage: unstable + compile_in_sourcetree: true + systems: [rhel7, rhel8, rhel9] + docfiles: [AUTHORS, LICENSE, NEWS, README] + urls: + - url: http://flair.web.cern.ch/flair/download/flair-3.3-1.tgz + shasums: + flair-3.3-1.tgz: 2bc9b02fd2d9ddb7eed96938314b9c73f0b6a844aa1af15728650eaf81e777bd + + versions: + 3.3.1: + variants: + - systems: [merlin-*, ra-*] + group_deps: + compiler: {gcc: [13.1.0]} + relstage: unstable diff --git a/Compiler/flair/modulefile b/Compiler/flair/modulefile new file mode 100644 index 0000000..ae7ca95 --- /dev/null +++ b/Compiler/flair/modulefile @@ -0,0 +1,18 @@ +#%Module1.0 + +module-whatis "Flair by CERN: Advanced graphical user interface for particle simulation programs" +module-url "http://flair.web.cern.ch/flair/index.html" +module-license "[http://flair.web.cern.ch/flair/license.html](http://flair.web.cern.ch/flair/license.html)" +module-maintainer "Elsa Germann " +module-help " +/fleə(r)/ n [U,C] natural or instinctive ability to do something well, to select or recognize what is best, more useful, etc. + +flair is an advanced user friendly interface for several Monte Carlo codes. Originally it was developed for FLUKA, where its unique features strongly contributed to the success of both codes FLUKA and flair. From version 3 the interface was separated from the functionality permitting an easy integration of other simulation packages. + +The current line of development is to make flair a unique tool for performing calculations with the same input using FLUKA, Geant4, PENELOPE, and other simulations engines. +Presently is fully supporting the CERN FLUKA version and there is ongoing work to support: + +Moira a Geant4 based application, permitting the user to run with Geant4 FLUKA equivalent inputs with the same geometry, materials, scoring,... + +Other codes like MCNP, PHITS, PENELOPE could be added in the future. +" diff --git a/Compiler/fluka4/build b/Compiler/fluka4/build new file mode 100755 index 0000000..d297185 --- /dev/null +++ b/Compiler/fluka4/build @@ -0,0 +1,16 @@ +#!/usr/bin/env modbuild + +pbuild::pre_prep(){ + SRC_DIR="${PREFIX}" + BUILD_DIR="${PREFIX}" +} + +pbuild::compile(){ + cd src + make -j "${JOBS}" +} + +pbuild::install() { + : +} + diff --git a/Compiler/fluka4/build-brond b/Compiler/fluka4/build-brond new file mode 100755 index 0000000..92f7684 --- /dev/null +++ b/Compiler/fluka4/build-brond @@ -0,0 +1,14 @@ +#!/usr/bin/env modbuild + +pbuild::pre_prep(){ + SRC_DIR="${PREFIX}" + BUILD_DIR="${PREFIX}" +} + +pbuild::compile(){ + : +} + +pbuild::install() { + : +} diff --git a/Compiler/fluka4/build-cendl b/Compiler/fluka4/build-cendl new file mode 100755 index 0000000..92f7684 --- /dev/null +++ b/Compiler/fluka4/build-cendl @@ -0,0 +1,14 @@ +#!/usr/bin/env modbuild + +pbuild::pre_prep(){ + SRC_DIR="${PREFIX}" + BUILD_DIR="${PREFIX}" +} + +pbuild::compile(){ + : +} + +pbuild::install() { + : +} diff --git a/Compiler/fluka4/build-endf b/Compiler/fluka4/build-endf new file mode 100755 index 0000000..92f7684 --- /dev/null +++ b/Compiler/fluka4/build-endf @@ -0,0 +1,14 @@ +#!/usr/bin/env modbuild + +pbuild::pre_prep(){ + SRC_DIR="${PREFIX}" + BUILD_DIR="${PREFIX}" +} + +pbuild::compile(){ + : +} + +pbuild::install() { + : +} diff --git a/Compiler/fluka4/build-flair b/Compiler/fluka4/build-flair new file mode 100755 index 0000000..02e6124 --- /dev/null +++ b/Compiler/fluka4/build-flair @@ -0,0 +1,15 @@ +#!/usr/bin/env modbuild + +pbuild::pre_prep(){ + SRC_DIR="${PREFIX}/flair" + BUILD_DIR="${PREFIX}/flair" +} + +pbuild::compile(){ + make -j "${JOBS}" +} + +pbuild::install() { + : +} + diff --git a/Compiler/fluka4/build-flair-geoviewer b/Compiler/fluka4/build-flair-geoviewer new file mode 100755 index 0000000..87c7802 --- /dev/null +++ b/Compiler/fluka4/build-flair-geoviewer @@ -0,0 +1,15 @@ +#!/usr/bin/env modbuild + +pbuild::pre_prep(){ + SRC_DIR="${PREFIX}/geoviewer" + BUILD_DIR="${PREFIX}/geoviewer" +} + +pbuild::compile(){ + make -j "${JOBS}" +} + +pbuild::install() { + make DESTDIR="${PREFIX}/flair" install +} + diff --git a/Compiler/fluka4/build-jeff b/Compiler/fluka4/build-jeff new file mode 100755 index 0000000..92f7684 --- /dev/null +++ b/Compiler/fluka4/build-jeff @@ -0,0 +1,14 @@ +#!/usr/bin/env modbuild + +pbuild::pre_prep(){ + SRC_DIR="${PREFIX}" + BUILD_DIR="${PREFIX}" +} + +pbuild::compile(){ + : +} + +pbuild::install() { + : +} diff --git a/Compiler/fluka4/build-jendl b/Compiler/fluka4/build-jendl new file mode 100755 index 0000000..92f7684 --- /dev/null +++ b/Compiler/fluka4/build-jendl @@ -0,0 +1,14 @@ +#!/usr/bin/env modbuild + +pbuild::pre_prep(){ + SRC_DIR="${PREFIX}" + BUILD_DIR="${PREFIX}" +} + +pbuild::compile(){ + : +} + +pbuild::install() { + : +} diff --git a/Compiler/fluka4/files/config.yaml b/Compiler/fluka4/files/config.yaml new file mode 100644 index 0000000..7b55c27 --- /dev/null +++ b/Compiler/fluka4/files/config.yaml @@ -0,0 +1,242 @@ +--- +# yamllint disable rule:line-length +format: 1 +fluka4: + defaults: + group: Compiler + overlay: base + relstage: unstable + compile_in_sourcetree: true + systems: [.*] + download_dir: /afs/psi.ch/software/Pmodules/protected/fluka + urls: + - url: none + name: fluka-4-${V_PKG}.x86-Linux-gfor9.tgz + shasums: + fluka-4-4.0.x86-Linux-gfor9.tgz: bcc303b96026b91f6d88d7a5ec274e31619562833330be93a992cd3c7e511eba + + versions: + 4.0: + config: + group_deps: + compiler: {gcc: [9.5.0]} + relstage: unstable + build_requires: [] + runtime_deps: ['TclTk/8.6.9', 'Python/3.9.10', 'gnuplot/5.4.10'] + sub_packages: + - name: flair + version: 3.3-1 + build_args: + - --disable-cleanup + - -f + - name: flair-geoviewer + version: 3.3-1 + build_args: + - --disable-cleanup + - -f + - name: jeff + version: 3.3-1-1 + build_args: + - --disable-cleanup + - -f + - name: endf + version: viii0-1.0 + build_args: + - --disable-cleanup + - -f + - name: jendl + version: 4.0u-1.0 + build_args: + - --disable-cleanup + - -f + - name: cendl + version: 31-1.0 + build_args: + - --disable-cleanup + - -f + - name: brond + version: 3.1-1.0 + build_args: + - --disable-cleanup + - -f + + 4.0_beta: + config: + group_deps: + compiler: {gcc: [9.5.0]} + relstage: unstable + build_requires: [] + runtime_deps: ['TclTk/8.6.9', 'Python/3.9.10', 'gnuplot/5.4.10'] + sub_packages: + - name: flair + version: 3.x-3.5 + build_args: + - --disable-cleanup + - -f + - name: flair-geoviewer + version: 3.x-3.5 + build_args: + - --disable-cleanup + - -f + - name: jeff + version: 3.3-1-1 + build_args: + - --disable-cleanup + - -f + - name: endf + version: viii0-1.0 + build_args: + - --disable-cleanup + - -f + - name: jendl + version: 4.0u-1.0 + build_args: + - --disable-cleanup + - -f + - name: cendl + version: 31-1.0 + build_args: + - --disable-cleanup + - -f + - name: brond + version: 3.1-1.0 + build_args: + - --disable-cleanup + - -f + + 4.1_beta1: + config: + group: Tools + build_requires: [] + runtime_deps: ['gcc/9.5.0', 'TclTk/8.6.9', 'Python/3.9.10', 'gnuplot/5.4.10'] + sub_packages: + - name: flair + version: 3.x-5 + build_args: + - --disable-cleanup + - -f + - name: flair-geoviewer + version: 3.x-5 + build_args: + - --disable-cleanup + - -f + - name: jeff + version: 3.3-1-1 + build_args: + - --disable-cleanup + - -f + - name: endf + version: viii0-1.0 + build_args: + - --disable-cleanup + - -f + - name: jendl + version: 4.0u-1.0 + build_args: + - --disable-cleanup + - -f + - name: cendl + version: 31-1.0 + build_args: + - --disable-cleanup + - -f + - name: brond + version: 3.1-1.0 + build_args: + - --disable-cleanup + - -f + +jeff: + type: sub_package + defaults: + urls: + - url: https://flukafiles.web.cern.ch/flukafiles/neutron/fluka_pw_$P-$V.tar.gz + strip_dirs: 0 + shasums: + fluka_pw_jeff-3.3-1-1.tar.gz: 48810cab92bc79b241b306390f88b5fc1333363e85fdd0d9317263ba8e29ed8b + versions: + 3.3-1-1: + +endf: + defaults: + urls: + - url: https://flukafiles.web.cern.ch/flukafiles/neutron/fluka_pw_$P-$V.tgz + strip_dirs: 0 + shasums: + fluka_pw_endf-viii0-1.0.tgz: e26433c9f548c4477b5c47a1929d33ce4a823fa326703d3a52dfa9161f9ae1b9 + versions: + viii0-1.0: + +jendl: + defaults: + urls: + - url: https://flukafiles.web.cern.ch/flukafiles/neutron/fluka_pw_$P-$V.tgz + strip_dirs: 0 + shasums: + fluka_pw_jendl-4.0u-1.0.tgz: 21d5e2676ae26946df98869bd1d95f4f34edb53488fb40e5c1a8ef0c743f5f6e + versions: + 4.0u-1.0: + +cendl: + defaults: + urls: + - url: https://flukafiles.web.cern.ch/flukafiles/neutron/fluka_pw_$P-$V.tgz + strip_dirs: 0 + shasums: + fluka_pw_cendl-31-1.0.tgz: d64916e35bfa6337463d01b3596ccd57b8f8b5c2e8879138ef7be14aff2b49d3 + versions: + 31-1.0: + +brond: + defaults: + urls: + - url: https://flukafiles.web.cern.ch/flukafiles/neutron/fluka_pw_$P-$V.tgz + strip_dirs: 0 + shasums: + fluka_pw_brond-3.1-1.0.tgz: c88ba7cde8ccf1c59b49e1138cc06cfd0b2b84f50a67d1dd9a29f104633b8a72 + versions: + 3.1-1.0: + +flair: + defaults: + urls: + - url: http://flair.web.cern.ch/flair/download/flair-$V.tgz + shasums: + flair-3.3-1.tgz: 2bc9b02fd2d9ddb7eed96938314b9c73f0b6a844aa1af15728650eaf81e777bd + + versions: + 3.3-1: + config: + build_requires: ['gcc/9.5.0', 'Python/3.9.10'] + 3.x-3.5: + config: + build_requires: ['gcc/9.5.0', 'Python/3.9.10'] + urls: + - url: https://cernbox.cern.ch/remote.php/dav/public-files/m87gnQjIkI4dEls/flair-3.x-3.5.tgz + 3.x-5: + config: + build_requires: ['gcc/9.5.0', 'Python/3.9.10'] + urls: + - url: https://cernbox.cern.ch/remote.php/dav/public-files/m87gnQjIkI4dEls/flair-3.x-5.tgz + +flair-geoviewer: + defaults: + urls: + - url: https://flair.web.cern.ch/flair/download/flair-geoviewer-$V.tgz + shasums: + flair-geoviewer-3.3-1.tgz: 3c18747abac21907e90c3ed1759b73ca53c987f12216ba8ee9919a199c0dca26 + + versions: + 3.3-1: + config: + build_requires: ['gcc/9.5.0', 'Python/3.9.10', 'TclTk/8.6.9'] + 3.x-3.5: + config: + build_requires: ['gcc/9.5.0', 'Python/3.9.10', 'TclTk/8.6.9'] + urls: + - url: https://cernbox.cern.ch/remote.php/dav/public-files/m87gnQjIkI4dEls/flair-geoviewer-3.x-3.5.tgz + 3.x-5: + config: + build_requires: ['gcc/9.5.0', 'Python/3.9.10', 'TclTk/8.6.9'] + urls: + - url: https://cernbox.cern.ch/remote.php/dav/public-files/m87gnQjIkI4dEls/flair-geoviewer-3.x-5.tgz diff --git a/Compiler/fluka4/modulefiles b/Compiler/fluka4/modulefile similarity index 100% rename from Compiler/fluka4/modulefiles rename to Compiler/fluka4/modulefile