![]() | ||||
| ||||||
| Lava Support Get answers to your Lava issues from the community. |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
| |||
|
Hi, I am trying to convert a script, written for PBS, to run with Lava. I should note that I am pretty new to Linux and these shell scripts, so please forgive me for my ignorance. Thanks in advance for any help you can provide! The first part of the script reads: #! /bin/tcsh -f # #================================================= ====================== # # run-pc.csh # # Generic batch submission script for PC-linux using PBS. # #----------------------------------------------------------------------- # Batch options for machine with PBS batch system. (bangkok/calgary) # Usage for Lahey compiler (default): # qsub run-pc.csh # Usage for pgf90 compiler with pgcc: # env OPT_BLD=PGI qsub run-pc.csh #----------------------------------------------------------------------- # # Name of the queue (CHANGE THIS if needed) #PBS -q long # Number of nodes & procs/node - must have ecc memory (CHANGE THIS if needed) #PBS -l nodes=2 pn=2# output file base name #PBS -N run-pc # Put standard error and standard out in same file #PBS -j oe # Export all Environment variables #PBS -V # End of options #================================================= ====================== |
| |||
|
# Name of the queue (CHANGE THIS if needed) #PBS -q long #BSUB -q long # Number of nodes & procs/node - must have ecc memory (CHANGE THIS if needed) #PBS -l nodes=2pn=2 #Total number of procs #BSUB -n 4 #Number of procs per server #BSUB -R "span[ptile=2] # output file base name #PBS -N run-pc #BSUB -j run-pc # Put standard error and standard out in same file #PBS -j oe #BSUB -o oe # Export all Environment variables #PBS -V # End of options #BSUB -l /bin/bash (will source and import all environment variables from $HOME/.bashrc) # For app specific env variables, use job starter script , you can specify in LSF application profile (cluster-wide)
__________________ Speeding does not kill. Staying stationary does. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|