[torqueusers] request odd number of cpus when using ppn=2

Brock Palen brockp at umich.edu
Tue Oct 21 14:48:42 MDT 2008


Yes that is right sorry,  habit always had me putting the bigger  
numbers first.

We still always have to build the process map to give to the MPI  
library to make sure everything goes to the right location upon  
mpirun,  but this is 100% academic, for such cases.

Brock Palen
www.umich.edu/~brockp
Center for Advanced Computing
brockp at umich.edu
(734)936-1985



On Oct 21, 2008, at 4:42 PM, James J Coyle wrote:

> A minor correction
>
>   I think that you would need:
>
> -l nodes=1:ppn=1+5:ppn=2
>
> which gives:
>
> 1 2 2 2 2 2
>
> as you requested.
>
> Rather than
>
> -l nodes=5:ppn=2+1:ppn=1
>
> which gives
>
> 2 2 2 2 2 1
>
>   I'm not sure if that is important for your problem or not.
>
>
> -- 
>  James Coyle, PhD
>  SGI Origin, Alpha, Xeon and Opteron Cluster Manager
>  High Performance Computing Group
>  235 Durham Center
>  Iowa State Univ.           phone: (515)-294-2099
>  Ames, Iowa 50011           web: http://jjc.public.iastate.edu
>
>> --===============0390183049==
>> Content-Type: multipart/alternative;
>> 	boundary="----=_Part_10932_6751160.1224618524272"
>>
>> ------=_Part_10932_6751160.1224618524272
>> Content-Type: text/plain; charset=ISO-8859-1
>> Content-Transfer-Encoding: 7bit
>> Content-Disposition: inline
>>
>> On Tue, Oct 21, 2008 at 3:40 PM, Brock Palen <brockp at umich.edu>  
>> wrote:
>>
>>> How could a user request 25 cpus?  For example code has a master  
>>> process
>>> that controls several 2 thread MPI ranks.
>>>
>>> Thus jobs should be laid out:
>>>
>>> 1  2  2  2  2  2   etc,
>>>
>>> I tried:
>>>
>>> -l nodes=5:ppn=2+nodes=1
>>
>>
>>
>>
>> -l nodes=5:ppn=2+1:ppn=1
>>
>> ------=_Part_10932_6751160.1224618524272
>> Content-Type: text/html; charset=ISO-8859-1
>> Content-Transfer-Encoding: 7bit
>> Content-Disposition: inline
>>
>> <br><br><div class="gmail_quote">On Tue, Oct 21, 2008 at 3:40 PM,  
>> Brock Palen <span dir="ltr">&lt;<a  
>> href="mailto:brockp at umich.edu">brockp at umich.edu</a>&gt;</span>  
>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px  
>> solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:  
>> 1ex;">
>> How could a user request 25 cpus? &nbsp;For example code has a  
>> master process that controls several 2 thread MPI ranks.<br>
>> <br>
>> Thus jobs should be laid out:<br>
>> <br>
>> 1 &nbsp;2 &nbsp;2 &nbsp;2 &nbsp;2 &nbsp;2 &nbsp; etc,<br>
>> <br>
>> I tried:<br>
>> <br>
>> -l nodes=5:ppn=2+nodes=1</blockquote><div><br><br><br>-l  
>> nodes=5:ppn=2+1:ppn=1<br><br><br></div></div><br>
>>
>> ------=_Part_10932_6751160.1224618524272--
>>
>> --===============0390183049==
>> Content-Type: text/plain; charset="us-ascii"
>> MIME-Version: 1.0
>> Content-Transfer-Encoding: 7bit
>> Content-Disposition: inline
>>
>> _______________________________________________
>> torqueusers mailing list
>> torqueusers at supercluster.org
>> http://www.supercluster.org/mailman/listinfo/torqueusers
>>
>> --===============0390183049==--
>>
>
>
>
>



More information about the torqueusers mailing list