/[escript]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 5407 by jfenwick, Thu Dec 18 02:48:24 2014 UTC revision 5408 by jfenwick, Thu Dec 18 03:54:12 2014 UTC
# Line 352  if env['prelaunch'] == 'default': Line 352  if env['prelaunch'] == 'default':
352          env['prelaunch'] = "export I_MPI_PIN_DOMAIN=omp"          env['prelaunch'] = "export I_MPI_PIN_DOMAIN=omp"
353      elif env['mpi'] == 'OPENMPI':      elif env['mpi'] == 'OPENMPI':
354          # transform comma-separated list to '-x a -x b -x c ...'          # transform comma-separated list to '-x a -x b -x c ...'
355          env['prelaunch'] = "EE=$(echo %e|sed -e 's/,/ -x /g')"          env['prelaunch'] = "EE=$(echo -x %e|sed -e 's/,/ -x /g')"
356      elif env['mpi'] == 'MPT':      elif env['mpi'] == 'MPT':
357          env['prelaunch'] = "export MPI_NUM_MEMORY_REGIONS=0"          env['prelaunch'] = "export MPI_NUM_MEMORY_REGIONS=0"
358      elif env['mpi'] == 'MPICH2':      elif env['mpi'] == 'MPICH2':
# Line 364  if env['launcher'] == 'default': Line 364  if env['launcher'] == 'default':
364      if env['mpi'] == 'INTELMPI':      if env['mpi'] == 'INTELMPI':
365          env['launcher'] = "mpirun -hostfile %f -n %N -ppn %p %b"          env['launcher'] = "mpirun -hostfile %f -n %N -ppn %p %b"
366      elif env['mpi'] == 'OPENMPI':      elif env['mpi'] == 'OPENMPI':
367          env['launcher'] = "mpirun --gmca mpi_warn_on_fork 0 -x ${EE} --host %h -bynode -bind-to-core --cpus-per-rank %t -np %N %b"          env['launcher'] = "mpirun --gmca mpi_warn_on_fork 0 ${EE} --host %h -bynode -bind-to-core --cpus-per-rank %t -np %N %b"
368      elif env['mpi'] == 'MPT':      elif env['mpi'] == 'MPT':
369          env['launcher'] = "mpirun %h -np %p %b"          env['launcher'] = "mpirun %h -np %p %b"
370      elif env['mpi'] == 'MPICH':      elif env['mpi'] == 'MPICH':

Legend:
Removed from v.5407  
changed lines
  Added in v.5408

  ViewVC Help
Powered by ViewVC 1.1.26