Ejemplo de script "mpihello.pbs" para usar en el PBS: qsub -q corta mpihello.pbs qstat -a donde "mpihello.pbs" contiene lo siguiente: .............................................................. #!/bin/bash # PBS -l nodes=11 # This is a PBS job submission script. # It also assumes that mpihello has been compiled # in the local directory by typing: # # pgf77 -o mpihello mpihello.f -lfmpich -lmpich # # PBS will reserve "n" nodes and then execute this script. # "mpirun" uses the PBS_NODEFILE environment variable as the # list of machines on which # IMPORTANT NOTE: Be sure to modify the "cd" command below to # switch to the directory in which you are currently working! # Also modify the setting of the PGI environment variable as # appropriate for your installation set -x PGI=/usr/local/pgi export PGI export PBS=/usr/local/pbs PATH=$PATH:$PBS/sbin:$PGI/linux86/bin export PATH cd /u/jdelia/HERRA/BENCH/MPIHELLO /usr/local/bin/mpirun -np 11 mpihello.exe &> mpihello.log ..............................................................
I | Attachment | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|
f | mpihello.f | manage | 239 bytes | 25 Feb 2002 - 19:23 | UnknownUser | |
pbs | mpihello.pbs | manage | 851 bytes | 25 Feb 2002 - 19:23 | UnknownUser |