SGI InfiniteStorage 3500 Manual de usuario Pagina 21

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 36
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 20
21
©2012 SGI
MPI+OpenMP Hybrid job script(sample)
24 hybrid parallel job(8MPI x 3 threads)
Define number of MPI for np, number of threads per MPI for th.
Use omplace instead of dplace.
insert following before command name.
omplace -nt ${th} -c 0-23:bs=${th}+st=3
-c means using 3cores from core 0 to core 23.
$ cat go.csh
#!/bin/csh -x
#BSUB -q C
#BSUB -n 24
#BSUB -o hy1.out
limit stacksize unlimited
set np=8
set th=3
setenv OMP_NUM_THREADS ${th}
mpirun -np ${np} omplace -nt ${th} -c 0-23:bs=${th}+st=3 ./a.out
Vista de pagina 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 35 36

Comentarios a estos manuales

Sin comentarios