forked from alisw/alidist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aligenerators.sh
51 lines (50 loc) · 1.27 KB
/
aligenerators.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package: AliGenerators
version: "v%(year)s%(month)s%(day)s"
requires:
- AMPT
- CRMC
- DPMJET
- EPOS
- Herwig
- JEWEL
- POWHEG
- pythia
- pythia6
- SHERPA
- ThePEG
- AGILe
- Sacrifice
- aligenmc
- FONLL
build_requires:
- EPOS-test
---
#!/bin/bash -ex
# Modulefile
MODULEDIR="$INSTALLROOT/etc/modulefiles"
MODULEFILE="$MODULEDIR/$PKGNAME"
mkdir -p "$MODULEDIR"
cat > "$MODULEFILE" <<EoF
#%Module1.0
proc ModulesHelp { } {
global version
puts stderr "ALICE Modulefile for $PKGNAME $PKGVERSION-@@PKGREVISION@$PKGHASH@@"
}
set version $PKGVERSION-@@PKGREVISION@$PKGHASH@@
module-whatis "ALICE Modulefile for $PKGNAME $PKGVERSION-@@PKGREVISION@$PKGHASH@@"
# Dependencies
module load BASE/1.0 \
AGILe/$AGILE_VERSION-$AGILE_REVISION \
aligenmc/$ALIGENMC_VERSION-$ALIGENMC_REVISION \
AMPT/$AMPT_VERSION-$AMPT_REVISION \
CRMC/$CRMC_VERSION-$CRMC_REVISION \
DPMJET/$DPMJET_VERSION-$DPMJET_REVISION \
JEWEL/$JEWEL_VERSION-$JEWEL_REVISION \
Herwig/$HERWIG_VERSION-$HERWIG_REVISION \
POWHEG/$POWHEG_VERSION-$POWHEG_REVISION \
pythia/$PYTHIA_VERSION-$PYTHIA_REVISION \
pythia6/$PYTHIA6_VERSION-$PYTHIA6_REVISION \
Sacrifice/$SACRIFICE_VERSION-$SACRIFICE_REVISION \
SHERPA/$SHERPA_VERSION-$SHERPA_REVISION \
ThePEG/$THEPEG_VERSION-$THEPEG_REVISION
EoF