Complete "smpirun -help" [ci-skip]
Implement smpirun --help-coll.
Two more references of the surf/precision option name
Update copyright lines for 2023.
New option to detect dangerous code mixing collectives and P2P in a deadlocking way
SMPI: add option to inject a barrier before every collective call, to allow better detection of dangerous patterns in MPI codes, triggering deadlocks more consistently. Activate it in -analyze mode, or with --cfg=smpi/colls-inject-barrier:true
-analyze implies pedantic mode
Fix git-version in smpi scripts. Thanks Tom Cornebize for reporting.
Update copyright lines for 2022.
Kill trailing whitespaces in source code files.
Use xbt logs, not printf. Update tesh files accordingly.
Minor fix usage
Moving SMPI app deployment to C++ code Enable the deployment of SMPI experiments with C++ platform description. Move application deployment from smpirun to smpi_main function. The smpirun script used to parse the platform XML to create an application deployment. This isn't possible anymore since we may don't have a platform XML anymore. Move the necessary input to smpi_main through specific cfg variables: - smpi/hostfile: host file - smpi/replay: replay file - smpi/np: number of processes - smpi/map: mapping process/rank This cfg isn't used by users, they are cached inside the smpirun script.
leaks analysis: when -analyze is given to smpirun, set value for list-leaks to 50.
add -analyze to smpirun to activate both smpi/display-timing and smpi/display-allocs at once
Sanitize how tracefiles are handled In particular, SMPI was always providing a trace file per actor, even when only one file was provided, with the content for all actors. That was a waste of memory and processing. But the worst was that the same file was opened N times, limiting this solution to 1024 ranks on linux and 256 on Mac OSX. We could have asked the users to increase the limit of file descriptors per process to overcome this limitation. Hopefuly with this change, the same file will be opened once only, removing this limit all together. Fixes https://framagit.org/simgrid/simgrid/-/issues/62 This cleanup also impacts S4U code, that cannot access the simgrid::xbt::action_fs global anymore to open the shared file itself, but must use xbt_replay_set_tracefile() for that.
Update copyright lines.
move dlopen tmp files to tmp dir instead of executable dir, which could be not writeable. todo : - check portability - move also smpirun tmp files there id this works.
revert some overzealous changes
optimize a bit