Project

General

Profile

Bug #138

LHAPDF config fails with setup_nova_fnal.csh

Added by Alexandre Pereira Sousa almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
High
Start date:
11/13/2009
Due date:
% Done:

0%

Estimated time:
Duration:

Description

After installing the software on a local machine using novainst, tried to use a modified version of setup_nova_fnal.csh. Output was:

shell> source setup_nova_fnal.csh
shell> lhapdf_path: Undefined variable.

Traced problem to contents of file:
$NOVAHOME/nova-trunk/lcgcmt/LCG_GeneratorsInterfaces/lhapdf/cmt/requirements

where the line:
set LHAPATH $(lhapdf_path)/share/PDFsets

should read:
set LHAPATH $(lhapdf_home)/share/PDFsets

Suggest updating
$NOVAHOME/nova-trunk/lcgcmt/LCG_GeneratorsInterfaces/lhapdf/cmt/requirements

to solve the problem

This bug also happens silently for 'setup_nova_fnal.sh".
LHAPATH is used by GENIE to locate PDF sets, so this shoudl be fixed.

Note: From LHAPDF version 5.7.1 onwards the PDF set files are no longer bundled in the tarball, so the follwoing is necessary to get the PDF sets in your installation (paths will vary depending on your machine's architecture):

shell> cd $NOVAHOME/external/MCGenerators/lhapdf/5.8.0/i386-darwin-gcc40-dbg/bin
shell> ./lhapdf-getdata --all --dest=$NOVAHOME/external/MCGenerators/lhapdf/5.8.0/i386-darwin-gcc40-dbg/share/PDFsets

History

#1 Updated by Alexandre Pereira Sousa almost 10 years ago

  • Status changed from New to Resolved

#2 Updated by Xinchun Tian almost 10 years ago

  • Status changed from Resolved to Closed

With r153, the LHAPDF PDFsets will be automatically installed, so I close this issue.



Also available in: Atom PDF