Editing
QUEUES for CARLES BO group
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== SENDING CALCULATIONS: == Until a 'qs' wrapper will be made you must to conform a .sub script manually and send it using 'qsub' command. Below these lines you have an example of .sub script where you must substitute the bold variables: ---- ''''$JOBNAME'''' identify the job in the cluster queue. ''''$QUEUE_NAME'''' identify the queue where you are sending the calculation * qconf -sql ''''$PE_NAME''''' identify the name of the Parallel Environment * qconf -sq $QUEUE_NAME | grep pe_list ''''$N_PROC'''' identify the requested number of processors ''''$ADFVERSION'''' identify the version of ADF that you can use * adf2007.01 | adf2008.01 | adf2009.01 ''''$CALCULATION'''' paste your calculation script ---- #!/bin/bash #$ -N '''$JOBNAME''' #$ -cwd #$ -masterq '''$QUEUE_NAME''' #$ -pe '''$PE_NAME $N_PROC''' #Set an environment variable for the location of MPI #$ -v MPIR_HOME=/usr/local/adf2008.01/bin/hpmpi #The number of slots (CPUs) grid engine allocates #is set as the variable $NSLOTS echo "Got $NSLOTS slots." export PATH=$PATH export TMPDIR=/scratch export ADFHOME=/usr/local/'''$ADFVERSION''' export ADFBIN=$ADFHOME/bin export ADFRESOURCES=$ADFHOME/atomicdata export SCMLICENSE=$ADFHOME/license export SCM_USETMPDIR=yes export SCM_NODOMAINCHECK=yes export MPIDIR=$ADFHOME/bin/hpmpi export PATH=$PATH:$MPIDIR/bin:$TMPDIR export SCMWISH="" $ADFBIN/adf << eor '''$CALCULATION''' echo QUEUE $QUEUE echo PE $PE echo NSCM $NSCM echo $PWD cd /scratch ls -lR rm -rf *
Summary:
Please note that all contributions to Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information