09-14-2016
Pbs script path from the id
Is it possible to lookup the path to the pbs script by Job ID? I cannot find the answer anywhere.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I've searched through the forum for a solution to this problem, but I haven't found anything. I have 2 script files that are in different directories.
My first script, let's call it "/one/two/a.sh" looks like this:
#!/bin/sh
IN_DIR=`dirname $0`
CUR_DIR=`pwd`
cd $IN_DIR... (4 Replies)
Discussion started by: mrbluegreen
4 Replies
2. Shell Programming and Scripting
I have the following paths in a flat file
/app00/app/mdbsorap/oradata/mfprd/system01.dbf
/app00/app/mdbsorap/oradata/mfprd/system02.dbf
/app00/app/mdbsorap/oradata/mfprd/system03.dbf
/app00/app/mdbsorap/oradata/mfprd/system04.dbf
/app00/app/mdbsorap/oradata/mfprd/system05.dbf
what i would... (2 Replies)
Discussion started by: gseptember
2 Replies
3. Shell Programming and Scripting
I have a script in which i want to print absolute path of the same script irrespective of path from where i run script.
I am using
test.sh:
echo "pwd : `pwd`"
echo "script name: $0"
echo "dirname: `dirname $0`"
when i run script from /my/test/dir/struct as ../test.sh the output i... (10 Replies)
Discussion started by: rss67
10 Replies
4. High Performance Computing
Hello everyone!
I am a bit inexperienced with administering queueing programs. I installed Torque (a PBS derivative) on a Linux cluster and it is running well. There is one annoying problem though: users can run massively parallel jobs and serial jobs too. Almost all users do a mix of the two. I... (0 Replies)
Discussion started by: gnuplot
0 Replies
5. Shell Programming and Scripting
Hi guys I have a problem with one module of my script. It's awk script running in pbs file - It's working when I make a call from pbs to separate awk only file like this but when I try to execute this code in pbs file it fails
awk 'BEGIN { max = -1000; min = 1000 }
{
{$4 == "TCO"}
... (2 Replies)
Discussion started by: grincz
2 Replies
6. What is on Your Mind?
I have these mental shorthands, e.g., OPC for other people's code/children, so when a wise suggestion is ignored, I thought, pearls before swine, but the acronym PBS is already taken.
Maybe it's an inside joke? (0 Replies)
Discussion started by: DGPickett
0 Replies
7. UNIX for Advanced & Expert Users
Currently I am using this laborious command
lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}'
Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies
8. UNIX for Beginners Questions & Answers
Hello,
I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies
LEARN ABOUT SUSE
ipcluster
IPCLUSTER(1) IPCLUSTER(1)
NAME
ipcluster - IPython parallel computing cluster control tool
SYNOPSIS
ipcluster {piexec,local,mpirun,pbs,ssh} [options]
DESCRIPTION
ipcluster is a control tool for IPython's parallel computing functions.
IPython cluster startup. This starts a controller and engines using various approaches. Use the IPYTHONDIR environment variable to change
your IPython directory from the default of .ipython or _ipython. The log and security subdirectories of your IPython directory will be used
by this script for log files and security files.
POSITIONAL ARGUMENTS
The first positional argument should be one of: {mpiexec, local, mpirun, pbs, ssh}, which are the available cluster types.
For detailed help on each, type "ipcluster TYPE --help". Briefly:
local run a local cluster
mpirun run a cluster using mpirun (mpiexec also works)
mpiexec run a cluster using mpiexec (mpirun also works)
pbs run a pbs cluster
ssh run a cluster using ssh, should have ssh-keys setup
OPTIONS
-h, --help
show help message and exit
EXAMPLE
ipcluster local -n 4
This command will start 4 IPython engines on the local computer.
SEE ALSO
ipython(1),ipcontroller(1),ipengine(1)
AUTHOR
ipcluster is a tool that ships with IPython, created by the IPython Development Team.
This manual page was written by Stephan Peijnik <debian@sp.or.at>, for the Debian project (but may be used by others). Modified by Fer-
nando Perez <Fernando.Perez@berkeley.edu> for inclusion in IPython.
October 28, 2008 IPCLUSTER(1)