+ Reply to Thread
Results 1 to 2 of 2

Thread: PBS to Lava

  1. #1
    coritosu Guest

    Cool PBS to Lava

    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=2pn=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
    #================================================= ======================

  2. #2
    gthomas is offline Junior Member
    Join Date
    February 29th, 2008
    Posts
    13
    Downloads
    2
    Uploads
    0

    Default

    # 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.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts