HPCCommunity.org
 
Register

Go Back   HPC Community - High Performance Computing (HPC) Community > LAVA > Lava Support

Lava Support Get answers to your Lava issues from the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 8th, 2008, 11:01 PM
Junior Member
 
Join Date: November 8th, 2008
Posts: 1
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
#================================================= ======================
Reply With Quote
  #2 (permalink)  
Old November 13th, 2008, 06:25 AM
Junior Member
 
Join Date: February 29th, 2008
Posts: 6
Send a message via Skype™ to gthomas
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 With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT. The time now is 11:18 PM.


Powered by vBulletin® Version 3.8.0 Release Candidate 1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.