/[escript]/trunk/bin/run-escript
ViewVC logotype

Diff of /trunk/bin/run-escript

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

revision 5092 by sshaw, Mon Jul 7 00:47:44 2014 UTC revision 5094 by caltinay, Thu Jul 10 02:46:33 2014 UTC
# Line 23  CURDIR=$(pwd) Line 23  CURDIR=$(pwd)
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  #set up thread binding if unset  #set up thread binding if unset
26  if [ "$OMP_PROC_BIND" == "" ]; then  if [ "$OMP_PROC_BIND" = "" ]; then
27      #Force OpenMP binding for Intel (and GCC, though GCC is on by default)      #Force OpenMP binding for Intel (and GCC, though GCC is on by default)
28      export OMP_PROC_BIND=true      export OMP_PROC_BIND=true
29  fi  fi
30  if [ "$KMP_AFFINITY" == "" ]; then  if [ "$KMP_AFFINITY" = "" ]; then
31      #Set the style of binding (overrides OMP_PROC_BIND in many cases)      #Set the style of binding (overrides OMP_PROC_BIND in many cases)
32      export KMP_AFFINITY=verbose,compact      export KMP_AFFINITY=verbose,compact
33  fi  fi

Legend:
Removed from v.5092  
changed lines
  Added in v.5094

  ViewVC Help
Powered by ViewVC 1.1.26