Coder Social home page Coder Social logo

apfelcomb's Introduction

APFELcomb

The APFELcomb project consists of a set of tools for the generation of FK tables, which provide the mechanism for computing predictions from theory in the NNPDF framework. Broadly speaking this is achieved by taking DGLAP evolution kernels from APFEL and combining them with interpolated parton-level observable kernels of various forms.

The mechanism behind APFELcomb is documented in [1605.02070].

The various data formats used in APFELcomb are described in nnpdfcpp/data/doc/.

Table of Contents

Prerequisites

APFELcomb depends on the following libraries

  • APFEL github.com/scarrazza/apfel.git
  • nnpdf github.com/NNPDF/nnpdf
  • APPLgrid 1.4.70-nnpdf github.com/NNPDF/external/applgrid-1.4.70-nnpdf

And data files from

  • nnpdf-applgrids github.com/NNPDF/applgrids

Compilation and setup

Compilation flags and various paths are defined in Makefile.inc. These are mostly inferred from package-config files with the exception of

  • RESULTS_PATH (default ./results) Defines the path results are written to.
  • APPL_PATH (default ../applgrids) Defines the path to the nnpdf-applgrid repository.
  • DB_PATH (default ./db) Defines the path to the APFELcomb database.

The defaults are configured assuming that both the nnpdfcpp and applgrid repositories are located at ../

With these paths set, compiling the APFELcomb code should be as simple as

make

Structure and generation process

Each FK table is generated piecewise in one or more subgrids. The subgrids implemented in APFELcomb can be displayed by running the script

./scripts/disp_grids.py

Typically DIS and FKGenerator Drell-Yan tables are made of only one subgrid, whereas FK tables generated from APPLgrids have one subgrid per APPLgrid file. How subgrids are merged into grids, and the generation parameters of each subgrid, is specified in the db/apfelcomb.db database. The database itself is not stored in the repository, but it is built from the sqlite dump at db/apfelcomb.dat. This is done automatically by the APFELcomb makefile.

Generating an individual subgrid is performed by running

./apfel_comb <source=app/dis/dyp> <subgrid id> <theory id>

where <app/dis/dyp> specifies whether the subgrid is in the applgrid, DIS or DYP subgrid categories in the database, <subgrid id> is the corresponding ID in that database (visible in the disp\_grids script) and <theory id> specifies the desired NNPDF theory index (the entry in nnpdfcpp/data/theory.db). As an example:

./apfel_comb app 500 65 

Will generate the subgrid for CDFZRAP and theory 65 (NNPDF3.1 NNLO perturbative charm). The resulting FK subgrid will be written out to

$RESULTS_PATH/theory_<theory id>/subgrids/FK_<setname>_<subgrid id>.dat.

Once all the relevant subgrids for the desired dataset(s) are generated, you should run

./merge_allgrids.py <theory id>

which will loop over all datasets and attempt to merge their subgrids into a complete FK table. The resulting final FK table should be stored at

$RESULTS_PATH/theory_<theory id>/fastkernel/FK_<setname>.dat.

Implementing a new FK table

To implement a new FK table you must first add a corresponding entry into the apfelcomb database under the grids table. These entries are comprised of the following fields.

  • id - The primary key identifier of the FK table.
  • setname - The COMMONDATA set name of the corresponding dataset.
  • name - The name of the FK table.
  • description - A one-line description of the FK table.
  • nx - The number of x-grid interpolation points.
  • positivity - A flag specifying if the FK table is a positivity set.
  • source - Specifies if the corresponding subgrids are [APP/DIS/DYP].

Here it is important to note that setname and name may be different in the case of compound observables such as ratios, where multiple FK tables are required to compute predictions for a single dataset. The nx parameter specifies the interpolation accuracy of the dataset (this must currently be tuned by hand). The positivity parameter restricts the observable to NLO matrix elements and disables target-mass corrections.

Once this entry is complete, you must move on to adding entries in the corresponding subgrid table.

Implementing a new APPLgrid subgrid

To add a new APPLgrid-based subgrid, you must add a corresponding entry into the app\_subgrids table of the apfelcomb database. One entry should be added for each APPLgrid making up the final target FK table. The entries have the following fields:

  • id - The primary key identifier of the subgrid.
  • fktarget - The name of the FK table this subgrid belongs to.
  • applgrid - The filename of the corresponding APPLgrid.
  • fnlobin - The fastNLO index if the table is a fastNLO grid, or -1 if not.
  • ptmin - The minimum perturbative order (1 when the LO is zero, 0 if not).
  • pdfwgt - A boolean flag, 1 if the APPLgrid has PDF weighting, 0 if not.
  • ppbar - A boolean flag, 1 if the APPLgrid should be transformed to ppbar beams, 0 if not.
  • mask - A boolean mask, specifying which APPLgrid entries should be considered data points.
  • operators - A list of operators to handle certain special cases (see below).

Here the mask should have as many entries as APPLgrid bins and each boolean value should be separated by a space. For example, for an applgrid with five bins where we want to exclude the penultimate bin, the mask would be:

1 1 1 0 1

The applgrid filename assumes that the grid can be found at

$APPL_PATH/<setname>/<applgrid>

where APPL_PATH is defined in Makefile.am, <setname> is the corresponding COMMONDATA set name specified in the grids table, and <applgrid> is specified in the field described above.

Implementing a new DIS or DYP subgrid

New DIS or DYP subgrids should be entered respectively into the dis_subgrids or dyp_subgrids tables of the apfelcomb database. Typically only one subgrid is needed per DIS or DYP FK table. Each subgrid entry has the following fields:

  • id - The primary key identifier of the subgrid
  • fktarget - The name of the FK table this subgrid belongs to
  • operators - A list of operators to handle certain special cases (see below).

For DIS there is one additional field:

  • process - The process string of the observable (e.g DIS_F2P, see APFEL)

Subgrid operators

Subgrid operators are used to provide certain subgrid-wide transformations that can be useful in certain circumstances. They are formed by a key-value pair with syntax:

<KEY>:<VALUE>

If using multiple operators, they should be comma-separated. Currently these operators are implemented:

  • *:V - Duplicate the subgrid data point (there must be only one for this operator) V times.
  • +:V - Increment the starting data point index of this subgrid by V.
  • N:V - Normalise all data points in this subgrid by V.

The * operator is typically used for normalised cross-sections, where the total cross-section computation (a single data point) must be duplicated N_dat times to correspond to the size of the COMMONDATA file. The + operator is typically used to compensate for missing subgrids, for example when a COMMONDATA file begins with several data points that cannot yet be computed from theory, the + operator can be used to 'skip' those points. The N operator is used to perform unit conversions or the like.

Compound files and C-factors

If your new dataset is a compound observable (that is, theory predictions are a function of more than one FK-product) then you should write a corresponding COMPOUND file as described in the data specifications at nnpdfcpp/data/doc/. This compound file should be stored in the APFELcomb repository under the compound directory.

C-factors should be in the format once again specified in nnpdfcpp/data/doc/, and stored in the nnpdfcpp repo under the nnpdfcpp/data/N*LOCFAC/ directory.

Important note on subgrid ordering

If your FK table consists of more than one subgrid to be merged into a single table, then the ordering of the subgrids in their subgrid id is vital. The merge_allgrids.py script will merge the subgrids in order of their id. So if you are constructing an FK table for a merged W+/W-/Z dataset, it is crucial that the ordering of the corresponding W+/W-/Z subgrids in id matches the ordering in COMMONDATA.

Important note on committing changes

If you have made a modification to the apfelcomb.db database, once you are happy with it you must export it to the plain-text dump file at db/apfelcomb.dat. This file must then be committed. It is important to note that the binary sqlite database is not stored in the repository.

A helper script is provided to do this. If you want to convert your binary database to the text dump, run db/generate_dump.sh and then commit the resulting apfelcomb.dat file.

Helper scripts

Several helper scripts are provided to make using APFELcomb easier (particularly when generating a full set of FK tables for a particular theory).

  • scripts/disp_grids.py displays a full list of APPLgrid, DIS or DYP subgrids implemented in APFELcomb.
  • run_allgrids.py [theoryID] [job script] scans the results directory and submits jobs for all missing subgrids for the specified theory.
  • test_submit.py is an example [job script] to be used for run\_allgrids.py. These scripts specify how jobs are launched on a given cluster.
  • hydra_submit.py is the [job script] for the HYDRA cluster in Oxford.
  • merge_allgrids.py [theoryID] merges all subgrids in the results directory for a specified theory into final FK tables. This does not delete subgrids.
  • finalise.sh [theoryID] runs C-factor scaling, copies COMPOUND files, deletes the subgrids, and finally compresses the result into a theory.tgz file ready for upload.

Generating a complete theory

The general workflow for generating a complete version of theory 53 on the hydra cluster is then.

./run_allgrids.py 53 ./hydra_submit.sh # Submit all APFELcomb subgrid-jobs
# Once all subgrid jobs have successfully finished
./merge_allgrids.py 53 # Merge subgrids into FK tables
# If merging is successful
./finalise.sh 53
# Results in a final theory at ./results/theory_53.tgz

apfelcomb's People

Contributors

enocera avatar eslade avatar lucarottoli avatar nhartland avatar rosalynlp avatar scarrazza avatar zaharid avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

apfelcomb's Issues

Problem using FKtables

I have successfully generated tables with apfelcomb, but they do not seem to work as the following error appears when running filter

NNPDFSettings::VerifyFK Error: FastKernel Table  does not satisfy global ID:  vs  155
terminate called after throwing an instance of 'NNPDF::RuntimeException'

I am actually using 7055761 as the last version of the nnpdfcpp master does not compile on hydra, so I don't know if this is a genuine error or if it is fixed when using master.

Error in exporting FK table

I have an error in generating POSF2S for theory 155

                        Verification
-- Completed in 0 minutes 23:36 12/04/17.
<idat>    <FK>           <Source>       <Rel.Err>
0         0.2535         0.2535         8.682e-10
1         0.1796         0.1796         3.236e-09
2         0.1299         0.1299         2.296e-07
3         0.09548        0.09548        2.63e-07
4         0.07076        0.07076        1.221e-07
5         0.05313        0.05313        1.219e-07
6         0.04032        0.04032        2.143e-07
7         0.03023        0.03023        4.084e-07
8         0.02046        0.02046        8.309e-07
9         0.009057       0.009057       5.279e-07
10        0.004336       0.004336       2.337e-06
11        0.002082       0.002082       6.719e-06
12        0.0009628      0.0009628      6.871e-06
13        0.0004176      0.0004176      1.384e-05
14        0.0001642      0.0001642      4.016e-06
15        5.62e-05       5.62e-05       1.399e-05
16        1.562e-05      1.562e-05      8.111e-05
17        3.138e-06      3.138e-06      9.947e-05
18        3.27e-07       3.27e-07       8.426e-06
19        7.456e-09      7.433e-09      0.003045
************************************************************
Error: FK Table Export Verification failed
THPREDICTIONS POSF2S  ApfelSet
0    0                   0
1    0                   0
2    1.147e-07           0
3    2.341e-07           0
4    -2.106e-07          0
5    -7.012e-08          0
6    -9.24e-08           0
7    -1.232e-07          0
8    -9.105e-08          0
9    -4.113e-07          0
10   -6.444e-07          0
11   1.789e-06           0
12   1.064e-05           0
13   6.69e-06            0
14   1.134e-05           0
15   2.072e-05           0
16   -3.726e-05          0
17   0                   0
18   -0.0004896          0
19   -0.000183           0

It seems to me that the error is only in the last point. Is there a way to solve this with a minimal fix?

Problem on hydra

Apfelcomb doesn't seem to work in combination with root5

./apfel_comb app 100 66


Error in TFile::ReadBuffer: error reading all requested bytes from file ../applgrids/ATLASR04JETS36PB/atlas-incljets-eta1.root, got 132 of 300
Error in TFile::Init: ../applgrids/ATLASR04JETS36PB/atlas-incljets-eta1.root failed to read the file type data.
appl::grid() reading grid from file ../applgrids/ATLASR04JETS36PB/atlas-incljets-eta1.root
grid::grid() cannot open file: ../applgrids/ATLASR04JETS36PB/atlas-incljets-eta1.root

terminate called after throwing an instance of 'appl::grid::exception'
what(): appl::grid::exception
[1] 37371 abort (core dumped) ./apfel_comb app 100 66

make dev not working

Hi Nathan,
I tried to compile apfelcomb using make dev - because I wanted to use appl_optgrid to get out some numbers without creating the FK tab - but it does not work. I have the following error. Any clue?

mu227@consist:/data/sparticle/mu227/nnpdfgit/apfelcomb $ make dev
make[1]: Entering directory '/data/sparticle/mu227/nnpdfgit/apfelcomb/src/core'
/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/bin/x86_64-conda_cos6-linux-gnu-c++ -Wall -O3 -D  RESULTS_PATH="./results/" -D  APPL_PATH="../applgrids/" -D  DB_PATH="./db/" -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -pthread -std=c++1z -m64 -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include  -I/data/sparticle/mu227/nnpdfgit/apfel/installation/include  -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I .. -DNDEBUG -D_FORTIFY_SOURCE=2 -O2  -c -o fk_appl.o fk_appl.cc
/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/bin/x86_64-conda_cos6-linux-gnu-c++ -Wall -O3 -D  RESULTS_PATH="./results/" -D  APPL_PATH="../applgrids/" -D  DB_PATH="./db/" -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -pthread -std=c++1z -m64 -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include  -I/data/sparticle/mu227/nnpdfgit/apfel/installation/include  -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I .. -DNDEBUG -D_FORTIFY_SOURCE=2 -O2  -c -o fk_dis.o fk_dis.cc
/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/bin/x86_64-conda_cos6-linux-gnu-c++ -Wall -O3 -D  RESULTS_PATH="./results/" -D  APPL_PATH="../applgrids/" -D  DB_PATH="./db/" -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -pthread -std=c++1z -m64 -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include  -I/data/sparticle/mu227/nnpdfgit/apfel/installation/include  -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I .. -DNDEBUG -D_FORTIFY_SOURCE=2 -O2  -c -o fk_qcd.o fk_qcd.cc
/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/bin/x86_64-conda_cos6-linux-gnu-c++ -Wall -O3 -D  RESULTS_PATH="./results/" -D  APPL_PATH="../applgrids/" -D  DB_PATH="./db/" -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -pthread -std=c++1z -m64 -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include  -I/data/sparticle/mu227/nnpdfgit/apfel/installation/include  -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I .. -DNDEBUG -D_FORTIFY_SOURCE=2 -O2  -c -o fk_utils.o fk_utils.cc
/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/bin/x86_64-conda_cos6-linux-gnu-c++ -Wall -O3 -D  RESULTS_PATH="./results/" -D  APPL_PATH="../applgrids/" -D  DB_PATH="./db/" -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -pthread -std=c++1z -m64 -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include  -I/data/sparticle/mu227/nnpdfgit/apfel/installation/include  -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I .. -DNDEBUG -D_FORTIFY_SOURCE=2 -O2  -c -o fk_grids.o fk_grids.cc
/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/bin/x86_64-conda_cos6-linux-gnu-c++ -Wall -O3 -D  RESULTS_PATH="./results/" -D  APPL_PATH="../applgrids/" -D  DB_PATH="./db/" -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -pthread -std=c++1z -m64 -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include  -I/data/sparticle/mu227/nnpdfgit/apfel/installation/include  -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I .. -DNDEBUG -D_FORTIFY_SOURCE=2 -O2  -c -o fk_ftdy.o fk_ftdy.cc
ar rc ../libac_core.a fk_appl.o fk_dis.o fk_qcd.o fk_utils.o fk_grids.o fk_ftdy.o && ranlib ../libac_core.a
make[1]: Leaving directory '/data/sparticle/mu227/nnpdfgit/apfelcomb/src/core'
/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/bin/x86_64-conda_cos6-linux-gnu-c++ -Wall -O3 -D  RESULTS_PATH="./results/" -D  APPL_PATH="../applgrids/" -D  DB_PATH="./db/" -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -pthread -std=c++1z -m64 -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include  -I/data/sparticle/mu227/nnpdfgit/apfel/installation/include  -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include  -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now  ./src/appl_optgrid.cc  ./src/libac_core.a -L/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/lib -lLHAPDF -L/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/lib -lAPPLgrid  -L/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/lib -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -pthread -lm -ldl -rdynamic  -L/data/sparticle/mu227/nnpdfgit/apfel/installation/lib -lAPFEL  -L/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/lib -lnnpdf -L/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/lib -lgsl -lgslcblas -lm -lsqlite3 -o appl_optgrid
./src/appl_optgrid.cc: In function 'int main(int, char**)':
./src/appl_optgrid.cc:54:33: error: 'setVerbose' is not a member of 'appl'
   NNPDF::SetVerbosity(0); appl::setVerbose(false);
                                 ^~~~~~~~~~
./src/appl_optgrid.cc:60:30: error: no matching function for call to 'FKTarget::FKTarget(NNPDF::IndexDB&, const int&)'
   FKTarget table(grid_db, iDB); table.ReadSubGrids(subgrid_db);
                              ^
In file included from ./src/apfelcomb/fk_appl.h:26:0,
                 from ./src/appl_optgrid.cc:17:
./src/apfelcomb/fk_grids.h:28:2: note: candidate: FKTarget::FKTarget(const NNPDF::IndexDB&, const int&, const int&)
  FKTarget(NNPDF::IndexDB const& db, int const& targetID, int const& global_nx);
  ^~~~~~~~
./src/apfelcomb/fk_grids.h:28:2: note:   candidate expects 3 arguments, 2 provided
./src/apfelcomb/fk_grids.h:25:7: note: candidate: FKTarget::FKTarget(const FKTarget&)
 class FKTarget
       ^~~~~~~~
./src/apfelcomb/fk_grids.h:25:7: note:   candidate expects 1 argument, 2 provided
./src/appl_optgrid.cc:78:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i=0; i<xsec_prev.size(); i++)
                   ~^~~~~~~~~~~~~~~~~
<builtin>: recipe for target 'appl_optgrid' failed
make: *** [appl_optgrid] Error 1

Mismatched names and underscores

Trying to reproduce a recent report, http://pcteserver.mi.infn.it/~nnpdf/validphys-reports/1uahb3pvQ72qrEmAj6kQxQ==/
I am getting:

$ validphys runcard.yaml
[WARNING]: Output folder exists: /home/zaharik/cc/output Overwritting contents
[ERROR]: Failed processing key experiments.
[ERROR]: Bad configuration encountered:
Could not find FKTable for set 'ATLASTOPDIFF8TEVTRAP_NUM'. File '/home/zaharik/miniconda3/share/NNPDF/data/theory_53/fastkernel/FK_ATLASTOPDIFF8TEVTRAP_NUM.dat' not found

Where I just downloaded theory 53.
I seem to recall this had something to do with mismatched underscores between the filenames and the entries in the combining files.

Compilation problem

Hi Zahari,
I have installed cern-root with conda and tried to compile apfel_comb but it still fails with this error message. Any idea on how to fix it?
Thanks

(npdf-dev) mu227@consist:/data/sparticle/mu227/nnpdfgit/apfelcomb $ make clean
rm -f -f apfel_comb src/cfac_scale  appl_optgrid ftdy_hcx
make[1]: Entering directory '/data/sparticle/mu227/nnpdfgit/apfelcomb/src/core'
rm -f -f fk_appl.o fk_dis.o  fk_qcd.o fk_utils.o fk_grids.o fk_ftdy.o ../libac_core.a
make[1]: Leaving directory '/data/sparticle/mu227/nnpdfgit/apfelcomb/src/core'
(nnpdf-dev) mu227@consist:/data/sparticle/mu227/nnpdfgit/apfelcomb $ make 
make[1]: Entering directory '/data/sparticle/mu227/nnpdfgit/apfelcomb/src/core'
g++ -Wall -O3 -D  RESULTS_PATH="./results/" -D  APPL_PATH="../applgrids/" -D  DB_PATH="./db/" -I/data/sparticle/mu227/miniconda3/include -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -pthread -std=c++1z -m64 -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include  -I/data/sparticle/mu227/nnpdfgit/apfel/installation/include  -I/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include -I/data/sparticle/mu227/miniconda3/include -I .. -DNDEBUG -D_FORTIFY_SOURCE=2 -O2  -c -o fk_appl.o fk_appl.cc
In file included from /data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include/TString.h:28:0,
                 from /data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include/TNamed.h:26,
                 from /data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include/TAxis.h:24,
                 from /data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include/TH1.h:24,
                 from /data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include/TH1D.h:24,
                 from /data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include/appl_grid/appl_grid.h:32,
                 from ../apfelcomb/fk_appl.h:19,
                 from fk_appl.cc:5:
/data/sparticle/mu227/miniconda3/envs/nnpdf-dev/include/RStringView.h:19:23: fatal error: string_view: No such file or directory
compilation terminated.
<builtin>: recipe for target 'fk_appl.o' failed
make[1]: *** [fk_appl.o] Error 1
make[1]: Leaving directory '/data/sparticle/mu227/nnpdfgit/apfelcomb/src/core'
Makefile:16: recipe for target 'core' failed`
make: *** [core] Error 2

Can't get a working db

I think we saw this in EDI but don't remember how we fixed it.

$ ./apfel_comb dis 18 53

  ███╗   ██╗███╗   ██╗██████╗ ██████╗ ███████╗ 
  ████╗  ██║████╗  ██║██╔══██╗██╔══██╗██╔════╝ 
  ██╔██╗ ██║██╔██╗ ██║██████╔╝██║  ██║█████╗   
  ██║╚██╗██║██║╚██╗██║██╔═══╝ ██║  ██║██╔══╝ 
  ██║ ╚████║██║ ╚████║██║     ██████╔╝██║ 
  ╚═╝  ╚═══╝╚═╝  ╚═══╝╚═╝     ╚═════╝ ╚═╝ 2012-2015
  ____ver____ : 1.2.0b5, __coredevs__ : N.H., S.C.

************************************************************
                          APFELcomb                        
************************************************************
terminate called after throwing an instance of 'NNPDF::RuntimeException'
  what():  [IndexDB::IndexDB] error: SQLITE Error: no such table: grids
Aborted

make db doesn't work at the moment (it's a file, not a target, and when I change that still looks for the .dat in the wrong place). When I try to execute the script manually, I get a syntax error:

$ ./generate_database.sh 
Error: near line 223: near "CREATE": syntax error
Error: near line 230: no such table: dis_subgrids
Error: near line 231: no such table: dis_subgrids
<and so on>

Remove references to the c++ standard

We were testing the root package and having the c++ standard flags is causing problems. The only way the root package would compile for me is by insisting on compiling it with c++17 which is fine with the conda compiler, but then requires everything else that depends on it to be compiled with c++17. Removing all the references to the standard fixes the compilation of apfelcomb with conda.

Compilation error in APFELcomb

I am running APFELcomb on a machine in which it used to run well, without any problem. However now I get this compilation error (see below). Notice that I have installed the most recent version of libnnpdf and nnpdf with conda.

bash-4.1$ make
make[1]: Entering directory `/var/pcfst/r02/theory/ubiali/nnpdfgit/apfelcomb/src/core'
g++ -Wall -O3 -std=c++11 -D  RESULTS_PATH="../nnpdfcpp/data/" -D  DATA_PATH="../nnpdfcpp/data/" -D  APPL_PATH="../applgrids/" -D  DB_PATH="./db/" -I/usera/ubiali/miniconda3/include -I/r02/theory/ubiali/nnpdfgit/external/applgrid-1.4.56/installation/include -pthread -std=c++11 -Wno-deprecated-declarations -m64 -I/afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.36/x86_64-slc6-gcc48-opt/root/include  -I/usera/ubiali/miniconda3/include  -I/usera/ubiali/miniconda3/include -std=c++11 -I/usera/ubiali/miniconda3/include -I ..   -c -o fk_appl.o fk_appl.cc
fk_appl.cc: In function ‘void APP::computeFK(const APP::appl_param&, appl::grid*, NNPDF::FKGenerator*)’:
fk_appl.cc:425:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (size_t d=0; d<fk->GetNData(); d++)
                                     ^
fk_appl.cc:467:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           for (size_t ix = 0; ix < nxin; ix++)
                                    ^
fk_appl.cc:497:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
               for (size_t i=0; i<nxin; i++)    // Loop over input pdf x1
                                  ^
fk_appl.cc:498:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 for (size_t j=0; j<nxin; j++)  // Loop over input pdf x2
                                    ^
g++ -Wall -O3 -std=c++11 -D  RESULTS_PATH="../nnpdfcpp/data/" -D  DATA_PATH="../nnpdfcpp/data/" -D  APPL_PATH="../applgrids/" -D  DB_PATH="./db/" -I/usera/ubiali/miniconda3/include -I/r02/theory/ubiali/nnpdfgit/external/applgrid-1.4.56/installation/include -pthread -std=c++11 -Wno-deprecated-declarations -m64 -I/afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.36/x86_64-slc6-gcc48-opt/root/include  -I/usera/ubiali/miniconda3/include  -I/usera/ubiali/miniconda3/include -std=c++11 -I/usera/ubiali/miniconda3/include -I ..   -c -o fk_dis.o fk_dis.cc
fk_dis.cc: In function ‘void DIS::computeFK(const DIS::dis_param&, const NNPDF::CommonData&, NNPDF::FKGenerator*)’:
fk_dis.cc:116:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(size_t ix=0; ix<FK->GetNx(); ix++) 
                                     ^
g++ -Wall -O3 -std=c++11 -D  RESULTS_PATH="../nnpdfcpp/data/" -D  DATA_PATH="../nnpdfcpp/data/" -D  APPL_PATH="../applgrids/" -D  DB_PATH="./db/" -I/usera/ubiali/miniconda3/include -I/r02/theory/ubiali/nnpdfgit/external/applgrid-1.4.56/installation/include -pthread -std=c++11 -Wno-deprecated-declarations -m64 -I/afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.36/x86_64-slc6-gcc48-opt/root/include  -I/usera/ubiali/miniconda3/include  -I/usera/ubiali/miniconda3/include -std=c++11 -I/usera/ubiali/miniconda3/include -I ..   -c -o fk_ftdy.o fk_ftdy.cc
g++ -Wall -O3 -std=c++11 -D  RESULTS_PATH="../nnpdfcpp/data/" -D  DATA_PATH="../nnpdfcpp/data/" -D  APPL_PATH="../applgrids/" -D  DB_PATH="./db/" -I/usera/ubiali/miniconda3/include -I/r02/theory/ubiali/nnpdfgit/external/applgrid-1.4.56/installation/include -pthread -std=c++11 -Wno-deprecated-declarations -m64 -I/afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.36/x86_64-slc6-gcc48-opt/root/include  -I/usera/ubiali/miniconda3/include  -I/usera/ubiali/miniconda3/include -std=c++11 -I/usera/ubiali/miniconda3/include -I ..   -c -o fk_qcd.o fk_qcd.cc
g++ -Wall -O3 -std=c++11 -D  RESULTS_PATH="../nnpdfcpp/data/" -D  DATA_PATH="../nnpdfcpp/data/" -D  APPL_PATH="../applgrids/" -D  DB_PATH="./db/" -I/usera/ubiali/miniconda3/include -I/r02/theory/ubiali/nnpdfgit/external/applgrid-1.4.56/installation/include -pthread -std=c++11 -Wno-deprecated-declarations -m64 -I/afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.36/x86_64-slc6-gcc48-opt/root/include  -I/usera/ubiali/miniconda3/include  -I/usera/ubiali/miniconda3/include -std=c++11 -I/usera/ubiali/miniconda3/include -I ..   -c -o fk_utils.o fk_utils.cc
ar rc ../libac_core.a fk_appl.o fk_dis.o fk_ftdy.o fk_qcd.o fk_utils.o && ranlib ../libac_core.a
make[1]: Leaving directory `/var/pcfst/r02/theory/ubiali/nnpdfgit/apfelcomb/src/core'
g++ -Wall -O3 -std=c++11 -D  RESULTS_PATH="../nnpdfcpp/data/" -D  DATA_PATH="../nnpdfcpp/data/" -D  APPL_PATH="../applgrids/" -D  DB_PATH="./db/" -I/usera/ubiali/miniconda3/include -I/r02/theory/ubiali/nnpdfgit/external/applgrid-1.4.56/installation/include -pthread -std=c++11 -Wno-deprecated-declarations -m64 -I/afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.36/x86_64-slc6-gcc48-opt/root/include  -I/usera/ubiali/miniconda3/include  -I/usera/ubiali/miniconda3/include -std=c++11 -I/usera/ubiali/miniconda3/include     ./src/appl_comb.cc  ./src/libac_core.a -L/usera/ubiali/miniconda3/lib -lLHAPDF -L/r02/theory/ubiali/nnpdfgit/external/applgrid-1.4.56/installation/lib -lAPPLgrid  -L/afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.36/x86_64-slc6-gcc48-opt/root/lib -lGui -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -pthread -lm -ldl -rdynamic  -L/usera/ubiali/miniconda3/lib -lAPFEL  -L/usera/ubiali/miniconda3/lib -lnnpdf -L/usera/ubiali/miniconda3/lib -lgsl -lgslcblas -lm -lsqlite3 -o appl_comb
In file included from ./src/appl_comb.cc:23:0:
./src/apfelcomb/fk_pdf.h: In constructor ‘APFELPDFSet::APFELPDFSet()’:
./src/apfelcomb/fk_pdf.h:16:26: error: ‘ER_NONE’ was not declared in this scope
     PDFSet("ApfelSet",1, ER_NONE)
                          ^
./src/appl_comb.cc: In function ‘bool verifyGrid(const APP::appl_param&, const appl::grid*)’:
./src/appl_comb.cc:34:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (param.ndata>g->Nobs())
                           ^
./src/appl_comb.cc:40:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (param.mask.size()!=g->Nobs())
                                  ^
./src/appl_comb.cc: In function ‘int main(int, char**)’:
./src/appl_comb.cc:109:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (size_t o=0; o<g->Nobs(); o++)
                              ^
./src/appl_comb.cc:161:48: error: ‘ER_MC’ is not a member of ‘NNPDF::PDFSet’
   NNPDF::LHAPDFSet nn30("NNPDF30_nlo_as_0118", NNPDF::PDFSet::ER_MC);
                                                ^

Problems running: "no such column: global_nx"

Hi, I've been trying to run apfelcomb to generate a new subgrid using the command:

./apfel_comb app 1797 64

but I get the error:


terminate called after throwing an instance of 'NNPDF::RuntimeException'
  what():  [dbquery] error: SQLITE Error: no such column: global_nx

What I've done so far is modify apfelcomb.db to include the new subgrids and grids, and run ./generate_dump.sh to produce the .dat file. As far as I understand, the problem with global_nx is likely coming from the theory side of things as global_nx should be a column in theory.db?

Possibly I've done something wrong in the database part, because I wasn't sure what nx value to pick at this stage so I just chose an arbitrary value of 30 to see if the code ran. But I don't think this should be the problem.

Apfelcomb seemed to compile OK under the conda instructions given by Zahari in his recent email.

Cheers,
Rosalyn

Segmentation fault trigerred by APFEL

When using apfel master (conda 3.0.2.15) I am getting a segfault running apfelcomb:

 $ ./apfel_comb dis 18 53

  ███╗   ██╗███╗   ██╗██████╗ ██████╗ ███████╗ 
  ████╗  ██║████╗  ██║██╔══██╗██╔══██╗██╔════╝ 
  ██╔██╗ ██║██╔██╗ ██║██████╔╝██║  ██║█████╗   
  ██║╚██╗██║██║╚██╗██║██╔═══╝ ██║  ██║██╔══╝ 
  ██║ ╚████║██║ ╚████║██║     ██████╔╝██║ 
  ╚═╝  ╚═══╝╚═╝  ╚═══╝╚═╝     ╚═════╝ ╚═╝ 2012-2015
  ____ver____ : 1.2.0b5, __coredevs__ : N.H., S.C.

************************************************************
                          APFELcomb                        
************************************************************
   
 WARNING: FONLL-C is a VFN scheme
          ... setting VFNS PDF evolution
 WARNING: FONLL-C is a NNLO scheme
          ... setting NNLO perturbative order
 WARNING: computation of the evolution operator possible only on locked subgrids
          ... locking subgrids
 
 Welcome to 
      _/_/_/    _/_/_/_/   _/_/_/_/   _/_/_/_/   _/
    _/    _/   _/    _/   _/         _/         _/
   _/_/_/_/   _/_/_/_/   _/_/_/     _/_/_/     _/
  _/    _/   _/         _/         _/         _/
 _/    _/   _/         _/         _/_/_/_/   _/_/_/_/
 _____v3.0.2 A PDF Evolution Library, arXiv:1310.1394
      Authors: V. Bertone, S. Carrazza, J. Rojo
 
 Report of the evolution parameters:
   
 QCD evolution
 Space-like evolution (PDFs)
 Unpolarized evolution
 Evolution scheme: VFNS at N2LO
 Solution of the DGLAP equation: 'truncated' with maximum 5 active flavours
 - value of the truncation parameter epsilon = 1.000E-01
 Solution of the coupling equations: 'expanded' with maximum 5 active flavours
 Coupling reference value:
 - AlphaQCD( 91.2000 GeV) =  0.118000
 Pole heavy quark masses:
 - Mc =   1.5100 GeV
 - Mb =   4.9200 GeV
 - Mt = 172.5000 GeV
 The matching thresholds coincide with the physical masses
 muR / muF =  1.0000
  
 Allowed evolution range [   1.6500 :      9.9514 ] GeV
 The internal subgrids will be locked
 Computation of the evolution operator enabled
 
 Initialization of the evolution completed in   3.008 s
  
 Report of the electroweak parameters:
   
 Mass of the Z = 91.188 GeV
 Mass of the W = 80.398 GeV
 Mass of the proton = 0.9380 GeV
 sin^2(thetaW) = 0.2313
 GFermi = 1.16638E-05
       | 0.9743 0.2253 0.0035 |
 CKM = | 0.2252 0.9735 0.0410 |
       | 0.0086 0.0403 0.9992 |
 Z propagator correction = 0.00000
   
 Report of the DIS parameters:
   
 Computation in the FONLL-C mass scheme
 Electromagnetic (EM) process
 Scattering electron - proton   
 muR / Q =  1.0000
 muF / Q =  1.0000
 Target Mass corrections enabled
 FONLL damping factor disabled
 Intrinsic charm enabled
 
 Initialization of the DIS module completed in 118.003 s
  
 Initialising  50 points starting from x = 0.00149998
   
 WARNING: FONLL-C is a VFN scheme
          ... setting VFNS PDF evolution
 WARNING: FONLL-C is a NNLO scheme
          ... setting NNLO perturbative order
Segmentation fault (core dumped)

This happens after it has been running for a while.

The backtrace points to APFEL, but has no symbols:

(gdb) bt full
#0  0x00007f6a0f58b34b in truncatedevolveapfel_ ()
   from /home/zah/miniconda3/envs/nn/lib/libAPFEL.so.0
No symbol table info available.
#1  0x00007f6a0f58aca4 in evolveapfel_ ()
   from /home/zah/miniconda3/envs/nn/lib/libAPFEL.so.0
No symbol table info available.
#2  0x00007f6a0f6574ac in APFEL::EvolveAPFEL(double, double) ()
   from /home/zah/miniconda3/envs/nn/lib/libAPFEL.so.0
No symbol table info available.
#3  0x00007f6aca600cc8 in QCD::initEvolgrid(int const&, double const&) ()
No symbol table info available.
#4  0x00007f6aca5fa889 in main ()
No symbol table info available.

cc @vbertone @scarrazza

Segmentation fault -- Error in <TCling::RegisterModule>

Hi, I've been having some problems running APFELcomb. I tried in a couple of conda environments but everywhere I'm getting the same error message of a segmentation fault. This only started happening today so I'm not sure what's changed since before, I pulled all the changes from master and the error is still there. Any help on solving this would be great!

-- Rosalyn


(base) bash-4.2$ ./apfel_comb app 1797 64

************************************************************
                          APFELcomb                        
************************************************************
Error in <TCling::RegisterModule>: cannot find dictionary module TFileStringDict_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module TFileVectorDict_rdict.pcm

 *** Break *** segmentation violation



===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x00007f89fbe81dbc in waitpid () from /lib64/libc.so.6
#1  0x00007f89fbe04cc2 in do_system () from /lib64/libc.so.6
#2  0x00007f8ab6a2bf58 in Exec (shellcmd=<optimized out>, this=0x55aba7436f70) at /home/zaharik/miniconda3/conda-bld/cern-root_1519243485820/work/core/unix/src/TUnixSystem.cxx:2118
#3  TUnixSystem::StackTrace (this=0x55aba7436f70) at /home/zaharik/miniconda3/conda-bld/cern-root_1519243485820/work/core/unix/src/TUnixSystem.cxx:2412
#4  0x00007f8ab6a2e796 in TUnixSystem::DispatchSignals (this=0x55aba7436f70, sig=kSigSegmentationViolation) at /home/zaharik/miniconda3/conda-bld/cern-root_1519243485820/work/core/unix/src/TUnixSystem.cxx:3643
#5  <signal handler called>
#6  0x000055aba6f827ae in main ()
===========================================================


The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum http://root.cern.ch/forum.
Only if you are really convinced it is a bug in ROOT then please submit a
report at http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#6  0x000055aba6f827ae in main ()
===========================================================


Error in compilation of applgridphoton (needed to install APFELcomb)

Hi all (Zahari in particular),
I have reinstalled nnpdf and validphys with conda, and now I am trying to compile APFELcomb. For this I need to install applgridphoton but I get this error, see below, any idea of where it might come from?
Thanks
Maria

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC -I. -I.. -I. -pthread -m64 -I/usr/include/root -g -O2 -MT hoppet_init.lo -MD -MP -MF .deps/hoppet_init.Tpo -c hoppet_init.cxx -o hoppet_init.o >/dev/null 2>&1
mv -f .deps/hoppet_init.Tpo .deps/hoppet_init.Plo
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC  -I. -I.. -I.  -pthread -m64 -I/usr/include/root    -g -O2 -MT TFileString.lo -MD -MP -MF .deps/TFileString.Tpo -c -o TFileString.lo TFileString.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC -I. -I.. -I. -pthread -m64 -I/usr/include/root -g -O2 -MT TFileString.lo -MD -MP -MF .deps/TFileString.Tpo -c TFileString.cxx  -fPIC -DPIC -o .libs/TFileString.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC -I. -I.. -I. -pthread -m64 -I/usr/include/root -g -O2 -MT TFileString.lo -MD -MP -MF .deps/TFileString.Tpo -c TFileString.cxx -o TFileString.o >/dev/null 2>&1
mv -f .deps/TFileString.Tpo .deps/TFileString.Plo
rootcint -f TFileStringDict.cxx -c TFileString.h 
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC  -I. -I.. -I.  -pthread -m64 -I/usr/include/root    -g -O2 -MT TFileStringDict.lo -MD -MP -MF .deps/TFileStringDict.Tpo -c -o TFileStringDict.lo TFileStringDict.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC -I. -I.. -I. -pthread -m64 -I/usr/include/root -g -O2 -MT TFileStringDict.lo -MD -MP -MF .deps/TFileStringDict.Tpo -c TFileStringDict.cxx  -fPIC -DPIC -o .libs/TFileStringDict.o
TFileStringDict.cxx: In member function 'virtual void TFileString::Streamer(TBuffer&)':
TFileStringDict.cxx:148:52: warning: the compiler can assume that the address of 'R__stl' will never be NULL [-Waddress]
          int R__n=(&R__stl) ? int(R__stl.size()) : 0;
                                                    ^
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC -I. -I.. -I. -pthread -m64 -I/usr/include/root -g -O2 -MT TFileStringDict.lo -MD -MP -MF .deps/TFileStringDict.Tpo -c TFileStringDict.cxx -o TFileStringDict.o >/dev/null 2>&1
mv -f .deps/TFileStringDict.Tpo .deps/TFileStringDict.Plo
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC  -I. -I.. -I.  -pthread -m64 -I/usr/include/root    -g -O2 -MT TFileVector.lo -MD -MP -MF .deps/TFileVector.Tpo -c -o TFileVector.lo TFileVector.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC -I. -I.. -I. -pthread -m64 -I/usr/include/root -g -O2 -MT TFileVector.lo -MD -MP -MF .deps/TFileVector.Tpo -c TFileVector.cxx  -fPIC -DPIC -o .libs/TFileVector.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC -I. -I.. -I. -pthread -m64 -I/usr/include/root -g -O2 -MT TFileVector.lo -MD -MP -MF .deps/TFileVector.Tpo -c TFileVector.cxx -o TFileVector.o >/dev/null 2>&1
mv -f .deps/TFileVector.Tpo .deps/TFileVector.Plo
rootcint -f TFileVectorDict.cxx -c TFileVector.h 
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC  -I. -I.. -I.  -pthread -m64 -I/usr/include/root    -g -O2 -MT TFileVectorDict.lo -MD -MP -MF .deps/TFileVectorDict.Tpo -c -o TFileVectorDict.lo TFileVectorDict.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC -I. -I.. -I. -pthread -m64 -I/usr/include/root -g -O2 -MT TFileVectorDict.lo -MD -MP -MF .deps/TFileVectorDict.Tpo -c TFileVectorDict.cxx  -fPIC -DPIC -o .libs/TFileVectorDict.o
TFileVectorDict.cxx: In member function 'virtual void TFileVector::Streamer(TBuffer&)':
TFileVectorDict.cxx:151:52: warning: the compiler can assume that the address of 'R__stl' will never be NULL [-Waddress]
          int R__n=(&R__stl) ? int(R__stl.size()) : 0;
                                                    ^
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC -I. -I.. -I. -pthread -m64 -I/usr/include/root -g -O2 -MT TFileVectorDict.lo -MD -MP -MF .deps/TFileVectorDict.Tpo -c TFileVectorDict.cxx -o TFileVectorDict.o >/dev/null 2>&1
mv -f .deps/TFileVectorDict.Tpo .deps/TFileVectorDict.Plo
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC  -I. -I.. -I.  -pthread -m64 -I/usr/include/root    -g -O2 -MT integral.lo -MD -MP -MF .deps/integral.Tpo -c -o integral.lo integral.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC -I. -I.. -I. -pthread -m64 -I/usr/include/root -g -O2 -MT integral.lo -MD -MP -MF .deps/integral.Tpo -c integral.cxx  -fPIC -DPIC -o .libs/integral.o
In file included from ../appl_grid/integral.h:17:0,
                 from integral.cxx:14:
../appl_grid/appl_grid.h: In constructor 'appl::grid::exception::exception(std::ostream&)':
../appl_grid/appl_grid.h:63:29: warning: unused parameter 's' [-Wunused-parameter]
     exception(std::ostream& s)      { std::cerr << std::endl; };
                             ^
integral.cxx: In function 'double appl::integral(const TH1D*, const appl::grid&)':
integral.cxx:35:51: warning: unused parameter 'g' [-Wunused-parameter]
 double integral( const TH1D* h, const appl::grid& g ) {
                                                   ^
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC -I. -I.. -I. -pthread -m64 -I/usr/include/root -g -O2 -MT integral.lo -MD -MP -MF .deps/integral.Tpo -c integral.cxx -o integral.o >/dev/null 2>&1
mv -f .deps/integral.Tpo .deps/integral.Plo
/bin/bash ../libtool  --tag=CXX   --mode=link g++ -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC  -I. -I.. -I.  -pthread -m64 -I/usr/include/root    -g -O2 -m64 -O2  -L/usr/lib/x86_64-linux-gnu -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -pthread -lm -ldl -rdynamic   -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib64/../lib64   -lgfortran   -o libAPPLgrid.la -rpath /home/mu227/miniconda3/lib appl_grid.lo appl_igrid.lo fastnlo.lo appl_timer.lo appl_pdf.lo nlojet_pdf.lo nlojetpp_pdf.lo mcfmw_pdf.lo mcfmwjet_pdf.lo mcfmwc_pdf.lo mcfmz_pdf.lo mcfmzjet_pdf.lo mcfmQQ_pdf.lo jetrad_pdf.lo dis_pdf.lo generic_pdf.lo basic_pdf.lo combination.lo lumi_pdf.lo SparseMatrix3d.lo hoppet_init.lo TFileString.lo TFileStringDict.lo TFileVector.lo TFileVectorDict.lo integral.lo  
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/x86_64-linux-gnu/crti.o /store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/gcc/x86_64-pc-linux-gnu/7.1.0/crtbeginS.o  .libs/appl_grid.o .libs/appl_igrid.o .libs/fastnlo.o .libs/appl_timer.o .libs/appl_pdf.o .libs/nlojet_pdf.o .libs/nlojetpp_pdf.o .libs/mcfmw_pdf.o .libs/mcfmwjet_pdf.o .libs/mcfmwc_pdf.o .libs/mcfmz_pdf.o .libs/mcfmzjet_pdf.o .libs/mcfmQQ_pdf.o .libs/jetrad_pdf.o .libs/dis_pdf.o .libs/generic_pdf.o .libs/basic_pdf.o .libs/combination.o .libs/lumi_pdf.o .libs/SparseMatrix3d.o .libs/hoppet_init.o .libs/TFileString.o .libs/TFileStringDict.o .libs/TFileVector.o .libs/TFileVectorDict.o .libs/integral.o   -Wl,-rpath -Wl,/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/../lib64 -Wl,-rpath -Wl,/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -ldl -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib64/../lib64 /store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/../lib64/libgfortran.so -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/../lib64 -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/gcc/x86_64-pc-linux-gnu/7.1.0 -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/gcc/x86_64-pc-linux-gnu/7.1.0/../../../../lib64 -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib64 -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/isl-0.18-adlwwotz3nfyr3isqesoy4h5vdgtx23j/lib -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/mpc-1.0.3-63ovzd4aopjw5n47apgjy7whmc6i34x4/lib -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/mpfr-3.1.5-l7iothhu6vthli2hczuff2zljsye7l7w/lib -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gmp-6.1.2-euo32oqnviiw42vrw72bjpmgnidbunke/lib -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-7.1.0/yaml-cpp-0.5.3-vwl3dukjk7fcfa7k4zxutef5p2x5g4tb/lib -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-7.1.0/boost-1.63.0-epszvo6fj2h5mpzd4jw4bp7xbbjenwpv/lib -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-7.1.0/bzip2-1.0.6-kz3ej4h2f5grzgjysql5j7nztzwn4zvv/lib -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/gcc/x86_64-pc-linux-gnu/7.1.0/../../.. /store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/../lib64/libstdc++.so -lm -lc -lgcc_s /store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/gcc/x86_64-pc-linux-gnu/7.1.0/crtendS.o /usr/lib/x86_64-linux-gnu/crtn.o  -m64 -O2 -pthread -m64 -O2 -m64 -O2 -pthread   -pthread -Wl,-soname -Wl,libAPPLgrid.so.0 -o .libs/libAPPLgrid.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libAPPLgrid.so.0" && ln -s "libAPPLgrid.so.0.0.0" "libAPPLgrid.so.0")
libtool: link: (cd ".libs" && rm -f "libAPPLgrid.so" && ln -s "libAPPLgrid.so.0.0.0" "libAPPLgrid.so")
libtool: link: ar cru .libs/libAPPLgrid.a  appl_grid.o appl_igrid.o fastnlo.o appl_timer.o appl_pdf.o nlojet_pdf.o nlojetpp_pdf.o mcfmw_pdf.o mcfmwjet_pdf.o mcfmwc_pdf.o mcfmz_pdf.o mcfmzjet_pdf.o mcfmQQ_pdf.o jetrad_pdf.o dis_pdf.o generic_pdf.o basic_pdf.o combination.o lumi_pdf.o SparseMatrix3d.o hoppet_init.o TFileString.o TFileStringDict.o TFileVector.o TFileVectorDict.o integral.o
libtool: link: ranlib .libs/libAPPLgrid.a
libtool: link: ( cd ".libs" && rm -f "libAPPLgrid.la" && ln -s "../libAPPLgrid.la" "libAPPLgrid.la" )
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC  -I. -I.. -I.  -pthread -m64 -I/usr/include/root    -g -O2 -MT fappl_grid.lo -MD -MP -MF .deps/fappl_grid.Tpo -c -o fappl_grid.lo fappl_grid.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC -I. -I.. -I. -pthread -m64 -I/usr/include/root -g -O2 -MT fappl_grid.lo -MD -MP -MF .deps/fappl_grid.Tpo -c fappl_grid.cxx  -fPIC -DPIC -o .libs/fappl_grid.o
In file included from fappl_grid.cxx:14:0:
../appl_grid/appl_grid.h: In constructor 'appl::grid::exception::exception(std::ostream&)':
../appl_grid/appl_grid.h:63:29: warning: unused parameter 's' [-Wunused-parameter]
     exception(std::ostream& s)      { std::cerr << std::endl; };
                             ^
In file included from ../appl_grid/fastnlo.h:20:0,
                 from fappl_grid.cxx:15:
../appl_grid/appl_pdf.h: In constructor 'appl::appl_pdf::exception::exception(std::ostream&)':
../appl_grid/appl_pdf.h:54:29: warning: unused parameter 's' [-Wunused-parameter]
     exception(std::ostream& s)      { std::cerr << std::endl; };
                             ^
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC -I. -I.. -I. -pthread -m64 -I/usr/include/root -g -O2 -MT fappl_grid.lo -MD -MP -MF .deps/fappl_grid.Tpo -c fappl_grid.cxx -o fappl_grid.o >/dev/null 2>&1
mv -f .deps/fappl_grid.Tpo .deps/fappl_grid.Plo
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC  -I. -I.. -I.  -pthread -m64 -I/usr/include/root    -g -O2 -MT fappl_fitter.lo -MD -MP -MF .deps/fappl_fitter.Tpo -c -o fappl_fitter.lo fappl_fitter.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC -I. -I.. -I. -pthread -m64 -I/usr/include/root -g -O2 -MT fappl_fitter.lo -MD -MP -MF .deps/fappl_fitter.Tpo -c fappl_fitter.cxx  -fPIC -DPIC -o .libs/fappl_fitter.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC -I. -I.. -I. -pthread -m64 -I/usr/include/root -g -O2 -MT fappl_fitter.lo -MD -MP -MF .deps/fappl_fitter.Tpo -c fappl_fitter.cxx -o fappl_fitter.o >/dev/null 2>&1
mv -f .deps/fappl_fitter.Tpo .deps/fappl_fitter.Plo
/bin/bash ../libtool  --tag=CXX   --mode=link g++ -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC  -I. -I.. -I.  -pthread -m64 -I/usr/include/root    -g -O2 -m64 -O2  -L/usr/lib/x86_64-linux-gnu -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -pthread -lm -ldl -rdynamic   -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib64/../lib64   -lgfortran   -o libfAPPLgrid.la -rpath /home/mu227/miniconda3/lib fappl_grid.lo fappl_fitter.lo  
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/x86_64-linux-gnu/crti.o /store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/gcc/x86_64-pc-linux-gnu/7.1.0/crtbeginS.o  .libs/fappl_grid.o .libs/fappl_fitter.o   -Wl,-rpath -Wl,/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/../lib64 -Wl,-rpath -Wl,/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -ldl -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib64/../lib64 /store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/../lib64/libgfortran.so -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/../lib64 -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/gcc/x86_64-pc-linux-gnu/7.1.0 -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/gcc/x86_64-pc-linux-gnu/7.1.0/../../../../lib64 -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib64 -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/isl-0.18-adlwwotz3nfyr3isqesoy4h5vdgtx23j/lib -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/mpc-1.0.3-63ovzd4aopjw5n47apgjy7whmc6i34x4/lib -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/mpfr-3.1.5-l7iothhu6vthli2hczuff2zljsye7l7w/lib -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gmp-6.1.2-euo32oqnviiw42vrw72bjpmgnidbunke/lib -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-7.1.0/yaml-cpp-0.5.3-vwl3dukjk7fcfa7k4zxutef5p2x5g4tb/lib -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-7.1.0/boost-1.63.0-epszvo6fj2h5mpzd4jw4bp7xbbjenwpv/lib -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-7.1.0/bzip2-1.0.6-kz3ej4h2f5grzgjysql5j7nztzwn4zvv/lib -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/gcc/x86_64-pc-linux-gnu/7.1.0/../../.. /store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/../lib64/libstdc++.so -lm -lc -lgcc_s /store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/gcc/x86_64-pc-linux-gnu/7.1.0/crtendS.o /usr/lib/x86_64-linux-gnu/crtn.o  -m64 -O2 -pthread -m64 -O2 -m64 -O2 -pthread   -pthread -Wl,-soname -Wl,libfAPPLgrid.so.0 -o .libs/libfAPPLgrid.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libfAPPLgrid.so.0" && ln -s "libfAPPLgrid.so.0.0.0" "libfAPPLgrid.so.0")
libtool: link: (cd ".libs" && rm -f "libfAPPLgrid.so" && ln -s "libfAPPLgrid.so.0.0.0" "libfAPPLgrid.so")
libtool: link: ar cru .libs/libfAPPLgrid.a  fappl_grid.o fappl_fitter.o
libtool: link: ranlib .libs/libfAPPLgrid.a
libtool: link: ( cd ".libs" && rm -f "libfAPPLgrid.la" && ln -s "../libfAPPLgrid.la" "libfAPPLgrid.la" )
g++ -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC  -I. -I.. -I.  -pthread -m64 -I/usr/include/root    -c combine.cxx
In file included from combine.cxx:18:0:
../appl_grid/appl_grid.h: In constructor ‘appl::grid::exception::exception(std::ostream&)’:
../appl_grid/appl_grid.h:63:29: warning: unused parameter ‘s’ [-Wunused-parameter]
     exception(std::ostream& s)      { std::cerr << std::endl; };
                             ^
/bin/bash ../libtool  --tag=CXX   --mode=link g++ -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC  -I. -I.. -I.  -pthread -m64 -I/usr/include/root    -g -O2 -m64 -L. -lAPPLgrid -L/usr/lib/x86_64-linux-gnu -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -pthread -lm -ldl -rdynamic  -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib64/../lib64   -lgfortran  /store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib64/../lib64/libgfortran.a   -o applgrid-combine combine.o  
libtool: link: g++ -m64 -O2 -DDATADIR=\"/home/mu227/miniconda3/share/applgrid\" -Wall -Wextra -fPIC -I. -I.. -I. -pthread -m64 -I/usr/include/root -g -O2 -m64 -pthread -rdynamic -o .libs/applgrid-combine combine.o  -L. /data/sparticle/mu227/nnpdfgit/external/applgridphoton/src/.libs/libAPPLgrid.so -L/usr/lib/x86_64-linux-gnu -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lm -ldl -L/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib64/../lib64 /store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/../lib64/libgfortran.so /store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib64/../lib64/libgfortran.a -pthread -Wl,-rpath -Wl,/home/mu227/miniconda3/lib -Wl,-rpath -Wl,/store/DAMTP/kk562/Spack_software/opt/spack/linux-ubuntu14-x86_64/gcc-4.7/gcc-7.1.0-zopurv747bz7u4em2w4wmgpqzsdwuuwq/lib/../lib64
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `SSL_CTX_new@OPENSSL_1.0.0'
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `SSL_peek@OPENSSL_1.0.0'
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `SSL_CTX_use_certificate_chain_file@OPENSSL_1.0.0'
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `SSL_CTX_free@OPENSSL_1.0.0'
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `SSL_new@OPENSSL_1.0.0'
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `SSL_get_error@OPENSSL_1.0.0'
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `HMAC@OPENSSL_1.0.0'
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `SSL_write@OPENSSL_1.0.0'
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `SSL_CTX_load_verify_locations@OPENSSL_1.0.0'
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `SSL_CTX_use_PrivateKey_file@OPENSSL_1.0.0'
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `SSL_free@OPENSSL_1.0.0'
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `EVP_sha1@OPENSSL_1.0.0'
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `SSL_set_fd@OPENSSL_1.0.0'
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `SSL_read@OPENSSL_1.0.0'
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `SSL_connect@OPENSSL_1.0.0'
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `SSL_set_quiet_shutdown@OPENSSL_1.0.0'
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `SSLv23_method@OPENSSL_1.0.0'
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `SSL_library_init@OPENSSL_1.0.0'
/usr/lib/x86_64-linux-gnu/libNet.so: undefined reference to `SSL_shutdown@OPENSSL_1.0.0'
collect2: error: ld returned 1 exit status
make[2]: *** [applgrid-combine] Error 1
make[2]: Leaving directory `/data/sparticle/mu227/nnpdfgit/external/applgridphoton/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/sparticle/mu227/nnpdfgit/external/applgridphoton'
make: *** [all] Error 2

[targz] error: Cannot allocate compressed file

Hi,
I am using the miniconda3 installation of libnnpdf and I am running apfel_comb. The code compile and runs, but when it has to write the FK tables I get this error, independently on the database entry I use. See below the output of the running of apfel_comb.
Note that the directory does exist and I can write files on it.

mu227@consist:~/hep/nnpdfgit/apfelcomb $ ls ./results/theory_53/subgrids
mu227@consist:~/hep/nnpdfgit/apfelcomb $ 

Thanks for your help
Maria


mu227@consist:~/hep/nnpdfgit/apfelcomb $ ./apfel_comb dis 18 53

  ███╗   ██╗███╗   ██╗██████╗ ██████╗ ███████╗ 
  ████╗  ██║████╗  ██║██╔══██╗██╔══██╗██╔════╝ 
  ██╔██╗ ██║██╔██╗ ██║██████╔╝██║  ██║█████╗   
  ██║╚██╗██║██║╚██╗██║██╔═══╝ ██║  ██║██╔══╝ 
  ██║ ╚████║██║ ╚████║██║     ██████╔╝██║ 
  ╚═╝  ╚═══╝╚═╝  ╚═══╝╚═╝     ╚═════╝ ╚═╝ 2012-2015
  ____ver____ : 1.2.0b5, __coredevs__ : N.H., S.C.

************************************************************
                          APFELcomb                        
************************************************************
   
 WARNING: FONLL-C is a VFN scheme
          ... setting VFNS PDF evolution
 WARNING: FONLL-C is a NNLO scheme
          ... setting NNLO perturbative order
 WARNING: computation of the evolution operator possible only on locked subgrids
          ... locking subgrids
 
 Welcome to 
      _/_/_/    _/_/_/_/   _/_/_/_/   _/_/_/_/   _/
    _/    _/   _/    _/   _/         _/         _/
   _/_/_/_/   _/_/_/_/   _/_/_/     _/_/_/     _/
  _/    _/   _/         _/         _/         _/
 _/    _/   _/         _/         _/_/_/_/   _/_/_/_/
 _____v3.0.2-A PDF Evolution Library, arXiv:1310.1394
      Authors: V. Bertone, S. Carrazza, J. Rojo
 
 Report of the evolution parameters:
   
 QCD evolution
 Space-like evolution (PDFs)
 Unpolarized evolution
 Evolution scheme: VFNS at N2LO
 Solution of the DGLAP equation: 'truncated' with maximum 5 active flavours
 - value of the truncation parameter epsilon = 1.000E-01
 Solution of the coupling equations: 'expanded' with maximum 5 active flavours
 Coupling reference value:
 - AlphaQCD( 91.2000 GeV) =  0.118000
 Pole heavy quark masses:
 - Mc =   1.5100 GeV
 - Mb =   4.9200 GeV
 - Mt = 172.5000 GeV
 The matching thresholds coincide with the physical masses
 muR / muF =  1.0000
  
 Allowed evolution range [   1.6500 :      9.9514 ] GeV
 The internal subgrids will be locked
 Computation of the evolution operator enabled
 
 Initialization of the evolution completed in   2.000 s
  
 Report of the electroweak parameters:
   
 Mass of the Z = 91.188 GeV
 Mass of the W = 80.398 GeV
 Mass of the proton = 0.9380 GeV
 sin^2(thetaW) = 0.2313
 GFermi = 1.16638E-05
       | 0.9743 0.2253 0.0035 |
 CKM = | 0.2252 0.9735 0.0410 |
       | 0.0086 0.0403 0.9992 |
 Z propagator correction = 0.00000
   
 Report of the DIS parameters:
   
 Computation in the FONLL-C mass scheme
 Electromagnetic (EM) process
 Scattering electron - proton   
 muR / Q =  1.0000
 muF / Q =  1.0000
 Target Mass corrections enabled
 FONLL damping factor disabled
 Intrinsic charm enabled
 
 Initialization of the DIS module completed in  86.913 s
  
 Initialising  50 points starting from x = 0.00149998
   
 WARNING: FONLL-C is a VFN scheme
          ... setting VFNS PDF evolution
 WARNING: FONLL-C is a NNLO scheme
          ... setting NNLO perturbative order
************************************************************
                        Combination                  
-- Completed in 2 minutes 15:36 11/24/17.
************************************************************
                        Verification                  
-- Completed in 2 minutes 15:39 11/24/17.
<idat>    <FK>           <Source>       <Rel.Err>      
0         0              0              nan            
1         0              0              nan            
2         0              0              nan            
3         0              0              nan            
4         0              0              nan            
5         0              0              nan            
6         0              0              nan            
7         0              0              nan            
8         0              0              nan            
9         0              0              nan            
10        0              0              nan            
11        0              0              nan            
12        0              0              nan            
13        0              0              nan            
14        0              0              nan            
15        0              0              nan            
16        0              0              nan            
17        0              0              nan            
18        0              0              nan            
19        0              0              nan            
20        0              0              nan            
21        0              0              nan            
22        0              0              nan            
23        0              0              nan            
24        0              0              nan            
25        0              0              nan            
26        0              0              nan            
27        0              0              nan            
28        0              0              nan            
29        0              0              nan            
30        0              0              nan            
31        0.3715         0.3715         5.792e-06      
32        0.3997         0.3997         7.143e-06      
33        0              0              nan            
34        0              0              nan            
35        0              0              nan            
36        0              0              nan            
37        0              0              nan            
38        0              0              nan            
39        0              0              nan            
40        0              0              nan            
41        0              0              nan            
42        0              0              nan            
43        0.3617         0.3617         7.908e-06      
44        0.3841         0.3841         1.054e-05      
45        0.4088         0.4088         1.33e-05       
46        0.4272         0.4272         1.609e-05      
47        0              0              nan            
48        0              0              nan            
49        0              0              nan            
50        0              0              nan            
51        0              0              nan            
52        0              0              nan            
53        0              0              nan            
54        0              0              nan            
55        0              0              nan            
56        0.3562         0.3562         1.128e-05      
57        0.3756         0.3755         1.403e-05      
58        0.3956         0.3956         1.836e-05      
59        0.412          0.412          2.195e-05      
60        0.4293         0.4293         2.671e-05      
61        0              0              nan            
62        0              0              nan            
63        0              0              nan            
64        0              0              nan            
65        0              0              nan            
66        0              0              nan            
67        0              0              nan            
68        0              0              nan            
69        0              0              nan            
70        0.353          0.353          1.51e-05       
71        0.3677         0.3677         1.85e-05       
72        0.3843         0.3843         2.349e-05      
73        0.3972         0.3972         2.888e-05      
74        0.4119         0.4119         3.61e-05       
75        0.4277         0.4277         4.59e-05       
76        0              0              nan            
77        0              0              nan            
78        0              0              nan            
79        0              0              nan            
80        0              0              nan            
81        0              0              nan            
82        0              0              nan            
83        0              0              nan            
84        0.3515         0.3515         1.93e-05       
85        0.3632         0.3632         2.383e-05      
86        0.3757         0.3757         3.061e-05      
87        0.3859         0.3859         3.761e-05      
88        0.3973         0.3973         4.672e-05      
89        0.4098         0.4097         5.881e-05      
90        0.4213         0.4212         7.492e-05      
91        0.4318         0.4317         9.221e-05      
92        0              0              nan            
93        0              0              nan            
94        0              0              nan            
95        0              0              nan            
96        0              0              nan            
97        0              0              nan            
98        0              0              nan            
99        0.3509         0.3509         2.414e-05      
100       0.3595         0.3595         3.076e-05      
101       0.3687         0.3687         3.944e-05      
102       0.3758         0.3758         4.778e-05      
103       0.3839         0.3839         5.977e-05      
104       0.3928         0.3927         7.64e-05       
105       0.401          0.4009         9.66e-05       
106       0.4092         0.4092         0.0001236      
107       0.4173         0.4173         0.0001584      
108       0              0              nan            
109       0              0              nan            
110       0              0              nan            
111       0              0              nan            
112       0              0              nan            
113       0              0              nan            
114       0.3502         0.3502         3.054e-05      
115       0.356          0.356          3.787e-05      
116       0.3622         0.3622         4.873e-05      
117       0.3669         0.3669         5.922e-05      
118       0.3723         0.3722         7.388e-05      
119       0.3778         0.3778         9.489e-05      
120       0.3831         0.383          0.0001201      
121       0.3885         0.3884         0.0001553      
122       0.3939         0.3938         0.000203       
123       0.3988         0.3987         0.0002666      
124       0              0              nan            
125       0              0              nan            
126       0              0              nan            
127       0              0              nan            
128       0              0              nan            
129       0.3484         0.3484         3.498e-05      
130       0.3524         0.3524         4.445e-05      
131       0.3563         0.3563         5.63e-05       
132       0.3593         0.3593         6.858e-05      
133       0.3627         0.3627         8.597e-05      
134       0.3662         0.3661         0.0001098      
135       0.3692         0.3692         0.0001387      
136       0.3725         0.3725         0.0001802      
137       0.3758         0.3757         0.0002371      
138       0.3786         0.3785         0.0003137      
139       0.3812         0.381          0.0004106      
140       0              0              nan            
141       0              0              nan            
142       0              0              nan            
143       0              0              nan            
144       0.3454         0.3453         3.809e-05      
145       0.3479         0.3479         4.929e-05      
146       0.3502         0.3502         6.228e-05      
147       0.3519         0.3519         7.576e-05      
148       0.3537         0.3537         9.507e-05      
149       0.3556         0.3555         0.000122       
150       0.3571         0.3571         0.0001552      
151       0.3586         0.3586         0.0002006      
152       0.3601         0.36           0.0002646      
153       0.3615         0.3613         0.0003528      
154       0.3625         0.3624         0.000466       
155       0.3632         0.363          0.0005895      
156       0              0              nan            
157       0              0              nan            
158       0              0              nan            
159       0.3383         0.3383         4.194e-05      
160       0.3391         0.339          5.588e-05      
161       0.3395         0.3395         6.986e-05      
162       0.3397         0.3396         8.56e-05       
163       0.3397         0.3397         0.0001062      
164       0.3396         0.3395         0.0001367      
165       0.3394         0.3393         0.0001736      
166       0.339          0.339          0.0002254      
167       0.3385         0.3384         0.0002982      
168       0.3379         0.3378         0.0003977      
169       0.3372         0.337          0.0005254      
170       0.3364         0.3361         0.0006949      
171       0              0              nan            
172       0              0              nan            
173       0.3247         0.3247         4.895e-05      
174       0.3237         0.3236         6.095e-05      
175       0.3222         0.3222         7.767e-05      
176       0.3208         0.3208         9.52e-05       
177       0.3191         0.3191         0.0001188      
178       0.3171         0.3171         0.0001526      
179       0.3152         0.3151         0.000193       
180       0.313          0.313          0.0002506      
181       0.3107         0.3106         0.0003314      
182       0.3082         0.3081         0.0004435      
183       0.3058         0.3057         0.0005865      
184       0.3035         0.3032         0.000776       
185       0.301          0.3007         0.001035       
186       0              0              nan            
187       0.3049         0.3049         5.291e-05      
188       0.3022         0.3022         6.606e-05      
189       0.2991         0.2991         8.418e-05      
190       0.2965         0.2965         0.0001023      
191       0.2933         0.2932         0.0001296      
192       0.2899         0.2898         0.0001644      
193       0.2866         0.2865         0.0002082      
194       0.283          0.2829         0.0002706      
195       0.2793         0.2792         0.0003582      
196       0.2754         0.2753         0.0004804      
197       0.2718         0.2716         0.0006362      
198       0.2683         0.2681         0.0008405      
199       0.2647         0.2644         0.001127       
200       0.2787         0.2786         5.7e-05        
201       0.275          0.2749         6.996e-05      
202       0.2704         0.2704         8.875e-05      
203       0.2668         0.2668         0.0001081      
204       0.2626         0.2626         0.0001352      
205       0.2579         0.2579         0.0001743      
206       0.2536         0.2536         0.0002204      
207       0.249          0.2489         0.0002871      
208       0.2442         0.2441         0.0003794      
209       0.2394         0.2393         0.0005087      
210       0.2349         0.2348         0.0006755      
211       0.2307         0.2305         0.0008931      
212       0.2263         0.2261         0.001203       
213       0.2214         0.2211         0.001712       
214       0.2293         0.2293         7.564e-05      
215       0.2241         0.2241         9.4e-05        
216       0.2195         0.2195         0.0001136      
217       0.2144         0.2144         0.0001416      
218       0.2089         0.2088         0.0001825      
219       0.2036         0.2036         0.0002327      
220       0.1983         0.1983         0.0003012      
221       0.1928         0.1928         0.0003993      
222       0.1874         0.1873         0.000536       
223       0.1825         0.1823         0.0007124      
224       0.1778         0.1776         0.0009451      
225       0.1731         0.1729         0.001273       
226       0.1671         0.1667         0.001926       
227       0.1631         0.163          9.504e-05      
228       0.1584         0.1584         0.0001144      
229       0.1527         0.1526         0.0001444      
230       0.1468         0.1468         0.0001855      
231       0.1416         0.1416         0.0002351      
232       0.136          0.136          0.0003082      
233       0.1306         0.1306         0.0004094      
234       0.1254         0.1253         0.0005508      
235       0.1207         0.1206         0.0007339      
236       0.1164         0.1163         0.0009777      
237       0.1122         0.1121         0.001318       
238       0.1066         0.1063         0.002032       
239       0.105          0.105          0.00011        
240       0.09991        0.0999         0.0001368      
241       0.09434        0.09432        0.0001781      
242       0.08953        0.08951        0.0002278      
243       0.08461        0.08458        0.0002999      
244       0.07995        0.07991        0.0004013      
245       0.07554        0.0755         0.0005431      
246       0.07173        0.07167        0.0007291      
247       0.06833        0.06827        0.000971       
248       0.06506        0.06497        0.001315       
249       0.06073        0.0606         0.002055       
250       0.05031        0.0503         0.0001183      
251       0.0462         0.04619        0.0001519      
252       0.0424         0.04239        0.0001988      
253       0.03881        0.0388         0.0002663      
254       0.03549        0.03548        0.0003632      
255       0.03262        0.0326         0.0004952      
256       0.03019        0.03017        0.0006736      
257       0.02812        0.02809        0.0009087      
258       0.02619        0.02616        0.001245       
259       0.02375        0.0237         0.001973       
terminate called after throwing an instance of 'NNPDF::RuntimeException'
  what():  [targz] error: Cannot allocate compressed file ./results/theory_53/subgrids/FK_NMCPD_D_18.subgrid.dat
Aborted (core dumped)

Segmentation fault running apfelcomb

Hi Zahari,
I still encounter the "segmentation fault" issue when running APFEL comb (see below).
I have already updated all packages in conda and using the newest version of apfel (modified to include EFT operators) so I am not sure of what might be wrong...

(eft-dev) mu227@queens:/data/sparticle/mu227/nnpdfgit/apfelcomb $ apfel-config --version 3.0.4

`(eft-dev) mu227@queens:/data/sparticle/mu227/nnpdfgit/apfelcomb $ ./apfel_comb dis 1 173

███╗ ██╗███╗ ██╗██████╗ ██████╗ ███████╗
████╗ ██║████╗ ██║██╔══██╗██╔══██╗██╔════╝
██╔██╗ ██║██╔██╗ ██║██████╔╝██║ ██║█████╗
██║╚██╗██║██║╚██╗██║██╔═══╝ ██║ ██║██╔══╝
██║ ╚████║██║ ╚████║██║ ██████╔╝██║
╚═╝ ╚═══╝╚═╝ ╚═══╝╚═╝ ╚═════╝ ╚═╝ 2012-2015
ver : 1.2.0b5, coredevs : N.H., S.C.


                      APFELcomb                        

EScaleVar: 0

WARNING: FONLL-B is a VFN scheme
... setting VFNS PDF evolution
WARNING: FONLL-B is a NLO scheme
... setting NLO perturbative order
WARNING: computation of the evolution operator possible only on locked subgrids
... locking subgrids

Welcome to
/// //// //// ///_/ _/
_/ / / / / / /
//
/
/ //
/
/ //
/ //
/ _/
_/ _/ _/ _/ _/ _/
/ / / / //// ////
_____v3.0.4 A PDF Evolution Library, arXiv:1310.1394
Authors: V. Bertone, S. Carrazza, J. Rojo

Report of the evolution parameters:

QCD evolution
Space-like evolution (PDFs)
Unpolarized evolution
Evolution scheme: VFNS at N1LO
Solution of the DGLAP equation: 'truncated' with maximum 5 active flavours

  • value of the truncation parameter epsilon = 1.000E-01
    Solution of the coupling equations: 'expanded' with maximum 5 active flavours
    Coupling reference value:
  • AlphaQCD( 91.2000 GeV) = 0.118000
    Pole heavy quark masses:
  • Mc = 1.5100 GeV
  • Mb = 4.9200 GeV
  • Mt = 172.5000 GeV
    Heavy quark thresholds:
  • Mthc = 1.5100 GeV
  • Mthb = 9.8400 GeV
  • Mtht = 172.5000 GeV
    muR / muF = 1.0000

Allowed evolution range [ 1.6500 : 15000.0000 ] GeV
The internal subgrids will be locked
Computation of the evolution operator enabled

Initialization of the evolution completed in 1.725 s

Report of the electroweak parameters:

Mass of the Z = 91.188 GeV
Mass of the W = 80.398 GeV
Mass of the proton = 0.9380 GeV
sin^2(thetaW) = 0.2313
GFermi = 1.16638E-05
| 0.9743 0.2253 0.0035 |
CKM = | 0.2252 0.9735 0.0410 |
| 0.0086 0.0403 0.9992 |
Z propagator correction = 0.00000

Report of the DIS parameters:

Computation in the FONLL-B mass scheme
Electromagnetic (EM) process
Scattering electron - proton
muR / Q = 0.5000
muF / Q = 0.5000
(No scale variation in the evolution)
Target Mass corrections enabled
FONLL damping factor disabled for all heavy quarks
Intrinsic charm enabled

Initialization of the DIS module completed in 74.735 s

Initialising 50 points starting from x = 0.0699633

WARNING: FONLL-B is a VFN scheme
... setting VFNS PDF evolution
WARNING: FONLL-B is a NLO scheme
... setting NLO perturbative order
Segmentation fault (core dumped)`

possible error in the computations of DIS FKtables

I have experienced some problems in the generations of the DIS FKtables using a new resummed theory (200) that @enocera and I are testing. In particular, at high values of Q some of the results are off by several order of magnitudes. I think I traced the error to the Q range with which APFEL is initialized; currently, Qmax = sqrt(Q2max), where Q2max is the maximum value of Q2 in the dataset. I tried to raise the Qmax value and the errors are not there anymore. I would push a pull request which fixes this error by setting the Qmax range to 2*Qmax to avoid rounding errors

Define theory metadata format

Seems to me the discussion clearly belongs here.

It seems we all agree that it would be good to have a theory metadata file containing:

  • Citations for the theory calculation/code [string/required].
  • Description of the setup of external codes [text/optional].
  • COMPOUND specification [mapping/optional].
  • Default cfactors for NLO and NNLO [mapping/optional].

There are open questions on whether to expand this to include some/all of the database settings in apfelcomb. The motivations are consolidated settings and better version control. The downside is that it requires a lot of not particularly interesting work for relatively little return.
One option could be having a small number of yaml settings write the sqlite database only to interface with the existing code. The script to do that would be trivial in python.

*** stack smashing detected ***

Hi all,
I was given a new machin on my return in department. While I could finally run apfelcomb on the previous machine, with this one I can compile but the run suddenly stops with the message below.
Any idea on what I could do to solve this issue?

`eft-dev) mu227@queens:/data/sparticle/mu227/nnpdfgit/apfelcomb $ ./apfel_comb dis 1 53
  ███╗   ██╗███╗   ██╗██████╗ ██████╗ ███████╗ 
  ████╗  ██║████╗  ██║██╔══██╗██╔══██╗██╔════╝ 
  ██╔██╗ ██║██╔██╗ ██║██████╔╝██║  ██║█████╗   
  ██║╚██╗██║██║╚██╗██║██╔═══╝ ██║  ██║██╔══╝ 
  ██║ ╚████║██║ ╚████║██║     ██████╔╝██║ 
  ╚═╝  ╚═══╝╚═╝  ╚═══╝╚═╝     ╚═════╝ ╚═╝ 2012-2015
  ____ver____ : 1.2.0b5, __coredevs__ : N.H., S.C.

************************************************************
                          APFELcomb                        
************************************************************
   
 WARNING: FONLL-B is a VFN scheme
          ... setting VFNS PDF evolution
 WARNING: FONLL-B is a NLO scheme
          ... setting NLO perturbative order
 WARNING: computation of the evolution operator possible only on locked subgrids

          ... locking subgrids
 
 Welcome to 
      _/_/_/    _/_/_/_/   _/_/_/_/   _/_/_/_/   _/
    _/    _/   _/    _/   _/         _/         _/
   _/_/_/_/   _/_/_/_/   _/_/_/     _/_/_/     _/
  _/    _/   _/         _/         _/         _/
 _/    _/   _/         _/         _/_/_/_/   _/_/_/_/
 _____v3.0.2-A PDF Evolution Library, arXiv:1310.1394
      Authors: V. Bertone, S. Carrazza, J. Rojo
 
*** stack smashing detected ***: ./apfel_comb terminated
Aborted (core dumped)

New Error running APFELcomb: too many steps!

I have installed APFELcomb without any problem on the HPC cluster in Cambridge and now I want to generate FK tables. However I get this error that I never had in the past. Can anybody help me??
Thanks
Maria

`[mu227@login-e-12 apfelcomb]$ ./apfel_comb dis 40 181

███╗ ██╗███╗ ██╗██████╗ ██████╗ ███████╗
████╗ ██║████╗ ██║██╔══██╗██╔══██╗██╔════╝
██╔██╗ ██║██╔██╗ ██║██████╔╝██║ ██║█████╗
██║╚██╗██║██║╚██╗██║██╔═══╝ ██║ ██║██╔══╝
██║ ╚████║██║ ╚████║██║ ██████╔╝██║
╚═╝ ╚═══╝╚═╝ ╚═══╝╚═╝ ╚═════╝ ╚═╝ 2012-2015
ver : 1.2.0b5, coredevs : N.H., S.C.


                      APFELcomb                        

EScaleVar: 1

WARNING: FONLL-C is a VFN scheme
... setting VFNS PDF evolution
WARNING: FONLL-C is a NNLO scheme
... setting NNLO perturbative order
WARNING: computation of the evolution operator possible only on locked subgrids
... locking subgrids

Welcome to
/// //// //// ///_/ _/
_/ / / / / / /
//
/
/ //
/
/ //
/ //
/ _/
_/ _/ _/ _/ _/ _/
/ / / / //// ////
_____v3.0.4 A PDF Evolution Library, arXiv:1310.1394
Authors: V. Bertone, S. Carrazza, J. Rojo

Report of the evolution parameters:

QCD evolution
Space-like evolution (PDFs)
Unpolarized evolution
Evolution scheme: VFNS at N2LO
Solution of the DGLAP equation: 'truncated' with maximum 5 active flavours

  • value of the truncation parameter epsilon = 1.000E-01
    Solution of the coupling equations: 'expanded' with maximum 5 active flavours
    Coupling reference value:
  • AlphaQCD( 91.2000 GeV) = 0.118000
    Pole heavy quark masses:
  • Mc = 1.5100 GeV
  • Mb = 4.9200 GeV
  • Mt = 172.5000 GeV
    The matching thresholds coincide with the physical masses
    muR / muF = 1.0000

Allowed evolution range [ 1.6500 : 44.7214 ] GeV
The internal subgrids will be locked
Computation of the evolution operator enabled

Initialization of the evolution completed in 1.418 s

Report of the electroweak parameters:

Mass of the Z = 91.188 GeV
Mass of the W = 80.398 GeV
Mass of the proton = 0.9380 GeV
sin^2(thetaW) = 0.2313
GFermi = 1.16638E-05
| 0.9743 0.2253 0.0035 |
CKM = | 0.2252 0.9735 0.0410 |
| 0.0086 0.0403 0.9992 |
Z propagator correction = 0.00000

Report of the DIS parameters:

Computation in the FONLL-C mass scheme
Electromagnetic (EM) process
Scattering electron - proton
muR / Q = 1.0000
muF / Q = 1.0000
Target Mass corrections enabled
FONLL damping factor disabled for all heavy quarks
Intrinsic charm enabled

Initialization of the DIS module completed in 49.519 s

Initialising 50 points starting from x = 0.0002

WARNING: FONLL-C is a VFN scheme
... setting VFNS PDF evolution
WARNING: FONLL-C is a NNLO scheme
... setting NNLO perturbative order


                    Combination                  

In odeintns.f:
too many steps!`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.