GithubHelp home page GithubHelp logo

Comments (12)

scarlehoff avatar scarlehoff commented on August 22, 2024 2

I just tried it (did pip install -U pineappl and tried to rerun the one that was failing) and seems to work.
Thanks!

from pineko.

cschwan avatar cschwan commented on August 22, 2024 1

Here's the new release: https://pypi.org/project/pineappl/0.6.2/.

from pineko.

scarlehoff avatar scarlehoff commented on August 22, 2024

Note that for the operator cards I'm using the template in here https://github.com/NNPDF/theories_slim/blob/main/data/operator_cards/400/_template.yaml

from pineko.

cschwan avatar cschwan commented on August 22, 2024

Note that for the operator cards I'm using the template in here https://github.com/NNPDF/theories_slim/blob/main/data/operator_cards/400/_template.yaml

Isn't that exactly the problem? The missing x-grid point isn't in the template file.

from pineko.

felixhekhorn avatar felixhekhorn commented on August 22, 2024

some relevant piece of information:

  1. grids are different:
felix@FHe19b:~/Physik/N3PDF/FK/lo_fail$ pineappl  subgrids --x1 ATLASWZRAP36PB-ATLAS-arXiv\:1109.5141-Z0_eta34.pineappl.lz4 
o b l                                                                                                                                                      x1
-+-+--+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0 0 0  4.481e-2, 4.181e-2, 3.897e-2, 3.629e-2, 3.377e-2, 3.141e-2, 2.918e-2, 2.710e-2, 2.515e-2, 2.332e-2, 2.162e-2, 2.002e-2, 1.854e-2, 1.715e-2, 1.587e-2, 1.467e-2, 1.355e-2, 1.252e-2, 1.156e-2, 1.067e-2, 9.848e-3, 9.084e-3, 8.378e-3, 7.724e-3, 7.120e-3, 6.561e-3, 6.045e-3, 5.568e-3, 5.128e-3, 4.722e-3
[...]
1 7 11 1.000e0, 9.596e-1, 9.196e-1, 8.798e-1, 8.404e-1, 8.013e-1, 7.626e-1, 7.244e-1, 6.865e-1, 6.491e-1, 6.122e-1, 5.759e-1, 5.401e-1, 5.050e-1, 4.705e-1, 4.368e-1, 4.039e-1, 3.718e-1, 3.407e-1, 3.106e-1, 2.816e-1, 2.538e-1, 2.273e-1, 2.022e-1, 1.785e-1, 1.564e-1, 1.359e-1, 1.171e-1, 9.999e-2, 8.467e-2

vs.

felix@FHe19b:~/Physik/N3PDF/FK/nlo_ok$ pineappl subgrids --x1 ATLASWZRAP36PB-ATLAS-arXiv\:1109.5141-Z0_eta34.pineappl.lz4 
o b l                                                                                                                                                                                                       x1
-+-+--+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0 0 0  3.621e-4, 5.488e-4, 8.314e-4, 1.259e-3, 1.903e-3, 2.874e-3, 4.329e-3, 6.496e-3, 9.699e-3, 1.438e-2, 2.109e-2, 3.052e-2, 4.341e-2, 6.048e-2, 8.228e-2, 1.091e-1, 1.411e-1, 1.780e-1, 2.195e-1, 2.651e-1, 3.144e-1, 3.669e-1, 4.222e-1, 4.799e-1, 5.398e-1, 6.015e-1, 6.648e-1, 7.296e-1, 7.956e-1, 8.628e-1, 9.309e-1, 1.000e0
[...]
0 7 31 1.292e-5, 1.960e-5, 2.974e-5, 4.511e-5, 6.844e-5, 1.038e-4, 1.575e-4, 2.388e-4, 3.621e-4, 5.488e-4, 8.314e-4, 1.259e-3, 1.903e-3, 2.874e-3, 4.329e-3, 6.496e-3, 9.699e-3, 1.438e-2, 2.109e-2, 3.052e-2, 4.341e-2, 6.048e-2, 8.228e-2, 1.091e-1, 1.411e-1, 1.780e-1, 2.195e-1, 2.651e-1, 3.144e-1, 3.669e-1, 4.222e-1, 4.799e-1, 5.398e-1, 6.015e-1, 6.648e-1, 7.296e-1, 7.956e-1, 8.628e-1, 9.309e-1, 1.000e0

@scarlehoff why does LO have two orders?
2) the metadata.yaml in either eko is identical

so there seems to be a problem on reinterpolation

Isn't that exactly the problem? The missing x-grid point isn't in the template file.

they are added later on (since they are always dynamic)

from pineko.

alecandido avatar alecandido commented on August 22, 2024

But are you using exactly the template as operator, or do you replace the x-grid? (as it should happen automatically)

from pineko.

scarlehoff avatar scarlehoff commented on August 22, 2024

order_mask = pineappl.grid.Order.create_mask(grid.orders(), max_as, max_al, True)

Asking pineappl for the information at one order higher for the evol_info seems to do the trick for now... still running though.

max_as += 1
order_mask = pineappl.grid.Order.create_mask(grid.orders(), max_as, max_al, True)
evol_info = grid.evolve_info(order_mask)
max_as -= 1
order_mask = pineappl.grid.Order.create_mask(grid.orders(), max_as, max_al, True)

from pineko.

cschwan avatar cschwan commented on August 22, 2024

That's very strange and it would mean that there's a bug somewhere.

from pineko.

cschwan avatar cschwan commented on August 22, 2024

@scarlehoff why does LO have two orders? 2) the metadata.yaml in either eko is identical

Even stranger (?) is that NLO has one order. It looks like they have been swapped.

from pineko.

scarlehoff avatar scarlehoff commented on August 22, 2024

Sorry, this is my mistake. In the NLO folder there is the output fktable, not the grid.
I'm using the same grid in both cases.

Edit: I've updated OP with the right .zip file for NLO separating grid and fktable.

from pineko.

scarlehoff avatar scarlehoff commented on August 22, 2024

Some more details.

Failure (running at LO):

grid.orders()=[<pineappl.grid.Order object at 0x7fd413bf5f00>, <pineappl.grid.Order object at 0x7fd413bf5960>]
max_as=1
max_al=0
order_mask=array([ True, False])

Success (manually doing max_as=2)

grid.orders()=[<pineappl.grid.Order object at 0x7fa81025df00>, <pineappl.grid.Order object at 0x7fa81025d210>]
max_as=2
max_al=0
order_mask=array([ True,  True])

I've tried to pad the order_mask with 9 extra False but nothing changes.

from pineko.

cschwan avatar cschwan commented on August 22, 2024

This is indeed a problem in PineAPPL, and I've fixed it in this commit: NNPDF/pineappl@ff235ac. The solution for this bug then is to depend on PineAPPL >=0.6.2, which I'm preparing right now.

from pineko.

Related Issues (20)

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.