Closed flonigro closed 4 months ago
Hi, you need an older version of numpy.
See this issue for example, they suggest to install version 1.23.5. https://stackoverflow.com/questions/75069062/module-numpy-has-no-attribute-object
Something must have gone wrong in the build of your conda environment, this should be dealt with automatically.
Thank you, @LucaMantani! Now I can run vp-setupfit run1.yml, then, I tried with "n3fit run1.yml 20" (just to see how it works) and "evolven3fit run1 20". With evolven3fit, I get the following:
(simunet) turing@LAPTOP-TSOLFVVP:~/simunet_git/SIMUnet/n3fit/runcards/examples/simunet_examples$ evolven3fit run1 20
Theory ID = 270
Skipping exportgrid (missing file): run1/nnfit/replica_1/run1.exportgrid
Skipping exportgrid (missing file): run1/nnfit/replica_2/run1.exportgrid
Skipping exportgrid (missing file): run1/nnfit/replica_3/run1.exportgrid
Skipping exportgrid (missing file): run1/nnfit/replica_4/run1.exportgrid
Skipping exportgrid (missing file): run1/nnfit/replica_5/run1.exportgrid
Skipping exportgrid (missing file): run1/nnfit/replica_6/run1.exportgrid
Skipping exportgrid (missing file): run1/nnfit/replica_7/run1.exportgrid
Skipping exportgrid (missing file): run1/nnfit/replica_8/run1.exportgrid
Skipping exportgrid (missing file): run1/nnfit/replica_9/run1.exportgrid
Skipping exportgrid (missing file): run1/nnfit/replica_10/run1.exportgrid
Skipping exportgrid (missing file): run1/nnfit/replica_11/run1.exportgrid
Skipping exportgrid (missing file): run1/nnfit/replica_12/run1.exportgrid
Skipping exportgrid (missing file): run1/nnfit/replica_13/run1.exportgrid
Skipping exportgrid (missing file): run1/nnfit/replica_14/run1.exportgrid
Skipping exportgrid (missing file): run1/nnfit/replica_15/run1.exportgrid
Skipping exportgrid (missing file): run1/nnfit/replica_16/run1.exportgrid
Skipping exportgrid (missing file): run1/nnfit/replica_17/run1.exportgrid
Skipping exportgrid (missing file): run1/nnfit/replica_18/run1.exportgrid
Skipping exportgrid (missing file): run1/nnfit/replica_19/run1.exportgrid
Read ExportGrid from: run1/nnfit/replica_20/run1.exportgrid
- Initialising evolution with 196 x-points
WARNING: if there are external grids they cannot be locked
... unlocking subgrids
Welcome to
_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/
_/ _/ _/ _/ _/ _/ _/
_/_/_/_/ _/_/_/_/ _/_/_/ _/_/_/ _/
_/ _/ _/ _/ _/ _/
_/ _/ _/ _/ _/_/_/_/ _/_/_/_/
_____v3.0.7 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-02
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 : 100000.0000 ] GeV
Computation of the evolution operator enabled
In particular, with "vp-setupfit", I get :
(simunet) turing@LAPTOP-TSOLFVVP:~/simunet_git/SIMUnet/n3fit/runcards/examples/simunet_examples$ vp-setupfit run1.yml
[WARNING]: Using q2min from runcard
[WARNING]: Using w2min from runcard
Using Keras backend
[INFO]: All requirements processed and checked successfully. Executing actions.
[INFO]: Verifying positivity tables:
[INFO]: POSF2U checked.
[INFO]: Filtering real data.
[INFO]: 204/209 datapoints in HERACOMBNCEP460 passed kinematic cuts.
[INFO]: 41/41 datapoints in CMSDY1D12 passed kinematic cuts.
[INFO]: 1/1 datapoints in ATLASTTBARTOT7TEV passed kinematic cuts.
[INFO]: 1/1 datapoints in ATLAS_TTBAR_8TEV_ASY passed kinematic cuts.
[INFO]: 1/1 datapoints in ATLAS_TTBARZ_8TEV_TOTAL passed kinematic cuts.
[INFO]: 1/1 datapoints in ATLAS_TTBARW_8TEV_TOTAL passed kinematic cuts.
[INFO]: 1/1 datapoints in ATLAS_SINGLETOP_TCH_7TEV_T passed kinematic cuts.
[INFO]: 1/1 datapoints in ATLAS_SINGLETOPW_8TEV_TOTAL passed kinematic cuts.
[INFO]: 2/2 datapoints in ATLAS_WHEL_13TEV passed kinematic cuts.
[INFO]: 1/1 datapoints in ATLAS_TTBARGAMMA_8TEV_TOTAL passed kinematic cuts.
[INFO]: 1/1 datapoints in ATLAS_SINGLETOPZ_13TEV_TOTAL passed kinematic cuts.
[INFO]: 19/19 datapoints in LEP_ZDATA passed kinematic cuts.
[INFO]: 22/22 datapoints in ATLAS_CMS_SSINC_RUNI passed kinematic cuts.
[INFO]: 10/10 datapoints in LEP_EEWW_182GEV passed kinematic cuts.
Killed
Should I open an other issue?
In evolven3fit, it says that the files are missing, like the fit has not been performed. Not sure about the vp-setupfit, there is no error message in what you posted 😕
Ok, thank you @LucaMantani !
I just ran again "evolven3fit run1 20" and it seems that the computation of the evolution operator has been done, even if I still get the message about the missing file.
In [run1/nnfit/replica_20
] folder, I see all files, as stated in Documentation page "Simultaneous Fits", with also run1.dat and weights.h5.
Hi @flonigro , I'll close this issue as the numpy problem has been solved I believe. For the missing files in the evolution step it looks like something went wrong in the previous step. If you are still struggling with it please feel free to open a new dedicated issue for it with more details about the error.
When I run "vp-setupfit run1.yml", where run1.yml is the runcard from the documentation page "Simultaneous Fits", I get the following error: