10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I'm working on a SGE cluster and trying to echo the variables passed to the qsub command.
My script is as follows
#!/bin/bash
#$ -V
#$ -cwd
#$ -pe make 10
if ; then
echo "Variable is not set"
else
echo "Variable says: $StatedUserName"
fi
and I run the... (1 Reply)
Discussion started by: nans
1 Replies
2. Shell Programming and Scripting
Linux Server
Hi!
just some help...
I'm using a "Sun Grid Engine" with "qsub"
In one hand I have this code
while read -r H; do echo ${H}; done < list
The number of the lines in the list file is 100.
On the other hand I want to create a job array with the option -t
echo... (3 Replies)
Discussion started by: echo manolis
3 Replies
3. UNIX for Advanced & Expert Users
Hi all,
Today, I want to ask how to submit multiple qsub jobs.
I want to submit 100 .sh files for the simulations.
The name of files is
run_001.sh,
run_002.sh,
run_003.sh,
.....
.....
run_100.sh
Submitting each file manually are time-consuming, hence, I want to make another .sh file... (11 Replies)
Discussion started by: syg3434
11 Replies
4. UNIX for Dummies Questions & Answers
"bsub -o /dev/null -P something -q normal -a optimize -n 1 -R \"rusage\ span\\" -J GUISETUP_${PID} \"dc_shell-t -f .dc_script_$job_index.tcl -output_log_file .dc_shell_$job_index.log \""
Can anybody please tell me the qsub equivalent for this command?
---------- Post updated at 06:48 AM... (0 Replies)
Discussion started by: chaudhary3031
0 Replies
5. UNIX for Advanced & Expert Users
Hello. Hopefully this is the right forum, did a search and found some similar questions here.
I'm trying to find out if there is a way to get the job id while submitting a job using qsub. I want to monitor the list of active jobs using qstat and when my jobid is no longer on the active list, I... (3 Replies)
Discussion started by: aeoleon88
3 Replies
6. Shell Programming and Scripting
I was just wondering if it is permissible to qsub from a bash script as follows:
#! /bin/sh
echo "altering .txt in dir $DIR with retokenize.py"
for f in $DIR/txt/*.txt; do
echo $f;
/l2/nlp/i2b2/retokenize.py < $f > ${f//.txt/.tok};
done
echo "altering .tok in dir $DIR with awk... (0 Replies)
Discussion started by: kcgb20
0 Replies
7. UNIX for Advanced & Expert Users
Dear All
I am trying to write a script to set the SGE job execution order. I named each job with 'job1', 'job2' and 'job3'. I want my script to do: When 'job1' execution is complete, 'job2' is executed; when both 'job1' and 'job2' are complete, 'job3' is executed.
First, I tried this... (0 Replies)
Discussion started by: cliffyiu
0 Replies
8. Shell Programming and Scripting
Hey all,
I have a binary file, named "exe1" that receives a parameter. (I don't have its source code).
Executing "exe1" results in creating 3 output files.
I have a bash script that runs "exe1".
I want to enter "exe1" to cluster queue (using subq command)
But i want to do it more than... (1 Reply)
Discussion started by: elad2109
1 Replies
9. UNIX for Advanced & Expert Users
Hello,
I have a perl script that takes in one file of input and outputs to a file. I would like to run this script on several input files, and I would like to run it with qsub, something like this:
Input files:
FileListDssp.txt.numaa
FileListDssp.txt.numab
FileListDssp.txt.numac
etc..
... (1 Reply)
Discussion started by: InfoSeeker
1 Replies
10. UNIX for Dummies Questions & Answers
I am trying to run a Matlab function, file.m, with qsub. Here is a portion of my .sge file:
echo Starting to run Matlab
matlab -nojvm -nodesktop -r "file('${inputfile}');exit;"
echo finished running Matlab
The last two lines of the Matlab function are:
disp('finished');
exit
So my... (1 Reply)
Discussion started by: laether
1 Replies
PAPERCONF(1) General Commands Manual PAPERCONF(1)
NAME
paperconf - print paper configuration informations
SYNOPSYS
paperconf [ [ -p ] paper | -d | -a ] [ -z ] [ -n | -N ] [ -s | -w | -h ] [ -c | -m | -i ]
DESCRIPTION
paperconf prints informations about a given paper. The informations that can be obtaineed are the name of the paper, its size and its
width or height. When called without arguments, paperconf prints the name of the system- or user-specified paper, obtained by looking in
order at the PAPERSIZE environment variable, at the contents of the file specified by the PAPERCONF environment variable, at the contents
of the file /etc/papersize , consulting the values controlled by the LC_PAPER locale setting, or by using letter as a fall-back value if
none of the other alternatives are successful. By default, width and height of the paper are printed in PostScript points.
OPTIONS
-p paper
Specify the name of the paper about which informations are asked.
-d Use the default builtin paper name.
-a Consider all known papers names.
-z If the paper name is unknown, print it but issue a message on the standard error and exit with a non-zero code.
-n Print the name of the paper.
-N Print the name of the paper with the first letter capitalized.
-s Print the size (width followed by height) of the paper.
-w Print the width of the paper.
-h Print the height of the paper.
-c Use centimetres as unit for paper size.
-m Use millimetres as unit for paper size.
-i Use inches as unit for paper size.
ENVIRONMENT
PAPERSIZE Paper size to use regardless of what the papersize file contains.
PAPERCONF Full path to a file containing the paper size to use.
FILES
/etc/papersize Contains the name of the system-wide default paper size to be used if the PAPERSIZE and PAPERCONF variables are not
set.
AUTHOR
Yves Arrouye <arrouye@debian.org>
SEE ALSO
papersize(5)
24 April 2001 PAPERCONF(1)