--- MITgcm/verification/testreport 2009/01/30 20:08:09 1.121 +++ MITgcm/verification/testreport 2009/04/15 22:22:36 1.122 @@ -1,6 +1,6 @@ #! /usr/bin/env bash # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.121 2009/01/30 20:08:09 jmc Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.122 2009/04/15 22:22:36 jmc Exp $ # $Name: $ # @@ -11,7 +11,7 @@ echo echo "where possible OPTIONS are:" echo " (-help|-h) print usage" - echo " (-mth) run multi threaded (using eedata.mth)" + echo " (-mth) run multi-threaded (using eedata.mth)" echo " (-mpi) compile and run using MPI" echo " (-ieee|-noieee) if possible, use IEEE compiler flags" echo " (DEF=\"-ieee\")" @@ -334,6 +334,10 @@ if test "x$MPI" = xt ; then command="$command -mpi" fi + if test "x$MULTI_THREAD" = xt ; then + #- run multi-threaded using OpenMP: + command="$command -omp" + fi if test "x$TS" = xt ; then command="$command -ts" fi