X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/73e97710413bba3ee2ae8baab0537fbd78811016..3907e83884bae6278656e9cd2cb7ef92a8f707fb:/src/smpi/smpirun.in diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index 8b99fb69c1..194934f9e8 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -1,6 +1,6 @@ #!/usr/bin/env sh -# Copyright (c) 2007-2021. The SimGrid Team. All rights reserved. +# Copyright (c) 2007-2023. The SimGrid Team. All rights reserved. # This program is free software; you can redistribute it and/or modify it # under the terms of the license (GNU LGPL) which comes with this package. @@ -8,7 +8,7 @@ @CMAKE_SMPI_COMMAND@ SIMGRID_VERSION="@SIMGRID_VERSION_STRING@" -SIMGRID_GITHASH="@SIMGRID_GITHASH@" +SIMGRID_GITHASH="@GIT_VERSION@" DEFAULT_LOOPBACK_BANDWIDTH="498000000Bps" DEFAULT_LOOPBACK_LATENCY="0.000004s" @@ -27,7 +27,7 @@ PRIVATIZE="--cfg=smpi/privatization:${SMPI_PRIVATIZATION:-@HAVE_PRIVATIZATION@}" NUMPROCS=0 DEPLOYOPTS="" -SIMOPTS="--cfg=surf/precision:1e-9 --cfg=network/model:SMPI" +SIMOPTS="--cfg=precision/timing:1e-9 --cfg=network/model:SMPI" SMPITMPDIR="$(dirname $(mktemp -u))" @@ -59,6 +59,8 @@ Options: -version # Displays the SimGrid version (human readable) -git-version # Displays the git hash of SimGrid + -help # Displays this information + -help-coll # Displays all available collective algorithms or (deprecated usage): $0 [-keep-temps] [-np ] [-bandwidth ] [-latency ] program [program-options] @@ -233,13 +235,17 @@ while true; do shift 1 ;; "-analyze") - SIMOPTS="$SIMOPTS --cfg=smpi/display-timing:yes --cfg=smpi/display-allocs:yes --cfg=smpi/list-leaks:50" + SIMOPTS="$SIMOPTS --cfg=smpi/display-timing:yes --cfg=smpi/display-allocs:yes --cfg=smpi/list-leaks:50 --cfg=smpi/pedantic:true --cfg=smpi/barrier-collectives:true" shift 1 ;; "-help" | "--help" | "-h") usage exit 0 ;; + "-help-coll" | "--help-coll") + ${WRAPPER} "@SMPIMAIN@" --help-coll + exit 0 + ;; "-version" | "--version" | "-v") printf '%b\n' "$SIMGRID_VERSION" exit 0