[torqueusers] $PBS_NODEFILE and exec_host problem

PN poknam at gmail.com
Sun Nov 8 09:09:13 MST 2009


I've found out the problem.
My platform is CentOS 5.4. I'm not sure whether this will happen in other
distro.
I built the Maui and Torque rpms and the problem was caused by the Maui rpm.

If I configure and make Maui manually, the problem will not happen.

Finally, I find out that one should edit the /usr/lib/rpm/redhat/macros
before building the Maui rpm.
- %__global_cflags        -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4

+ %__global_cflags        -O2

PN


2009/11/8 PN <poknam at gmail.com>

> Hi James,
>
> I've tried your suggestion.
> However the $PBS_NODEFILE only contains node0001:
> node0001
> node0001
> node0001
> node0001
>
> This make the mpi job fails to start since it conflicts with the HPL.dat
> settings.
> Any suggestion to due with it?
> Thanks.
>
> PN
>
>
>
>
> 2009/11/8 James A. Peltier <jpeltier at fas.sfu.ca>
>
> On Sat, 7 Nov 2009, PN wrote:
>>
>>  Hi,
>>>
>>> I'm using  maui-3.2.6p21-snap.1252608389 and torque-2.4.2.
>>> I have 2 nodes, each with 4 cpus.
>>>
>>> $ cat pbs.sh
>>> #PBS -l nodes=2:ppn=4
>>> #PBS -N hpl-8cpus
>>> #PBS -j oe
>>>
>>> cd /home/admin/hpl/hpl-2.0-openmpi
>>>
>>> cat $PBS_NODEFILE
>>>
>>> NP=`wc -l $PBS_NODEFILE | awk '{ print $1 }'`
>>>
>>> cat $PBS_NODEFILE | awk '{ print $1"-clust" }' > ./machines
>>>
>>
>> Have you considered just compiling Open-MPI with Torque support
>> (--with-tm) which might make it work for you.
>>
>> --
>> James A. Peltier
>> Systems Analyst (FASNet), VIVARIUM Technical Director
>> HPC Coordinator
>> Simon Fraser University - Burnaby Campus
>> Phone   : 778-782-6573
>> Fax     : 778-782-3045
>> E-Mail  : jpeltier at sfu.ca
>> Website : http://www.fas.sfu.ca | http://vivarium.cs.sfu.ca
>>          http://blogs.sfu.ca/people/jpeltier
>> MSN     : subatomic_spam at hotmail.com
>>
>> Treat your password like your toothbrush.  Don't let anybody
>> else use it, and get a new one every six months.
>>  - Clifford Stoll
>
>
>
>
> --
> Best Regards,
> PN Lai
> HPC Specialist
> Galactic Computng Corp.
> Tel: 86-755-26733939 ext 826
> Mobile: 86-13823161729
> Fax: 86-755-26733780
> URL: http://www.galactic.com.hk
>



-- 
Best Regards,
PN Lai
HPC Specialist
Galactic Computng Corp.
Tel: 86-755-26733939 ext 826
Mobile: 86-13823161729
Fax: 86-755-26733780
URL: http://www.galactic.com.hk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20091109/782d6807/attachment.html 


More information about the torqueusers mailing list