Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Setup argc/argv for the Fortran run-time environment only once.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 5 Oct 2021 19:10:23 +0000 (21:10 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 5 Oct 2021 19:18:03 +0000 (21:18 +0200)
commita50c2dca84b5c5863c0ac4e73a07dff3dc070d4b
tree0392a9a5073322ceca061aec200c34fff1f118f6
parentb9b9a65bf5a521e2901c844f968d67ea4c0aba72
Setup argc/argv for the Fortran run-time environment only once.

It's apparently a global operation, and doing that at the simulated process level
(like it was before) leeds to errors like use-after-free easily seen with
the test tesh-smpi-fort_args-thread on WSL.
src/smpi/internals/smpi_global.cpp