NNPDF / pinefarm

Generate PineAPPL grids from PineCards
https://pinefarm.readthedocs.io
GNU General Public License v3.0
1 stars 0 forks source link

Issues with nnlojet runcard autogeneration #73

Open scarlehoff opened 5 months ago

scarlehoff commented 5 months ago

Please comment with other problems you find.

achiefa commented 5 months ago

HI @scarlehoff, I've just realised that the warmup for the VV channel didn't go through. In particular, I get a segmentation fault at the first iteration, as shown below

 ------------------------------------------------
 loadNextContrib_chan: loaded VV ...
 warmup...
  > > Entering legacy wrapper for NNLOJET with Vegas! < <
 Entering New Vegas
  $ OMP active
  $ Maximum number of threads:            2
  $ Number of threads selected:            2
Commencing iteration n 1
Number of events: 5000000
Segmentation fault (core dumped)

Note that for all the other channels I was able to complete the warmup. I've also tried to use a different dataset, but nonetheless I come across the same problem with the VV channel.

scarlehoff commented 5 months ago

That's strange (since all the other channels are running). Can you send me a runcard?

(do you see the same problem if you run locally in the node?)

export OMP_NUM_THREADS=1
export OMP_STACKSIZE=1000M

Just in case this is the VV using slightly more memory per thread.

achiefa commented 5 months ago

I tried to run it locally in the node exporting the two env variables and I didn't get the same problem. I think this solves the problem.

scarlehoff commented 5 months ago

Try only with the second one. If that solves the problem then I'd recommend you use it always (you probably were close to the limit in the others they just happened to work).

If you also need the threads=1 that means there's something wrong with the installation, because I can run the VV multithreaded

achiefa commented 5 months ago

Yes, I'm using only the second one and it works. Many thanks @scarlehoff !