Skip to content

non-Fermilab install instructions diverge #4

@rikgran

Description

@rikgran

I did a non-Fermilab install on Duluth SL7 machines, and the steps diverged in ways that were not simply replacing Fermilab specific things with another. The current instructions are a little stale ? Here is my prescription. Literally these are instructions I wrote for Brandon, not for this issue tracker.

First point: on our SL7 system we have our own local build of ROOT6 with most usual options and python3. cmake3 is installed alongside cmake (v2). python3 is installed alongside python (v2).

Will need to get ROOT6 in your path everytime you login. And need it also now to do the build. Could put it in your regular login or a link to it in the working directory you are about to build. I do it by hand still.

[Insert what ${ROOTSYS} really is on the local machine.]
source ${ROOTSYS}/bin/thisroot.sh

The following to create a working directory, to put everything in myworkdir-20211006 or MatAna-20211006 or whatever you like.

mkdir MatAna-20211006
cd MatAna-20211006

Then download the latest from git

git clone https://github.com/MinervaExpt/MAT-MINERvA.git
git clone https://github.com/MinervaExpt/MAT.git
git clone https://github.com/MinervaExpt/UnfoldUtils.git

Make links to 2GB of centralized flux and reweight files. I had to get them by logging into Fermilab once, finding where they were, and copying the set to our local computer. Is there guildance for someone on this step ? It was obvious to me where to find these.

mkdir -p opt/etc
cd opt/etc

ln -s /datalocal/minerva/CentralizedFluxAndReweightFiles
ln -s /datalocal/minerva/CentralizedFluxAndReweightFiles/MATFluxAndReweightFiles
ln -s /datalocal/minerva/CentralizedFluxAndReweightFiles/MParamFiles

cd -
(or cd ../../)

edit MAT-MINERvA/bootstrap/CMakeLists.txt
Duplicate then Comment out the set(FLUX_FILE_DIR …
And in the duplicate version, point to ../etc/CentralizedFluxAndReweightFiles for a relocatable path
or use an absolute path like the original line did.

mkdir -p opt/build
cd opt/build
cmake3 ../../MAT-MINERvA/bootstrap -DCMAKE_INSTALL_PREFIX=pwd/.. -DCMAKE_BUILD_TYPE=Release
make install

cd ../../

Now your own code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions