Skip to content

Commit

Permalink
switching to pythia8.3 so that we can use vincia
Browse files Browse the repository at this point in the history
  • Loading branch information
mverwe committed Feb 17, 2021
1 parent a7aa5bb commit e39232c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .pythia8
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/Users/mverweij/soft/pythia8235
/Users/mverweij/soft/pythia8303
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ FFLAGS = -Wall -O2
CXXFLAGS += -std=c++11
LDFLAGS += -std=c++11

FJCONFIG = /Users/mverweij/soft/fastjet-3.3.2/../fastjet332-install/bin/fastjet-config
FJLOC = /Users/mverweij/soft/fastjet-3.3.2/../fastjet332-install
FJCONFIG = /Users/mverweij/soft/fastjet-3.3.3/../fastjet333-install/bin/fastjet-config
FJLOC = /Users/mverweij/soft/fastjet-3.3.3/../fastjet333-install

INCLUDE += `$(FJCONFIG) --cxxflags`
LIBRARIES += -L$(FJLOC)/lib -lRecursiveTools `$(FJCONFIG) --libs --plugins` -lfastjetcontribfragile

PYTHIA8LOCATION = /Users/mverweij/soft/pythia8235
PYTHIA8LOCATION = /Users/mverweij/soft/pythia8303
INCLUDE += -I$(PYTHIA8LOCATION)/include
LIBRARIES += -L$(PYTHIA8LOCATION)/lib -lpythia8
LIBRARIES += -L$(PYTHIA8LOCATION)/lib -Wl,-rpath,$(PYTHIA8LOCATION)/lib -lpythia8 -ldl
LIBRARIES += -L/usr/local/Cellar/gsl/2.5/lib -lgsl -lgslcblas

INCLUDE += -I/usr/local/Cellar/gsl/2.5/include
Expand Down
4 changes: 2 additions & 2 deletions PU14/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ FFLAGS = -Wall -O2
CXXFLAGS += -std=c++11
LDFLAGS += -std=c++11

FJCONFIG = /Users/mverweij/soft/fastjet-3.3.2/../fastjet332-install/bin/fastjet-config
FJLOC = /Users/mverweij/soft/fastjet-3.3.2/../fastjet332-install
FJCONFIG = /Users/mverweij/soft/fastjet-3.3.3/../fastjet333-install/bin/fastjet-config
FJLOC = /Users/mverweij/soft/fastjet-3.3.3/../fastjet333-install

INCLUDE += `$(FJCONFIG) --cxxflags`
LIBRARIES += -L$(FJLOC)/lib -lRecursiveTools `$(FJCONFIG) --libs --plugins` -lfastjetcontribfragile
Expand Down
12 changes: 6 additions & 6 deletions README_ForBScStudents.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ rootsetup=$PWD/root/bin/thisroot.sh
echo $rootsetup >> ~/.bashrc
```

### Install PYTHIA8
### Install PYTHIA8.3
```sh
wget http://home.thep.lu.se/~torbjorn/pythia8/pythia8235.tgz
tar xvfz pythia8235.tgz
cd pythia8235
wget http://home.thep.lu.se/~torbjorn/pythia8/pythia8303.tgz
tar xvfz pythia8303.tgz
cd pythia8303
./configure
make
PYTHIA=$PWD
Expand All @@ -77,7 +77,7 @@ make install
FASTJET=$PWD/../fastjet333-install
cd ..

export FJ_CONTRIB_VER=1.042
export FJ_CONTRIB_VER=1.045
curl -Lo source.tar.gz http://fastjet.hepforge.org/contrib/downloads/fjcontrib-"$FJ_CONTRIB_VER".tar.gz
tar xzf source.tar.gz
cd fjcontrib-"$FJ_CONTRIB_VER"
Expand All @@ -93,7 +93,7 @@ cd ..
```sh
git clone https://github.com/mverwe/JetToyHI.git
cd JetToyHI
git pull --rebase origin forbsc2
git pull --rebase origin pyt83

echo `$FASTJET/bin/fastjet-config --prefix` > .fastjet
echo $PYTHIA > .pythia8
Expand Down
2 changes: 1 addition & 1 deletion scripts/mkcxx.pl
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
$makefile.="
PYTHIA8LOCATION = $pythia8location
INCLUDE += -I\$(PYTHIA8LOCATION)/include
LIBRARIES += -L\$(PYTHIA8LOCATION)/lib -lpythia8
LIBRARIES += -L\$(PYTHIA8LOCATION)/lib -Wl,-rpath,\$(PYTHIA8LOCATION)/lib -lpythia8 -ldl
";
}

Expand Down

0 comments on commit e39232c

Please sign in to comment.