Hi Enol,
You were right, I had that line.
I've changed it according to your indications. This is my output now:
# echo "#PBS -l nodes=64" | perl /var/spool/pbs/submit_filter.pl
#PBS -l nodes=1:ppn=16+48:ppn=1
If I try to run a job now, it exists with a compiling error:
-<START PRE-RUN HOOK>---------------------------------------------------
Compiling /home/ops053/home_cream_266664921/CREAM266664921/hello
mpicc -o /home/ops053/home_cream_266664921/CREAM266664921/hello
/home/ops053/home_cream_266664921/CREAM266664921/hello.c
Error compiling program. Exiting...
Claudiu
On 11/26/2010 02:42 PM, Enol Fernández del Castillo wrote:
> Hi Claudiu,
>
> I may have found the problem. If you have the same submit_filter that I
> had, the output of pbsnodes was not parsed correctly.
>
> In my file, in line 57 I had this:
> if (m/state\s*=\s*(\w+)/) {
>
> it should be changed to this:
> if (m/^\s*state\s*=\s*(\w+)/) {
>
> Can you check it?
>
> cheers,
> Enol.
>
>
> On 11/26/2010 01:02 PM, Claudiu Demian wrote:
>> Hi Enol,
>>
>> This is the output:
>>
>> # echo "#PBS -l nodes=64" | perl /var/spool/pbs/submit_filter.pl
>> #PBS -l nodes=64
>>
>> Here's a snippet from pbsnodes -a
>>
>> wn01.mosigrid.utcluj.ro
>> state = free
>> np = 16
>> properties = lcgpro
>> ntype = cluster
>> status = opsys=linux,uname=Linux wn01.mosigrid.utcluj.ro
>> 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:04:09 EDT 2010
>> x86_64,sessions=? 0,nsessions=?
>> 0,nusers=0,idletime=10960,totmem=50219152kb,availmem=49388984kb,physmem=49432728kb,ncpus=16,loadave=0.00,netload=2771140648,state=free,jobs=,varattr=,rectime=1290772862
>>
>>
>> wn02.mosigrid.utcluj.ro
>> state = free
>> np = 16
>> properties = lcgpro
>> ntype = cluster
>> status = opsys=linux,uname=Linux wn02.mosigrid.utcluj.ro
>> 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:04:09 EDT 2010
>> x86_64,sessions=? 0,nsessions=?
>> 0,nusers=0,idletime=3637699,totmem=50219152kb,availmem=49891920kb,physmem=49432728kb,ncpus=16,loadave=0.00,netload=2675522121,state=free,jobs=,varattr=,rectime=1290772848
>>
>>
>> ...
>>
>>
>> wn62.mosigrid.utcluj.ro
>> state = free
>> np = 16
>> properties = lcgpro
>> ntype = cluster
>> status = opsys=linux,uname=Linux wn62.mosigrid.utcluj.ro
>> 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:04:09 EDT 2010
>> x86_64,sessions=? 0,nsessions=?
>> 0,nusers=0,idletime=3643948,totmem=25446640kb,availmem=25173196kb,physmem=24660216kb,ncpus=16,loadave=0.00,netload=2656795333,state=free,jobs=,varattr=,rectime=1290772830
>>
>>
>> wn63.mosigrid.utcluj.ro
>> state = free
>> np = 16
>> properties = lcgpro
>> ntype = cluster
>> status = opsys=linux,uname=Linux wn63.mosigrid.utcluj.ro
>> 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:04:09 EDT 2010
>> x86_64,sessions=? 0,nsessions=?
>> 0,nusers=0,idletime=348784,totmem=25446640kb,availmem=25046572kb,physmem=24660216kb,ncpus=16,loadave=0.00,netload=3384007997,state=free,jobs=,varattr=,rectime=1290772850
>>
>>
>> wn64.mosigrid.utcluj.ro
>> state = free
>> np = 16
>> properties = lcgpro
>> ntype = cluster
>> status = opsys=linux,uname=Linux wn64.mosigrid.utcluj.ro
>> 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:04:09 EDT 2010
>> x86_64,sessions=? 0,nsessions=?
>> 0,nusers=0,idletime=162126,totmem=25446640kb,availmem=25155936kb,physmem=24660216kb,ncpus=16,loadave=0.03,netload=31085145356,state=free,jobs=,varattr=,rectime=1290772837
>>
>>
>>
>> Cheers,
>> Claudiu
>
>
|