You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If _generate_shm_name is called more than 999999 times, the snprintf format runs out of digits.
A user running NWChem with thousand of runs in the same job reported this problem.
Adding the line if(counter > 999999) counter=0;
might avoid the wrap-around problem, but I am not quite sure if this is the right fix for it.
The GA version used was 5.6.3
The text was updated successfully, but these errors were encountered:
Perhaps we over-corrected a bit from our ARMCI days. Instead of allocating a huge pinned chunk, we opted to just allocate as-needed, exactly the size needed.
@jeffdaily I can provide a patch that uses MPI_Win_allocate_shared so that this becomes the problem of the MPI library, but I don't expect to have time to do the more complicated solutions any time soon.
If _generate_shm_name is called more than 999999 times, the snprintf format runs out of digits.
A user running NWChem with thousand of runs in the same job reported this problem.
Adding the line
if(counter > 999999) counter=0;
might avoid the wrap-around problem, but I am not quite sure if this is the right fix for it.
The GA version used was 5.6.3
The text was updated successfully, but these errors were encountered: