X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/166f7f138b201513c778f4259f521ed59a24085a..42a19da0afa7d15b2aa87dea813ea427a21a4db5:/src/smpi/smpirun.in diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index 842448ab70..9ba0724359 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -1,5 +1,11 @@ #! /bin/sh +# Copyright (c) 2007-2014. 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. + @CMAKE_SMPI_COMMAND@ DEFAULT_LOOPBACK_BANDWIDTH="498000000" @@ -420,7 +426,9 @@ fi ${EXEC} ${TRACEOPTIONS} ${SIMOPTS} ${PLATFORMTMP} ${APPLICATIONTMP} status=$? -if [[ $status -eq 139 ]]; then echo "ERROR: A segmentation fault was triggered. A common in simgrid cause may be the use of a too small stack size for the simulated processes (default 128KB), please see contexts/stack_size parameter"; fi +if [ ${status} = 139 ]; then echo "ERROR: A segmentation fault was triggered. +A common cause in SimGrid may be the use of a too small stack size for the simulated processes (default 8192 KiB). +Please see contexts/stack_size parameter , or http://simgrid.org/simgrid/latest/doc/options.html#options_virt_stacksize "; fi if [ -z "${KEEP}" ] ; then if [ -z "${PLATFORM}" ]; then