Dear Experts,
While preparing for next big productions in CMS with MG242 and LHAPDF621 (which contains several necessary PDF sets needed by us), we met with comipling errors as below, which seems to be related to LHAPDF compatability with MG, which was upgraded to 6.2.1 from 6.1.6a. Would you please have a check?
(What we tried is a simple LO process)
Thanks!
Best,
Qiang
[0, done, 1, param, 2, run, enter path]
>Generating gridpack with run name pilotrun
survey pilotrun --accuracy=0.01 --points=2000 --iterations=8 --gridpack=.true.
INFO: compile directory
INFO: Using LHAPDF v6.2.1 interface for PDFs
The parameter ptonium is not supported anymore this parameter will be ignored.
The parameter etaonium is not supported anymore this parameter will be ignored.
compile Source Directory
Error detected in "generate_events pilotrun"
write debug file /afs/cern.ch/work/q/qili/mg25x/new/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_LO/wplustest_4f_LO_gridpack/work/processtmp/pilotrun_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
MadGraph5Error : A compilation Error occurs when trying to compile /afs/cern.ch/work/q/qili/mg25x/new/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_LO/wplustest_4f_LO_gridpack/work/processtmp/Source.
The compilation fails with the following output message:
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o StringCast.o StringCast.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o ranmar.o ranmar.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o alfas_functions_lhapdf.o alfas_functions_lhapdf.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o transpole.o transpole.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o invarients.o invarients.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o hfill.o hfill.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o pawgraphs.o pawgraphs.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o ran1.o ran1.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o rw_events.o rw_events.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o rw_routines.o rw_routines.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o kin_functions.o kin_functions.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o open_file.o open_file.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o basecode.o basecode.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o setrun.o setrun.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o run_printout.o run_printout.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o dgauss.o dgauss.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o readgrid.o readgrid.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o getissud.o getissud.f
cd DHELAS; make
make[1]: Entering directory `/afs/cern.ch/work/q/qili/mg25x/new/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_LO/wplustest_4f_LO_gridpack/work/processtmp/Source/DHELAS'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o aloha_functions.o aloha_functions.f
cd PDF; make
make[1]: Entering directory `/afs/cern.ch/work/q/qili/mg25x/new/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_LO/wplustest_4f_LO_gridpack/work/processtmp/Source/PDF'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o pdfwrap_lhapdf.o pdfwrap_lhapdf.f
cd MODEL; make
make[1]: Entering directory `/afs/cern.ch/work/q/qili/mg25x/new/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_LO/wplustest_4f_LO_gridpack/work/processtmp/Source/MODEL'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o couplings.o couplings.f
cd CERNLIB; make
make[1]: Entering directory `/afs/cern.ch/work/q/qili/mg25x/new/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_LO/wplustest_4f_LO_gridpack/work/processtmp/Source/CERNLIB'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o DiscreteSampler.o DiscreteSampler.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o abend.o abend.f
ar cru ../lib/libgeneric.a alfas_functions_lhapdf.o transpole.o invarients.o hfill.o pawgraphs.o ran1.o rw_events.o rw_routines.o kin_functions.o open_file.o basecode.o setrun.o run_printout.o dgauss.o readgrid.o getissud.o
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o dlsqp2.o dlsqp2.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o lha_read.o lha_read.f
g++ -O -O3 -I/cvmfs/cms.cern.ch/slc6_amd64_gcc481/external/lhapdf/6.2.1/include -c -o pdf_lhapdf6.o pdf_lhapdf6.cc
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o lenocc.o lenocc.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o printout.o printout.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o mtlprt.o mtlprt.f
ranlib ../lib/libgeneric.a
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o mtlset.o mtlset.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o rw_para.o rw_para.f
pdf_lhapdf6.cc:44:11: error: 'boost' does not name a type
typedef boost::shared_ptr<LHAPDF::PDF> PDFPtr;
^
pdf_lhapdf6.cc:102:11: error: 'PDFPtr' does not name a type
const PDFPtr member(int mem) {
^
pdf_lhapdf6.cc:111:11: error: 'PDFPtr' does not name a type
const PDFPtr activemember() {
^
pdf_lhapdf6.cc:126:14: error: 'PDFPtr' was not declared in this scope
map<int, PDFPtr> members;
^
pdf_lhapdf6.cc:126:20: error: template argument 2 is invalid
map<int, PDFPtr> members;
^
pdf_lhapdf6.cc:126:20: error: template argument 4 is invalid
pdf_lhapdf6.cc: In member function 'void lhapdf_amc::PDFSetHandler::loadMember(int)':
pdf_lhapdf6.cc:86:19: error: request for member 'find' in '((lhapdf_amc::PDFSetHandler*)this)->lhapdf_amc::PDFSetHandler::members', which is of non-class type 'int'
if (members.find(mem) == members.end())
^
pdf_lhapdf6.cc:86:40: error: request for member 'end' in '((lhapdf_amc::PDFSetHandler*)this)->lhapdf_amc::PDFSetHandler::members', which is of non-class type 'int'
if (members.find(mem) == members.end())
^
pdf_lhapdf6.cc:87:20: error: invalid types 'int[int]' for array subscript
members[mem] = PDFPtr(LHAPDF::mkPDF(setname, mem));
^
pdf_lhapdf6.cc:87:58: error: 'PDFPtr' was not declared in this scope
members[mem] = PDFPtr(LHAPDF::mkPDF(setname, mem));
^
pdf_lhapdf6.cc: In member function 'void lhapdf_amc::PDFSetHandler::unloadMember(int)':
pdf_lhapdf6.cc:93:15: error: request for member 'erase' in '((lhapdf_amc::PDFSetHandler*)this)->lhapdf_amc::PDFSetHandler::members', which is of non-class type 'int'
members.erase(mem);
^
pdf_lhapdf6.cc:94:37: error: request for member 'empty' in '((lhapdf_amc::PDFSetHandler*)this)->lhapdf_amc::PDFSetHandler::members', which is of non-class type 'int'
const int nextmem = (!members.empty()) ? members.begin()->first : 0;
^
pdf_lhapdf6.cc:94:56: error: request for member 'begin' in '((lhapdf_amc::PDFSetHandler*)this)->lhapdf_amc::PDFSetHandler::members', which is of non-class type 'int'
const int nextmem = (!members.empty()) ? members.begin()->first : 0;
^
pdf_lhapdf6.cc: In function 'std::string lhaglue_get_current_pdf(int)':
pdf_lhapdf6.cc:144:39: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
return lhapdf_amc::ACTIVESETS[nset].activemember()->set().name() + " (" +
^
pdf_lhapdf6.cc:145:49: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
LHAPDF::to_str(lhapdf_amc::ACTIVESETS[nset].activemember()->lhapdfID()) + ")";
^
pdf_lhapdf6.cc: In function 'void lhapdf_getversion_(char*, size_t)':
pdf_lhapdf6.cc:156:35: error: 'strncpy' was not declared in this scope
strncpy(s, LHAPDF_VERSION, len);
^
pdf_lhapdf6.cc: In function 'void lhapdf_getpdfsetlist_(char*, size_t)':
pdf_lhapdf6.cc:162:19: error: expected primary-expression before 'const'
BOOST_FOREACH(const string& setname, LHAPDF::availablePDFSets()) {
^
pdf_lhapdf6.cc:162:68: error: 'BOOST_FOREACH' was not declared in this scope
BOOST_FOREACH(const string& setname, LHAPDF::availablePDFSets()) {
^
pdf_lhapdf6.cc:162:70: error: expected ';' before '{' token
BOOST_FOREACH(const string& setname, LHAPDF::availablePDFSets()) {
^
pdf_lhapdf6.cc:166:36: error: 'strncpy' was not declared in this scope
strncpy(s, liststr.c_str(), len);
^
pdf_lhapdf6.cc: In function 'void getlhapdfversion_(char*, size_t)':
pdf_lhapdf6.cc:180:35: error: 'strncpy' was not declared in this scope
strncpy(s, LHAPDF_VERSION, len);
^
pdf_lhapdf6.cc: In function 'void setpdfpath_(const char*, size_t)':
pdf_lhapdf6.cc:205:23: error: 'strncpy' was not declared in this scope
strncpy(s2, s, len);
^
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o model_functions.o model_functions.f
pdf_lhapdf6.cc: In function 'void getdatapath_(char*, size_t)':
pdf_lhapdf6.cc:213:19: error: expected primary-expression before 'const'
BOOST_FOREACH(const string& path, LHAPDF::paths()) {
^
pdf_lhapdf6.cc:213:54: error: 'BOOST_FOREACH' was not declared in this scope
BOOST_FOREACH(const string& path, LHAPDF::paths()) {
^
pdf_lhapdf6.cc:213:56: error: expected ';' before '{' token
BOOST_FOREACH(const string& path, LHAPDF::paths()) {
^
pdf_lhapdf6.cc:217:36: error: 'strncpy' was not declared in this scope
strncpy(s, pathstr.c_str(), len);
^
pdf_lhapdf6.cc: In function 'void initpdfsetm_(const int&, const char*, int)':
pdf_lhapdf6.cc:239:9: error: 'boost' has not been declared
if (boost::algorithm::to_lower_copy(path) == "cteq6ll") path = "cteq6l1";
^
pdf_lhapdf6.cc: In function 'void initpdfsetbynamem_(const int&, const char*, int)':
pdf_lhapdf6.cc:262:9: error: 'boost' has not been declared
if (boost::algorithm::to_lower_copy(name) == "cteq6ll") name = "cteq6l1";
^
pdf_lhapdf6.cc: In function 'void evolvepdfm_(const int&, const double&, const double&, double*)':
pdf_lhapdf6.cc:336:47: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
fxq[i] = lhapdf_amc::ACTIVESETS[nset].activemember()->xfxQ(i-6, x, q);
^
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o radmul.o radmul.f
pdf_lhapdf6.cc: In function 'void evolvepartm_(const int&, const int&, const double&, const double&, double&)':
pdf_lhapdf6.cc:361:42: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
fxq = lhapdf_amc::ACTIVESETS[nset].activemember()->xfxQ(ipart_copy, x, q);
^
pdf_lhapdf6.cc: In function 'bool has_photon_()':
pdf_lhapdf6.cc:379:59: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
return lhapdf_amc::ACTIVESETS[lhapdf_amc::CURRENTSET].activemember()->hasFlavor(22);
^
pdf_lhapdf6.cc: In function 'void evolvepdfphotonm_(const int&, const double&, const double&, double*, double&)':
pdf_lhapdf6.cc:391:48: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
photonfxq = lhapdf_amc::ACTIVESETS[nset].activemember()->xfxQ(22, x, q);
^
pdf_lhapdf6.cc: In function 'void getorderasm_(const int&, int&)':
pdf_lhapdf6.cc:425:40: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
oas = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<int>("AlphaS_OrderQCD");
^
pdf_lhapdf6.cc:425:76: error: expected primary-expression before 'int'
oas = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<int>("AlphaS_OrderQCD");
^
pdf_lhapdf6.cc:425:76: error: expected ';' before 'int'
pdf_lhapdf6.cc: In function 'double alphaspdfm_(const int&, const double&)':
pdf_lhapdf6.cc:440:41: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
return lhapdf_amc::ACTIVESETS[nset].activemember()->alphasQ(Q);
^
pdf_lhapdf6.cc: In function 'void numberpdfm_(const int&, int&)':
pdf_lhapdf6.cc:458:43: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
numpdf= lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<int>("NumMembers");
^
pdf_lhapdf6.cc:458:79: error: expected primary-expression before 'int'
numpdf= lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<int>("NumMembers");
^
pdf_lhapdf6.cc:458:79: error: expected ';' before 'int'
pdf_lhapdf6.cc: In function 'void getnfm_(const int&, int&)':
pdf_lhapdf6.cc:474:39: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
nf = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<int>("NumFlavors");
^
pdf_lhapdf6.cc:474:75: error: expected primary-expression before 'int'
nf = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<int>("NumFlavors");
^
pdf_lhapdf6.cc:474:75: error: expected ';' before 'int'
pdf_lhapdf6.cc: In function 'void getqmassm_(const int&, const int&, double&)':
pdf_lhapdf6.cc:489:63: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
if (nf*nf == 1) mass = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("MDown");
^
pdf_lhapdf6.cc:489:99: error: expected primary-expression before 'double'
if (nf*nf == 1) mass = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("MDown");
^
pdf_lhapdf6.cc:489:99: error: expected ';' before 'double'
pdf_lhapdf6.cc:490:63: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
else if (nf*nf == 4) mass = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("MUp");
^
pdf_lhapdf6.cc:490:99: error: expected primary-expression before 'double'
else if (nf*nf == 4) mass = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("MUp");
^
pdf_lhapdf6.cc:490:99: error: expected ';' before 'double'
pdf_lhapdf6.cc:491:63: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
else if (nf*nf == 9) mass = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("MStrange");
^
pdf_lhapdf6.cc:491:99: error: expected primary-expression before 'double'
else if (nf*nf == 9) mass = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("MStrange");
^
pdf_lhapdf6.cc:491:99: error: expected ';' before 'double'
pdf_lhapdf6.cc:492:63: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
else if (nf*nf == 16) mass = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("MCharm");
^
pdf_lhapdf6.cc:492:99: error: expected primary-expression before 'double'
else if (nf*nf == 16) mass = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("MCharm");
^
pdf_lhapdf6.cc:492:99: error: expected ';' before 'double'
pdf_lhapdf6.cc:493:63: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
else if (nf*nf == 25) mass = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("MBottom");
^
pdf_lhapdf6.cc:493:99: error: expected primary-expression before 'double'
else if (nf*nf == 25) mass = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("MBottom");
^
pdf_lhapdf6.cc:493:99: error: expected ';' before 'double'
pdf_lhapdf6.cc:494:63: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
else if (nf*nf == 36) mass = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("MTop");
^
pdf_lhapdf6.cc:494:99: error: expected primary-expression before 'double'
else if (nf*nf == 36) mass = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("MTop");
^
pdf_lhapdf6.cc:494:99: error: expected ';' before 'double'
pdf_lhapdf6.cc: In function 'void getthresholdm_(const int&, const int&, double&)':
pdf_lhapdf6.cc:511:62: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
if (nf*nf == 1) Q = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("ThresholdDown");
^
pdf_lhapdf6.cc:511:98: error: expected primary-expression before 'double'
if (nf*nf == 1) Q = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("ThresholdDown");
^
pdf_lhapdf6.cc:511:98: error: expected ';' before 'double'
pdf_lhapdf6.cc:512:62: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
else if (nf*nf == 4) Q = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("ThresholdUp");
^
pdf_lhapdf6.cc:512:98: error: expected primary-expression before 'double'
else if (nf*nf == 4) Q = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("ThresholdUp");
^
pdf_lhapdf6.cc:512:98: error: expected ';' before 'double'
pdf_lhapdf6.cc:513:62: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
else if (nf*nf == 9) Q = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("ThresholdStrange");
^
pdf_lhapdf6.cc:513:98: error: expected primary-expression before 'double'
else if (nf*nf == 9) Q = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("ThresholdStrange");
^
pdf_lhapdf6.cc:513:98: error: expected ';' before 'double'
pdf_lhapdf6.cc:514:62: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
else if (nf*nf == 16) Q = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("ThresholdCharm");
^
pdf_lhapdf6.cc:514:98: error: expected primary-expression before 'double'
else if (nf*nf == 16) Q = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("ThresholdCharm");
^
pdf_lhapdf6.cc:514:98: error: expected ';' before 'double'
pdf_lhapdf6.cc:515:62: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
else if (nf*nf == 25) Q = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("ThresholdBottom");
^
pdf_lhapdf6.cc:515:98: error: expected primary-expression before 'double'
else if (nf*nf == 25) Q = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("ThresholdBottom");
^
pdf_lhapdf6.cc:515:98: error: expected ';' before 'double'
pdf_lhapdf6.cc:516:62: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
else if (nf*nf == 36) Q = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("ThresholdTop");
^
pdf_lhapdf6.cc:516:98: error: expected primary-expression before 'double'
else if (nf*nf == 36) Q = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("ThresholdTop");
^
pdf_lhapdf6.cc:516:98: error: expected ';' before 'double'
pdf_lhapdf6.cc: In function 'void getdescm_(const int&)':
pdf_lhapdf6.cc:535:42: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
cout << lhapdf_amc::ACTIVESETS[nset].activemember()->description() << endl;
^
pdf_lhapdf6.cc: In function 'void getxminm_(const int&, const int&, double&)':
pdf_lhapdf6.cc:550:41: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
xmin = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("XMin");
^
pdf_lhapdf6.cc:550:77: error: expected primary-expression before 'double'
xmin = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("XMin");
^
pdf_lhapdf6.cc:550:77: error: expected ';' before 'double'
pdf_lhapdf6.cc: In function 'void getxmaxm_(const int&, const int&, double&)':
pdf_lhapdf6.cc:566:41: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
xmax = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("XMax");
^
pdf_lhapdf6.cc:566:77: error: expected primary-expression before 'double'
xmax = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("XMax");
^
pdf_lhapdf6.cc:566:77: error: expected ';' before 'double'
pdf_lhapdf6.cc: In function 'void getq2minm_(const int&, const int&, double&)':
pdf_lhapdf6.cc:582:54: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
q2min = LHAPDF::sqr(lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("QMin"));
^
pdf_lhapdf6.cc:582:90: error: expected primary-expression before 'double'
q2min = LHAPDF::sqr(lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("QMin"));
^
pdf_lhapdf6.cc: In function 'void getq2maxm_(const int&, const int&, double&)':
pdf_lhapdf6.cc:598:54: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
q2max = LHAPDF::sqr(lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("QMax"));
^
pdf_lhapdf6.cc:598:90: error: expected primary-expression before 'double'
q2max = LHAPDF::sqr(lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("QMax"));
^
pdf_lhapdf6.cc: In function 'void getminmaxm_(const int&, const int&, double&, double&, double&, double&)':
pdf_lhapdf6.cc:614:41: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
xmin = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("XMin");
^
pdf_lhapdf6.cc:614:77: error: expected primary-expression before 'double'
xmin = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("XMin");
^
pdf_lhapdf6.cc:614:77: error: expected ';' before 'double'
pdf_lhapdf6.cc:615:41: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
xmax = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("XMax");
^
pdf_lhapdf6.cc:615:77: error: expected primary-expression before 'double'
xmax = lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("XMax");
^
pdf_lhapdf6.cc:615:77: error: expected ';' before 'double'
pdf_lhapdf6.cc:616:54: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
q2min = LHAPDF::sqr(lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("QMin"));
^
pdf_lhapdf6.cc:616:90: error: expected primary-expression before 'double'
q2min = LHAPDF::sqr(lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("QMin"));
^
pdf_lhapdf6.cc:617:54: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
q2max = LHAPDF::sqr(lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("QMax"));
^
pdf_lhapdf6.cc:617:90: error: expected primary-expression before 'double'
q2max = LHAPDF::sqr(lhapdf_amc::ACTIVESETS[nset].activemember()->info().get_entry_as<double>("QMax"));
^
pdf_lhapdf6.cc: In function 'void getpdfunctypem_(const int&, int&, int&)':
pdf_lhapdf6.cc:636:59: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
const string errorType = lhapdf_amc::ACTIVESETS[nset].activemember()->set().errorType();
^
pdf_lhapdf6.cc: In function 'void getpdfuncertaintym_(const int&, const double*, double&, double&, double&, double&)':
pdf_lhapdf6.cc:661:54: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
const size_t nmem = lhapdf_amc::ACTIVESETS[nset].activemember()->set().size()-1;
^
pdf_lhapdf6.cc:663:63: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
LHAPDF::PDFUncertainty err = lhapdf_amc::ACTIVESETS[nset].activemember()->set().uncertainty(vecvalues, -1);
^
pdf_lhapdf6.cc: In function 'void getpdfcorrelationm_(const int&, const double*, const double*, double&)':
pdf_lhapdf6.cc:682:54: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
const size_t nmem = lhapdf_amc::ACTIVESETS[nset].activemember()->set().size()-1;
^
pdf_lhapdf6.cc:685:48: error: 'std::map<int, lhapdf_amc::PDFSetHandler>::mapped_type' has no member named 'activemember'
correlation = lhapdf_amc::ACTIVESETS[nset].activemember()->set().correlation(vecvaluesA,vecvaluesB);
^
pdf_lhapdf6.cc: In function 'void pdfset_(const char*, const double*, int)':
pdf_lhapdf6.cc:727:5: error: 'PDFPtr' is not a member of 'lhapdf_amc'
lhapdf_amc::PDFPtr pdf = lhapdf_amc::ACTIVESETS[1].activemember();
^
pdf_lhapdf6.cc:727:24: error: expected ';' before 'pdf'
lhapdf_amc::PDFPtr pdf = lhapdf_amc::ACTIVESETS[1].activemember();
^
pdf_lhapdf6.cc:728:20: error: 'pdf' was not declared in this scope
w50513_.xmin = pdf->info().get_entry_as<double>("XMin", 0.0);
^
pdf_lhapdf6.cc:728:45: error: expected primary-expression before 'double'
w50513_.xmin = pdf->info().get_entry_as<double>("XMin", 0.0);
^
pdf_lhapdf6.cc:728:45: error: expected ';' before 'double'
pdf_lhapdf6.cc:729:45: error: expected primary-expression before 'double'
w50513_.xmax = pdf->info().get_entry_as<double>("XMax", 1.0);
^
pdf_lhapdf6.cc:729:45: error: expected ';' before 'double'
pdf_lhapdf6.cc:730:58: error: expected primary-expression before 'double'
w50513_.q2min = LHAPDF::sqr(pdf->info().get_entry_as<double>("QMin", 1.0));
^
pdf_lhapdf6.cc:731:58: error: expected primary-expression before 'double'
w50513_.q2max = LHAPDF::sqr(pdf->info().get_entry_as<double>("QMax", 1.0e5));
^
pdf_lhapdf6.cc:732:46: error: expected primary-expression before 'double'
w50512_.qcdl4 = pdf->info().get_entry_as<double>("AlphaS_Lambda4", 0.0);
^
pdf_lhapdf6.cc:732:46: error: expected ';' before 'double'
pdf_lhapdf6.cc:733:46: error: expected primary-expression before 'double'
w50512_.qcdl5 = pdf->info().get_entry_as<double>("AlphaS_Lambda5", 0.0);
^
pdf_lhapdf6.cc:733:46: error: expected ';' before 'double'
pdf_lhapdf6.cc:734:49: error: expected primary-expression before 'double'
lhapdfr_.qcdlha4 = pdf->info().get_entry_as<double>("AlphaS_Lambda4", 0.0);
^
pdf_lhapdf6.cc:734:49: error: expected ';' before 'double'
pdf_lhapdf6.cc:735:49: error: expected primary-expression before 'double'
lhapdfr_.qcdlha5 = pdf->info().get_entry_as<double>("AlphaS_Lambda5", 0.0);
^
pdf_lhapdf6.cc:735:49: error: expected ';' before 'double'
pdf_lhapdf6.cc:738:34: error: expected primary-expression before 'bool'
if (pdf->info().get_entry_as<bool>("Pythia6LambdaV5Compat", true)) {
^
pdf_lhapdf6.cc:738:34: error: expected ')' before 'bool'
pdf_lhapdf6.cc: In function 'void structm_(const double&, const double&, double&, double&, double&, double&, double&, double&, double&, double&, double&)':
pdf_lhapdf6.cc:752:5: error: 'PDFPtr' is not a member of 'lhapdf_amc'
lhapdf_amc::PDFPtr pdf = lhapdf_amc::ACTIVESETS[1].activemember();
^
pdf_lhapdf6.cc:752:24: error: expected ';' before 'pdf'
lhapdf_amc::PDFPtr pdf = lhapdf_amc::ACTIVESETS[1].activemember();
^
pdf_lhapdf6.cc:753:12: error: 'pdf' was not declared in this scope
dsea = pdf->xfxQ(-1, x, q);
^
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o FFV2_3.o FFV2_3.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o couplings1.o couplings1.f
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o FFV2_0.o FFV2_0.f
make[1]: *** [pdf_lhapdf6.o] Error 1
make[1]: Leaving directory `/afs/cern.ch/work/q/qili/mg25x/new/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_LO/wplustest_4f_LO_gridpack/work/processtmp/Source/PDF'
make: *** [../lib/libpdf.a] Error 2
make: *** Waiting for unfinished jobs....
gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-300 -c -o couplings2.o couplings2.f
ar cru ../../lib/libdhelas.a aloha_functions.o FFV2_3.o FFV2_0.o
ar cru ../../lib/libmodel.a couplings.o lha_read.o printout.o rw_para.o model_functions.o couplings1.o couplings2.o
ar cru ../../lib/libcernlib.a abend.o dlsqp2.o lenocc.o mtlprt.o mtlset.o radmul.o
ranlib ../../lib/libdhelas.a
ranlib ../../lib/libmodel.a
ranlib ../../lib/libcernlib.a
make[1]: Leaving directory `/afs/cern.ch/work/q/qili/mg25x/new/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_LO/wplustest_4f_LO_gridpack/work/processtmp/Source/DHELAS'
make[1]: Leaving directory `/afs/cern.ch/work/q/qili/mg25x/new/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_LO/wplustest_4f_LO_gridpack/work/processtmp/Source/MODEL'
make[1]: Leaving directory `/afs/cern.ch/work/q/qili/mg25x/new/genproductions/bin/MadGraph5_aMCatNLO/wplustest_4f_LO/wplustest_4f_LO_gridpack/work/processtmp/Source/CERNLIB'
Please try to fix this compilations issue and retry.
Help might be found at https://answers.launchpad.net/mg5amcnlo.
If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo
The support of lhadpdf 6.2.1 was included in MG5aMC version 2.6.0 But not deeply tested in that version. We consider such support as beta for the moment.
Otherwise, lhapdf 6.2.2 should be compatible with older version of MG5aMC.
The modification to MG5aMC to support lhapdf 6.2.1 are in the following page: bazaar. launchpad. net/~mg5core1/ mg5amcnlo/ 2.5.6/revision/ 324
http://
(Where you can download the patch)
Now I do now know if such patch will fix your problem (I have some doubt). The error message seems to indicate a problem with your boost library.
Cheers,
Olivier