go_egeetest [SRC] [CPP] [JOB] [SCAN]
HOSTS / EGEE



   1 | #! /bin/sh
   2 | # @ job_type=parallel
   3 | # @ class = test
   4 | # @ output = output.$(jobid).out
   5 | # @ error =  error.$(jobid).err
   6 | # @ notification = never
   7 | # @ environment = COPY_ALL
   8 | # @ node = 1
   9 | # @ total_tasks = 4
  10 | # @ queue
  11 | 
  12 | cd $LOADL_STEP_INITDIR
  13 | 
  14 | hfile=.hostfile_ll_$$
  15 | ll_get_machine_list >$hfile
  16 | NPROCS=$(wc -l $hfile |awk '{print $1}')
  17 | 
  18 | /usr/bin/mpirun -machinefile $hfile -np 4 ./mpiprissma.e
  19 | 
  20 | rm $hfile
  21 |