Search Results

Search: Posts Made By: nrjrasaxena
51,084
Posted By nrjrasaxena
Hi Pamu, yeah it makes lot of sense. I need to...
Hi Pamu, yeah it makes lot of sense.
I need to do the do the modification as marked in red


Thanks..:)

---------- Post updated at 02:30 AM ---------- Previous update was at 02:28 AM...
51,084
Posted By nrjrasaxena
:wall: ummmmm..how would it go then ? This too...
:wall: ummmmm..how would it go then ?
This too did not work...

CopyFiles() {
PATHNAME="$paths"

if [ "$2" = "525" ]; then
PATHNAME="$PATH525 "
elif [ "$2" = "533" ];...
51,084
Posted By nrjrasaxena
How about this..?? CopyFiles() { ...
How about this..??

CopyFiles() {
PATHNAME="$paths"

if [ "$2" = "525" ]; then
PATHNAME="$PATH525"
elif [ "$2" = "533" ]; then
PATHNAME="$PATH533"
elif [ "$2"...
51,084
Posted By nrjrasaxena
Hi, thanks for such quick response. ummm, I...
Hi,
thanks for such quick response.
ummm, I did declare it within the function and as a global variable..did not work !!
51,084
Posted By nrjrasaxena
Hi, In the process of modification of my...
Hi,
In the process of modification of my script, the step next problem is following, I Would like to incorporate the following changes..but does not seem to work !
I am not sure where to define...
51,084
Posted By nrjrasaxena
Hi, I have files format like data1.list,...
Hi,
I have files format like data1.list, data2.list data3.list etc..

thanks,
pooja

---------- Post updated at 05:17 AM ---------- Previous update was at 05:16 AM ----------




Hi, ...
51,084
Posted By nrjrasaxena
Hi, ummmm, this script used to run on some 120...
Hi,
ummmm, this script used to run on some 120 files and take ~ 20 minutes for each file.:eek:

I was just wondering if I can submit parallel jobs..I meant script can run on several file at the...
51,084
Posted By nrjrasaxena
Thanks for the corrections. I am not getting...
Thanks for the corrections.
I am not getting any Error. But the data*.list is intact it does not change to data1.list....No idea..It should be the case...right/???? :confused:
51,084
Posted By nrjrasaxena
Thanks, worked fine..:) :) ---------- Post...
Thanks, worked fine..:) :)

---------- Post updated at 04:07 AM ---------- Previous update was at 03:57 AM ----------

Umm,
I am not sure..as the command is not working as part of my script...
51,084
Posted By nrjrasaxena
Nope, did not work.. sed -e...
Nope, did not work..


sed -e 's/data?/data1/g'
[/QUOTE]
51,084
Posted By nrjrasaxena
Hi, you are right..I realized it some 3 4 minutes...
Hi, you are right..I realized it some 3 4 minutes before..:P Check my earlier post for apology..:D

hmmm, how about the sed problem..??? from data(anything).list to data1.list...
51,084
Posted By nrjrasaxena
Oppsiee..SORRY :p it was my mistake..:( I need...
Oppsiee..SORRY :p it was my mistake..:(
I need to delte the FileName every time I run my script;.else it copy in the existing file and the entries keep increasing..:( :p

Sorry again
but please...
51,084
Posted By nrjrasaxena
Yes it has..definitely..!! But on top of it, it ...
Yes it has..definitely..!! But on top of it, it has duplication of those files as well..:confused::confused:
Just checked..it duplicate the file name THRICE..:(
51,084
Posted By nrjrasaxena
Hi, Completely stuck..Not working, With the...
Hi,
Completely stuck..Not working,
With the given script:

I have checked beofore that total no of files present in the given PATHNAME[] are 1021, whereas the FileName has some 3061 files.....
51,084
Posted By nrjrasaxena
Hi, I would like to modify the script [1]. ...
Hi,
I would like to modify the script [1].
Change data*.list to data1.list in the line below, it did not work.
Actually, to begin the script should read data1.list.


{ rm $CARD; sed -e...
51,084
Posted By nrjrasaxena
lol..applicable for both of us, i guess..:D ...
lol..applicable for both of us, i guess..:D

Thanks pamu..:)
51,084
Posted By nrjrasaxena
:b::b::b::):) THANKS.
:b::b::b::):)

THANKS.
51,084
Posted By nrjrasaxena
There is someting wrong:...
There is someting wrong: :confused::confused::confused:
the script is here [2] and the error is [1]


[1]

Stage 1
Stage 2
Stage 4
stag5
stag6
./Script4JobSubmit_v1.sh: line 57: ls:...
51,084
Posted By nrjrasaxena
Hi, Yeah, working all fine...and getting the...
Hi,
Yeah, working all fine...and getting the same output as you showed. No issues at all..
51,084
Posted By nrjrasaxena
hi, ERROR :confused:: ...
hi,
ERROR :confused::
./Script4JobSubmit_v1.sh: line 49: /eos/uscms/store/user/pooja04//analysis2012/525/data/doubleele/2012/datav1/: syntax error: operand expected (error token is...
51,084
Posted By nrjrasaxena
Hi, ummm, confusion. I want $FileName to...
Hi,
ummm, confusion.
I want $FileName to add the string collected from the different directories. In the given case it would create a separate $FileName every time it will read the...
51,084
Posted By nrjrasaxena
Hi, I guess i interpreted it wrongly. I...
Hi,
I guess i interpreted it wrongly. I thought i need to make it global variable.
It worked, great..:)

ummm, I would like to modify this script to do the following
...
51,084
Posted By nrjrasaxena
I defiend this at the begginng of the script as :...
I defiend this at the begginng of the script as :
TEMPSCRIPT=temp.sh
CARD=card_Data2011AB_Zee_40GeV
CondorJob=Job_condor
typset -i max=$i



Hi, thank for the quick reply.
but it did not...
51,084
Posted By nrjrasaxena
Hi, Thanks for the replies. I changed the...
Hi, Thanks for the replies.

I changed the code and made the following changes [1]. The Error I am facing is following:
./Script4JobSubmit.sh: line 96: ((: k < : syntax error: operand expected...
51,084
Posted By nrjrasaxena
passing argument from one function to another
Hi all,
In the given script code [1].
I want to pass the maximum value that variable "i" will have in function DivideJobs () to variable $max of function SubmitCondorJob().

Any help?
Thanks
...
Showing results 1 to 25 of 25

 
All times are GMT -4. The time now is 03:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy