/[escript]/branches/4.0fordebian/run-escript.in
ViewVC logotype

Diff of /branches/4.0fordebian/run-escript.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/bin/escript revision 2866 by gross, Fri Jan 22 05:38:56 2010 UTC trunk/bin/run-escript revision 4058 by caltinay, Fri Nov 2 06:47:06 2012 UTC
# Line 22  CURDIR=`pwd` Line 22  CURDIR=`pwd`
22  #Environment vars which control operations:  #Environment vars which control operations:
23  # ESCRIPT_NUM_NODES, ESCRIPT_NUM_PROCS, ESCRIPT_NUM_THREADS, ESCRIPT_HOSTFILE, ESCRIPT_CREATESTDFILES  # ESCRIPT_NUM_NODES, ESCRIPT_NUM_PROCS, ESCRIPT_NUM_THREADS, ESCRIPT_HOSTFILE, ESCRIPT_CREATESTDFILES
24    
25  HOSTFILE=/tmp/escript.$$  HOSTFILE=/tmp/escript.$USER.$$
26  HOSTFILE2=/tmp/escript2.$$  HOSTFILE2=/tmp/escript2.$USER.$$
27    
28  #Begin finding ESCRIPT_ROOT  #Begin finding ESCRIPT_ROOT
29  if [ $STDLOCATION -ne 0 ]  if [ $STDLOCATION -ne 0 ]
30  then  then
31      ESCRIPT_ROOT=/usr/lib/escript      ESCRIPT_ROOT=/usr/lib/escript
32  else  else
33    #We don't know the escript root so we need to work it out from the invocation    # We don't know the escript root so we need to work it out from the invocation
34    #Need to match if the name contains /    # Need to match if the name contains /
35    if [[ $0 =~ / ]]    if [[ $0 =~ / ]]
36    then    then
37        # We are not using the PATH to find the script        # We are not using the PATH to find the script
38        cd `dirname $0`        cd "`dirname $0`"
39        scriptdir=`pwd`        scriptdir=`pwd`
40        cd $CURDIR        cd "$CURDIR"
41    else    else
42        # name does not contain / therefore we are using        # name does not contain / therefore we are using
43        tscriptdir=`which $0`        tscriptdir=`which $0`
44        if [ $? != 0 ]        if [ $? -ne 0 ]
45        then        then
46            echo "Error! Unable to determine script directory. Exiting."            echo "Error! Unable to determine script directory. Exiting."
47            exit 1            exit 1
# Line 49  else Line 49  else
49        scriptdir=`dirname $tscriptdir`        scriptdir=`dirname $tscriptdir`
50    fi    fi
51    
52    cd $scriptdir/..    cd "$scriptdir/.."
53    ESCRIPT_ROOT=`pwd`    ESCRIPT_ROOT=`pwd`
54    cd ..    cd ..
55    ESCRIPT_PARENT=`pwd`    ESCRIPT_PARENT=`pwd`
56    cd $CURDIR    cd "$CURDIR"
57    
58  fi  fi
59  ##### End finding ESCRIPT_ROOT  ########  ##### End finding ESCRIPT_ROOT ########
60    
61    
 if [ ! -r $ESCRIPT_ROOT/lib/buildvars ]; then  
     echo "Error! Unable to read escript build information. Exiting."  
     exit 1  
 fi  
62    
63  PYTHON_MPI_NULL="$ESCRIPT_ROOT/lib/pythonMPI"  PYTHON_MPI_NULL="$ESCRIPT_ROOT/lib/pythonMPI"
64  PYTHON_MPI_REDIRECT="$ESCRIPT_ROOT/lib/pythonMPIredirect"  PYTHON_MPI_REDIRECT="$ESCRIPT_ROOT/lib/pythonMPIredirect"
# Line 77  EXTRA_LD_LIBRARY_PATH=$ESCRIPT_ROOT/lib Line 74  EXTRA_LD_LIBRARY_PATH=$ESCRIPT_ROOT/lib
74    
75  if [ $STANDALONE -eq 1 ]  if [ $STANDALONE -eq 1 ]
76  then  then
77      EXTRA_PATH=$ESCRIPT_PARENT/pkg/python/bin:$EXTRA_PATH      EXTRA_PATH=$ESCRIPT_PARENT/pkg/python/bin:$ESCRIPT_PARENT/pkg/scons/bin:$EXTRA_PATH
78      EXTRA_LD_LIBRARY_PATH=$ESCRIPT_PARENT/pkg/boost/lib:$ESCRIPT_PARENT/pkg/netcdf/lib/:$EXTRA_LD_LIBRARY_PATH      EXTRA_LD_LIBRARY_PATH=$ESCRIPT_PARENT/pkg/boost/lib:$ESCRIPT_PARENT/pkg/netcdf/lib/:$EXTRA_LD_LIBRARY_PATH
79      EXTRA_LD_LIBRARY_PATH=$EXTRA_LD_LIBRARY_PATH      EXTRA_LD_LIBRARY_PATH=$EXTRA_LD_LIBRARY_PATH
80      EXTRA_LD_LIBRARY_PATH=$ESCRIPT_PARENT/pkg/python/lib:$EXTRA_LD_LIBRARY_PATH      EXTRA_LD_LIBRARY_PATH=$ESCRIPT_PARENT/pkg/python/lib:$EXTRA_LD_LIBRARY_PATH
# Line 85  then Line 82  then
82  fi  fi
83    
84    
85    BUILDINFO_FILE=$ESCRIPT_ROOT/lib/buildvars
86    if [ ! -r $BUILDINFO_FILE ]; then
87        if [ "$1" = "-e" ]; then
88            echo "export LD_LIBRARY_PATH=$EXTRA_LD_LIBRARY_PATH:\$LD_LIBRARY_PATH"
89            echo "export PYTHONPATH=$EXTRA_PYTHONPATH:\$PYTHONPATH"
90            echo "export PATH=$EXTRA_PATH:\$PATH"
91            if [ "`uname`" = "Darwin" ]
92            then
93                echo "export DYLD_LIBRARY_PATH=$EXTRA_DYLD_LIBRARY_PATH:$EXTRA_LD_LIBRARY_PATH:\$DYLD_LIBRARY_PATH"
94            fi  
95            exit 0
96        fi
97        echo "Error! Unable to read escript build information. Exiting."
98        exit 1
99    fi
100    
101    get_buildvar () {
102        echo `grep "^$1=" $BUILDINFO_FILE |cut -d= -f2`
103    }
104    
105    #
106    #   Add VisIt paths if required
107    #
108    WITH_VISIT=`get_buildvar visit`
109    if [ "$WITH_VISIT" = "1" ]; then
110        VISIT_BIN=`which visit 2>/dev/null`
111        if [ $? -eq 0 ]; then
112            VISIT_PY_PATH=`$VISIT_BIN -env | grep LIBPATH | cut -d= -f2`
113            EXTRA_PYTHONPATH=$EXTRA_PYTHONPATH:$VISIT_PY_PATH
114            EXTRA_LD_LIBRARY_PATH=$EXTRA_LD_LIBRARY_PATH:$VISIT_PY_PATH
115        elif [ ! -z $ESCRIPT_VERBOSE ]; then
116            echo "VisIt module enabled but VisIt not in path!"
117        fi
118    fi
119    
120  HELP_TEXT="  HELP_TEXT="
121  Usage: escript [options] script.py [arguments...]  Usage: run-escript [options] script.py [arguments...]
122      -n nn       number of nodes to use      -n nn       number of nodes to use
123      -p np       number of MPI processes to spawn      -p np       number of MPI processes to spawn per node
124      -t nt       number of OpenMP threads to use      -t nt       number of OpenMP threads to use
125      -f file     name of MPI hostfile      -f file     name of MPI hostfile
126      -c      print compile information for escript and exit      -c      print compile information for escript and exit
127      -V      print escript version and exit      -V      print escript version and exit
128      -i      interactive mode      -i      interactive mode
129      -b      do not invoke python (run non-python programs)      -b      do not invoke python (run non-python programs)
130      -e      print export statements for environment and exit      -e      print export statements for environment and exit
131      -o      redirect output from MPI to files      -o      redirect output from MPI to files
132      -v      print diagnostics      -v      print diagnostics
133      -x      ..reserved for future use ..      -x      run in new xterm instance
134      script.py   Your python script      script.py   Your python script
135      arguments...    The optional command-line arguments to your script      arguments...    The optional command-line arguments to your script
136  "  "
# Line 108  if [ "$1" = "--help" ]; then Line 139  if [ "$1" = "--help" ]; then
139    echo "$HELP_TEXT"    echo "$HELP_TEXT"
140    exit 0    exit 0
141  fi  fi
142  #=======================================================================================  #==============================================================================
   
 # Avoid bug in hybrid runs with MPT MPI  
   
143    
144  # Parse the command-line options  # Parse the command-line options
145  # option e should not be followed by a :  # option e should not be followed by a :
146  while getopts 'bn:p:t:f:h:ecVviox' option  while getopts 'bn:p:t:f:hecVviox' option
147  do  do
148      case "$option" in      case "$option" in
149        "b")  DOBINARY=yes        "b")  DO_BINARY=y
150          ;;          ;;
151        "n")  ESCRIPT_NUM_NODES=$OPTARG        "n")  ESCRIPT_NUM_NODES=$OPTARG
152          ;;          ;;
153        "p")  ESCRIPT_NUM_PROCS=$OPTARG        "p")  ESCRIPT_NUM_PROCS=$OPTARG
154          ;;          ;;
155        "t")  ESCRIPT_NUM_THREADS=$OPTARG        "t")  ESCRIPT_NUM_THREADS=$OPTARG
156          ;;          ;;
157        "f")  ESCRIPT_HOSTFILE=$OPTARG        "f")  ESCRIPT_HOSTFILE=$OPTARG
158          ;;          ;;
159        "c")  cat $ESCRIPT_ROOT/lib/buildvars        "c")  cat $ESCRIPT_ROOT/lib/buildvars
160          exit 0          exit 0
161          ;;          ;;
162        "V")  echo "escript-pre4.0(build "`grep svn_revision $ESCRIPT_ROOT/lib/buildvars |cut -d= -f2`")"        "V")  echo "escript-development(build "`get_buildvar svn_revision`")"
163          exit 0          exit 0
164          ;;          ;;
165        "h")  echo "$HELPTEXT"        "h")  echo "$HELP_TEXT"
166          exit 0          exit 0
167          ;;          ;;
168        "i")  DOINTERACTIVE=yes        "i")  DO_INTERACTIVE=y
169          ;;          ;;
170        "e")  echo "export LD_LIBRARY_PATH=$EXTRA_LD_LIBRARY_PATH:\$LD_LIBRARY_PATH"        "e")  echo "export LD_LIBRARY_PATH=$EXTRA_LD_LIBRARY_PATH:\$LD_LIBRARY_PATH"
171          echo "export PYTHONPATH=$EXTRA_PYTHONPATH:\$PYTHONPATH"          echo "export PYTHONPATH=$EXTRA_PYTHONPATH:\$PYTHONPATH"
172          echo "export PATH=$EXTRA_PATH:\$PATH"          echo "export PATH=$EXTRA_PATH:\$PATH"
173          if [ "`uname`" = "Darwin" ]          if [ "`uname`" = "Darwin" ]
174          then          then
175              echo "export DYLD_LIBRARY_PATH=$EXTRA_DYLD_LIBRARY_PATH:$EXTRA_LD_LIBRARY_PATH:\$DYLD_LIBRARY_PATH"              echo "export DYLD_LIBRARY_PATH=$EXTRA_DYLD_LIBRARY_PATH:$EXTRA_LD_LIBRARY_PATH:\$DYLD_LIBRARY_PATH"
176          fi          fi
177          exit 0          exit 0
178          ;;          ;;
179        "o")  ESCRIPT_CREATESTDFILES="yes"        "o")  ESCRIPT_CREATESTDFILES=y
180          ;;          ;;
181        "v")  ESCRIPT_VERBOSE="yes"        "v")  ESCRIPT_VERBOSE=y
182          ;;          ;;
183        "x")  echo "-x not implemented yet"        "x")  DO_XTERM=y
184          exit 1          ;;
185          ;;        ?)    echo "$HELP_TEXT"
186        ?)    echo "$HELP_TEXT"          exit 1
187          exit 1          ;;
188          ;;      esac
     esac  
189  done  done
190  shift `expr $OPTIND - 1`  shift `expr $OPTIND - 1`
191  #==============================================  #==============================================
192  #  #
193  #   Read the MPI_FLAVOUR from the buildvars  #   Read MPI_FLAVOUR and WITH_OPENMP from the buildvars
194  #  #
195  MPI_FLAVOUR=`grep mpi_flavour $ESCRIPT_ROOT/lib/buildvars |cut -d= -f2`  MPI_FLAVOUR=`get_buildvar mpi`
196  WITH_OPENMP=`grep useopenmp $ESCRIPT_ROOT/lib/buildvars |cut -d= -f2`  WITH_OPENMP=`get_buildvar openmp`
197    
198  if [ ! -z $ESCRIPT_VERBOSE ]; then  if [ ! -z $ESCRIPT_VERBOSE ]; then
199      echo "MPI flavour is $MPI_FLAVOUR."      echo "MPI flavour is $MPI_FLAVOUR."
200      if [ "$WITH_OPENMP" = "y" ]; then echo "OpenMP enabled."; fi      if [ "$WITH_OPENMP" = "1" ]; then echo "OpenMP enabled."; fi
201  fi  fi
202    
203  #  #
# Line 213  then Line 240  then
240      ESCRIPT_NUM_NODES=1      ESCRIPT_NUM_NODES=1
241      ESCRIPT_NUM_PROCS=1      ESCRIPT_NUM_PROCS=1
242  else  else
243        # use the PBS_NODEFILE if not otherwise specified
244        if [ ! -z $PBS_NODEFILE ] && [ -z $ESCRIPT_HOSTFILE ]
245        then
246            ESCRIPT_HOSTFILE=$PBS_NODEFILE
247        fi
248    
249      if [ ! -z $ESCRIPT_HOSTFILE ]      if [ ! -z $ESCRIPT_HOSTFILE ]
250      then      then
251          if [ -f $ESCRIPT_HOSTFILE ]          if [ -f $ESCRIPT_HOSTFILE ]
# Line 239  else Line 272  else
272    
273      if [ -z $ESCRIPT_NUM_NODES ]      if [ -z $ESCRIPT_NUM_NODES ]
274      then      then
275        ESCRIPT_NUM_NODES=1          ESCRIPT_NUM_NODES=1
276      fi      fi
277    
278      if [ -z $ESCRIPT_NUM_PROCS ]      if [ -z $ESCRIPT_NUM_PROCS ]
279      then      then
280        ESCRIPT_NUM_PROCS=1          ESCRIPT_NUM_PROCS=1
281      fi      fi
282    
283      if [ ! -z $ESCRIPT_VERBOSE ]      if [ ! -z $ESCRIPT_VERBOSE ]
284      then      then
285            echo "ESCRIPT_NUM_NODES = $ESCRIPT_NUM_NODES "          echo "ESCRIPT_NUM_NODES = $ESCRIPT_NUM_NODES "
286            echo "ESCRIPT_NUM_PROCS = $ESCRIPT_NUM_PROCS "          echo "ESCRIPT_NUM_PROCS = $ESCRIPT_NUM_PROCS "
287      fi      fi
288  fi  fi
289    
290  if [ "$WITH_OPENMP" = "y" ]  if [ "$WITH_OPENMP" = "1" ]
291  then  then
292     if [ -z $ESCRIPT_NUM_THREADS ]     if [ -z $ESCRIPT_NUM_THREADS ]
293     then     then
# Line 269  then Line 302  then
302          echo "ESCRIPT_NUM_THREADS is $ESCRIPT_NUM_THREADS."          echo "ESCRIPT_NUM_THREADS is $ESCRIPT_NUM_THREADS."
303     fi     fi
304  else  else
305     if [[ ( ! -z $ESCRIPT_NUM_THREADS ) && ( $ESCRIPT_NUM_THREADS != 1 ) ]]     if [ ! -z $ESCRIPT_NUM_THREADS ] && [ $ESCRIPT_NUM_THREADS != 1 ]
306     then     then
307         echo "Warning: OpenMP is disabled but number of threads requested is $ESCRIPT_NUM_THREADS!=1. Running without threads."         echo "Warning: OpenMP is disabled but number of threads requested is $ESCRIPT_NUM_THREADS!=1. Running without threads."
308     fi     fi
# Line 278  fi Line 311  fi
311  #  #
312  # Now we compute total number of Processes  # Now we compute total number of Processes
313  #  #
314  (( TOTPROC=$ESCRIPT_NUM_NODES * $ESCRIPT_NUM_PROCS))  TOTPROC=$((ESCRIPT_NUM_NODES * ESCRIPT_NUM_PROCS))
315  if [ $? -ne 0 ]     #Some compute error  if [ $? -ne 0 ]     #Some compute error
316  then            #This could happen if the args were not a number  then            #This could happen if the args were not a number
317    echo "expression of total number of processors = $ESCRIPT_NUM_NODES * $ESCRIPT_NUM_PROCS is not numerical."      echo "expression of total number of processors = $ESCRIPT_NUM_NODES * $ESCRIPT_NUM_PROCS is not numerical."
318    exit 1      exit 1
319  fi  fi
320    
321  #  #
322  # Test to ensure people aren't trying to combine interactive and multi-process  # Test to ensure people aren't trying to combine interactive and multi-process
323  #  #
324  if [[ ( ( ! -z $DOINTERACTIVE ) || ( $# -eq 0 ) ) && ( $TOTPROC -gt 1) ]]  if ([ ! -z $DO_INTERACTIVE ] || [ $# -eq 0 ]) && ([ $TOTPROC -gt 1 ])
325  then  then
326    echo "Interactive mode cannot be used with more than one process"      echo "Interactive mode cannot be used with more than one process"
327    exit 1      exit 1
328  fi  fi
329    
330  if [ $TOTPROC -gt 1 ]  if [ $TOTPROC -gt 1 ]
331  then  then
332     if [ "$ESCRIPT_CREATESTDFILES" = "yes" ]      if [ "$ESCRIPT_CREATESTDFILES" = "yes" ]
333     then      then
334         PYTHON_MPI=$PYTHON_MPI_REDIRECT          PYTHON_MPI=$PYTHON_MPI_REDIRECT
335     else      else
336         PYTHON_MPI=$PYTHON_MPI_NULL          PYTHON_MPI=$PYTHON_MPI_NULL
337     fi      fi
338  else  else
339      PYTHON_MPI=$PYTHON_MPI_NULL      PYTHON_MPI=$PYTHON_MPI_NULL
340  fi  fi
341  #=========================================================================================================  #==============================================================================
342  # Must have at least one command-line arg: the python script  # Must have at least one command-line arg: the python script
343  if [ $# -eq 0 ]  if [ $# -eq 0 ]
344  then  then
345    if [ ! -z $DOBINARY ]      if [ ! -z $DO_BINARY ]
346    then      then
347      echo "No program to run was specified. Exiting."          echo "No program to run was specified. Exiting."
348      exit 1          exit 1
349    fi      else
350            DO_INTERACTIVE=y
351        fi
352  fi  fi
353    
354  #=========================================================================================================  #==============================================================================
355  if [ ! -z $DOBINARY ]  if [ ! -z $DO_XTERM ]
356  then  then
357      EXEC_CMD="$@"      EXEC_CMD="xterm -e"
358  else  else
359      if [ "$MPI_FLAVOUR" = "none" ]      EXEC_CMD=""
360      then  fi
361          # Check to see if the python version we were compiled with matches the one of EXEC_CMD  
362          # We should only do this check if they are running a python script  if [ ! -z $DO_BINARY ]
363          if [ -f $ESCRIPT_ROOT/lib/pyversion ]  then
364        EXEC_CMD="$EXEC_CMD $@"
365    else
366        # Check to see if the python version we were compiled with matches the
367        # one of PYTHON_CMD.
368        compfull=`get_buildvar python_version`
369        compversion=`echo $compfull | cut -d. -f1,2`
370        compmajor=`echo $compfull | cut -d. -f1`
371        if [ "$PYTHON_CMD" = "python" ] # if people have customised the command they
372        then                                # might not want us changing it
373            if [ "$compmajor" = "3" ]
374          then          then
375             compversion=`cat $ESCRIPT_ROOT/lib/pyversion`              PYTHON_CMD=python3
            intversion=`$PYTHON_CMD -V 2>&1`  
            if [ "$compversion" != "$intversion" ]  
            then  
               echo "Python versions do not match. Escript was compiled for "$compversion"."  
               echo "Current version of Python appears to be "$intversion"."  
               exit 1  
            fi  
376          fi          fi
377      if [ ! -z $DOINTERACTIVE ]      fi
378        intversion=`$PYTHON_CMD -c 'from __future__ import print_function;import sys;print("%d.%d"%(sys.version_info[0], sys.version_info[1]))'`
379        if [ "$compversion" != "$intversion" ]
380        then
381            echo "Python versions do not match. Escript was compiled for "$compversion"."
382            echo "Current version of Python appears to be "$intversion"."
383            exit 1
384        fi
385        if [ "$MPI_FLAVOUR" = "none" ]
386        then
387            if [ ! -z $DO_INTERACTIVE ]
388          then          then
389             EXEC_CMD="$PYTHON_CMD -i $@"             EXEC_CMD="$EXEC_CMD $PYTHON_CMD -i $@"
390          else          else
391             EXEC_CMD="$PYTHON_CMD $@"             EXEC_CMD="$EXEC_CMD $PYTHON_CMD $@"
392          fi          fi
393      else      else
394      if [ ! -z $DOINTERACTIVE ]          if [ ! -z $DO_INTERACTIVE ]
395          then          then
396             EXEC_CMD="$PYTHON_MPI -i $@"             EXEC_CMD="$EXEC_CMD $PYTHON_MPI -i $@"
397          else          else
398             EXEC_CMD="$PYTHON_MPI $@"             EXEC_CMD="$EXEC_CMD $PYTHON_MPI $@"
399          fi          fi
400      fi      fi
401  fi  fi
402  if [ ! -z $ESCRIPT_VERBOSE ]; then echo "Command to be executed is \"$EXEC_CMD\"."; fi  if [ ! -z $ESCRIPT_VERBOSE ]; then echo "Command to be executed is \"$EXEC_CMD\"."; fi
403  #===============================================================================================  #==============================================================================
404  #  #
405  #   now we start to spwan things:  #   now we start to spawn things:
406  #  #
407  if [ "$WITH_OPENMP" = "y" ]  if [ "$WITH_OPENMP" = "1" ]
408  then  then
409     export OMP_NUM_THREADS=$ESCRIPT_NUM_THREADS     export OMP_NUM_THREADS=$ESCRIPT_NUM_THREADS
410     EXPORT_ENV="$EXPORT_ENV,OMP_NUM_THREADS"     EXPORT_ENV="$EXPORT_ENV,OMP_NUM_THREADS"
# Line 373  then Line 421  then
421     if [ ! -z $HOSTFILE ]     if [ ! -z $HOSTFILE ]
422     then     then
423        HOST_LIST=`awk 'BEGIN{S=""}{if (S == "") { S = $0 } else {S = S "," $0}}END{print S}' $HOSTFILE`        HOST_LIST=`awk 'BEGIN{S=""}{if (S == "") { S = $0 } else {S = S "," $0}}END{print S}' $HOSTFILE`
424        CMD="mpirun -x ${EXPORT_ENV//,/ -x } --bynode -np $TOTPROC --host $HOST_LIST $EXEC_CMD"        CMD="mpirun --gmca mpi_warn_on_fork 0 -x ${EXPORT_ENV//,/ -x } --bynode -np $TOTPROC --bind-to-socket --cpus-per-rank $ESCRIPT_NUM_THREADS --host $HOST_LIST $EXEC_CMD"
425     else     else
426        CMD="mpirun -x ${EXPORT_ENV//,/ -x } -np $TOTPROC $EXEC_CMD"        CMD="mpirun --gmca mpi_warn_on_fork 0 -x ${EXPORT_ENV//,/ -x } --cpus-per-rank $ESCRIPT_NUM_THREADS -np $TOTPROC $EXEC_CMD"
427     fi     fi
428     if [ ! -z $ESCRIPT_VERBOSE ]; then echo "MPI command is \"$CMD\"."; fi     if [ ! -z $ESCRIPT_VERBOSE ]; then echo "MPI command is \"$CMD\"."; fi
429     $CMD     $CMD
# Line 385  then Line 433  then
433  elif [ "$MPI_FLAVOUR" = "INTELMPI" ]  elif [ "$MPI_FLAVOUR" = "INTELMPI" ]
434  then  then
435    
436     if [ "$WITH_OPENMP" = "y" ]     if [ "$WITH_OPENMP" = "1" ]
437     then     then
438         export I_MPI_PIN_DOMAIN=omp         export I_MPI_PIN_DOMAIN=omp
439         EXPORT_ENV="$EXPORT_ENV, I_MPI_PIN_DOMAIN"         EXPORT_ENV="$EXPORT_ENV, I_MPI_PIN_DOMAIN"
# Line 479  else Line 527  else
527     echo "unknown MPI flavour '$MPI_FLAVOUR'."     echo "unknown MPI flavour '$MPI_FLAVOUR'."
528  fi  fi
529  exit $EXIT_CODE  exit $EXIT_CODE
530    

Legend:
Removed from v.2866  
changed lines
  Added in v.4058

  ViewVC Help
Powered by ViewVC 1.1.26