Skip to content

Latest commit

 

History

History
106 lines (74 loc) · 2.76 KB

README.org

File metadata and controls

106 lines (74 loc) · 2.76 KB

Long baseline physics working group tools

This repository contains code and documents writing by the DUNE long-baseline physics working group.

Code

MGT

My Globes Tool

Prerequisites

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.

Get Source

$ git clone https://github.com/DUNE/lblpwgtools.git
$ cd lblpwgtools
$ git checkout X.Y.Z

Notes:

Build mgt

$ 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-globes can be omitted if the globes-config scriopt is in your PATH, likewise for GSL.
  • the --prefix and install can be omitted if you just want to copy the resulting tmp/mgt program somewhere

Build under Fermilab UPS

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 [email protected]: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.

History

This repository is a fork of and older redmine.