This repository contains code and documents writing by the DUNE long-baseline physics working group.
My Globes Tool
Install the version of Globes from:
https://dune.bnl.gov/globes/globes-3.2.13-dune1.tar.gz
$ tar -xvf globes-3.2.13-dune1.tar.gz $ cd globes-3.2.13-dune1 $ ./configure --prefix=/path/to/install/globes-3.2.13-dune1 $ make install
Notes:
- This is version 3.2.13 with some additional, required files from 3.1.11.
$ git clone https://github.com/DUNE/lblpwgtools.git $ cd lblpwgtools $ git checkout X.Y.Z
Notes:
- use
git tagto see what tags are available - releases can also be download from https://github.com/DUNE/lblpwgtools/releases
$ cd code/mgt
$ ./waf \
--with-globes=/path/to/install/globes-3.2.13-dune1 \
--with-gsl=/path/to/install/gsl-1.16 \
--prefix=/path/to/install/mgt-X.Y.Z \
configure build install
Notes:
- the
--with-globescan be omitted if theglobes-configscriopt is in yourPATH, likewise for GSL. - the
--prefixandinstallcan be omitted if you just want to copy the resultingtmp/mgtprogram somewhere
Fermilab doesn’t have GSL installed as a system package. Instead if provides it through the Unintelligible Packaging Schizophrenia. So, first corrupt your environment with some action like:
$ source /nusoft/app/externals/setup $ setup gsl v1_16 -q prof
Note, you must do this. Simply knowing where the GSL UPS “product”
is installed and pointing waf at the gsl-config will not work as
Fermilab messes with gsl-config to force it to depend on UPS
environment.
Now build GLoBES:
$ cd /lbne/app/users/bv/ $ wget https://dune.bnl.gov/globes/globes-3.2.13-dune1.tar.gz $ tar -xvf globes-3.2.13-dune1.tar.gz $ cd globes-3.2.13-dune1 $ ./configure --prefix=/lbne/app/users/bv/opt $ make install
Now build MGT. This example installs it along side GLoBES but one may chose another location if desired.
$ cd /lbne/app/users/bv/
$ git clone git@github.com:DUNE/lblpwgtools.git
$ cd lblpwgtools/code/mgt/
$ ./waf --prefix=/lbne/app/users/bv/opt \
--with-globes=/lbne/app/users/bv/opt \
configure build install
If developing, this is your loop:
$ ./waf $ ./tmp/mgt [...]
Or, you can do a full waf install and add the installation bin/ directory to your PATH.
This repository is a fork of and older redmine.