I'm trying to run some computations on a cluster and have found that a bsub array is what I need.. So I tried running a simple example I found
Code:
bsub -J "myArray[1-10]" echo "Job \$LSB_JOBINDEX"
This should create 10 jobs that output "Job 1" "Job 2" .. etc. But when I run this from afs space I get the message
"LSB_JOBINDEX: Undefined variable."
LSB_JOBINDEX should be the index of the current array job.. Any ideas what's going on?
Dear Experts,
please help me out once again my array concepts is not very clear i have one text file like.
1|usa|hh
2|usa|ll
3|usa|vg
4|uk|nn
5|uk|bb
6|kuwait|mm
6|kuwait|jkj
7|dubai|hh
i want to store the third fied of a text file in he array and after that it should give me some... (6 Replies)
I am using /bin/ksh for this problem.
I have created some arrays with variable names as the array names:
cnt=1
{ while read myline; do
tempmeas="${meas%%;*}"
cto="${meas#*;}"
tempstream=$stream
# wholemeas holds the name of the array
# each array name... (0 Replies)
Hi,
I am REALLY a newbie of Unix: hope this question is not too odd.
Here is my problem:
I have to submit jobs to a remote platform (an IBM BCX/5120).
To submit I have tobsub < filename.jcf
and the .jcf file has usually the following content:
#!/bin/bash
#BSUB <commands of the bsub>... (1 Reply)
Hi!
I am currently using the bsub command to submit jobs to a cluster and I need to specify the name of the node to which i want the job sent. What do I add to my .pbs script to specify this?
Cheers (0 Replies)
Hi There!
I'm writing this LSF script to make it easier to send jobs to a cluster when varying certain parameters. At one point I'd like to do something like:
set NPROC = 10
and later on call BSUB using something like:
#BSUB -n $NPROC
unfortunately for me, this throws an error:
... (4 Replies)
"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)
Hi everyone,
I must write a Linux script for a biological analysis. I have an example for that which involves the "bsub" and "bsub-o" command, respectively. I cannot find a description for this command. Can you please help me? (2 Replies)
The red text at the bottom represents the three lines I want to address.
I'm dynamically creating a bsub with a perl script and would like to create the fasta_16S variable in a single line....not three. I'm having difficulty in getting the syntax correct. Obviously, there is some confusion... (3 Replies)
Hello,
When I'm trying to send bsub job using script that executes fine in command line, I get nothing.
I do this for testing purposes, and the script scr_test is just one line:
pwd > outfile
So when I'm executing it in command line:
$ ./scr_test
it works fine producing the outfile with... (2 Replies)
Discussion started by: Sergey Aliev
2 Replies
LEARN ABOUT REDHAT
slarrf
SLARRF(l) ) SLARRF(l)
NAME
SLARRF - the initial representation L D L^T and its cluster of close eigenvalues (in a relative measure), W( IFIRST ), W( IFIRST+1 ), ..
SYNOPSIS
SUBROUTINE SLARRF( N, D, L, LD, LLD, IFIRST, ILAST, W, DPLUS, LPLUS, WORK, IWORK, INFO )
INTEGER IFIRST, ILAST, INFO, N
INTEGER IWORK( * )
REAL D( * ), DPLUS( * ), L( * ), LD( * ), LLD( * ), LPLUS( * ), W( * ), WORK( * )
PURPOSE
Given the initial representation L D L^T and its cluster of close eigenvalues (in a relative measure), W( IFIRST ), W( IFIRST+1 ), ... W(
ILAST ), SLARRF finds a new relatively robust representation L D L^T - SIGMA I = L(+) D(+) L(+)^T such that at least one of the eigenvalues
of L(+) D(+) L(+)^T is relatively isolated.
ARGUMENTS
N (input) INTEGER
The order of the matrix.
D (input) REAL array, dimension (N)
The n diagonal elements of the diagonal matrix D.
L (input) REAL array, dimension (N-1)
The (n-1) subdiagonal elements of the unit bidiagonal matrix L.
LD (input) REAL array, dimension (N-1)
The n-1 elements L(i)*D(i).
LLD (input) REAL array, dimension (N-1)
The n-1 elements L(i)*L(i)*D(i).
IFIRST (input) INTEGER
The index of the first eigenvalue in the cluster.
ILAST (input) INTEGER
The index of the last eigenvalue in the cluster.
W (input/output) REAL array, dimension (N)
On input, the eigenvalues of L D L^T in ascending order. W( IFIRST ) through W( ILAST ) form the cluster of relatively close eige-
nalues. On output, W( IFIRST ) thru' W( ILAST ) are estimates of the corresponding eigenvalues of L(+) D(+) L(+)^T.
SIGMA (input) REAL
The shift used to form L(+) D(+) L(+)^T.
DPLUS (output) REAL array, dimension (N)
The n diagonal elements of the diagonal matrix D(+).
LPLUS (output) REAL array, dimension (N)
The first (n-1) elements of LPLUS contain the subdiagonal elements of the unit bidiagonal matrix L(+). LPLUS( N ) is set to SIGMA.
WORK (input) REAL array, dimension (???)
Workspace.
FURTHER DETAILS
Based on contributions by
Inderjit Dhillon, IBM Almaden, USA
Osni Marques, LBNL/NERSC, USA
LAPACK version 3.0 15 June 2000 SLARRF(l)