-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
master_june24: Fortran runtime error: Index '32765' of dimension 1 of array 'symconf' above upper bound of 3 #888
Comments
Hi, I just looked at my tests that I did at the time, I set e.g.
which e.g. then gave me a vector width of 8192, note this was when testing it with configs passed into bin/mg5_aMC |
NB_WARP=512 and WARP_SIZE=16384 So I will ignore that issue for the moment. But we need to investigate the error
This seems to indicate that we use symconf in a wrong way. Do you have a dedicate issue for this? |
So concerning the segfault line I have investigated the reported line and long story short do not see any potential issue here. At least I would stop focus on this issue (and propose that we close it for the moment), Do you agree @valassi Here is the detail of my investigation. (please ignore this, not really relevant, but for@valassi that wanted to see if/how the fortran code was implementing the assignement of the channelID array). Here is the definition of symconf):
So this array should indeed be accessed with number lower than 3.
So the issue should be in the assignment of iconf_vec
The definition of a single element (ICONF=iconf_vec(iwarp)) is in done in auto_dsig.f and the allowed value are any value out of this loop:
So checking the assignment of SYMCONF(0), this is a runtime variable that depends on the content of ../symfact.dat, if the file is found the code does
given the symfact.dat
The symconf(0) is either 1 (for G1) or 2 (for G2) If the file is not found:
So symconf(0) =1 in that case --as expected-- (and in this case G3 does make sense). |
Thanks Olivier :-) Yes I agree. Most likely this may be related to the nb_warp_used crashes, fixed (with a patch to be improved later) in #885. So ok for me to close this, thanks.
Thanks also for this explanation. I think it is useful also for another issue, i.e. making sure that madevent tests several channels. I opened #927 as a placeholder and added your post as a link. Closing. Fixed by #882 (probably via 885) |
Another issue introduced in #830 and being reviewed in #882.
In WIP PR #882 for master_june24, I tried to use NB_WARP=512 and WARP_SIZE=16384 ie VECSIZE_MEMMAX=16384. This is bede049
In the CI tmad tests (which use VECSIZE_USED=32) I still get the crash of #885, but I also get the following:
https://github.com/madgraph5/madgraph4gpu/actions/runs/9806731881/job/27079146521
For reference, with the previous values NB_WARP=1, WARP_SIZE=16384, VECSIZE_MEMAMX=16384 (and always VECSIZE_USED=32), this was 64a7c0d
And I was getting no such 'Fortran runtime error in symconf'
https://github.com/madgraph5/madgraph4gpu/actions/runs/9797840410/job/27055291574#step:12:77
The text was updated successfully, but these errors were encountered: