advices for itanium compilation

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

advices for itanium compilation

Angel Alvarez
Hi,

Some mates allowed me to play with erlang on a 16 CPU SGI
itanium with Red Hat Advanced server (SGI propack something).

¿where can i pick a suitable rpm for this beast?

Can i rebuild a normal source rpm for Redhat AS on itanium or i have to
make some croscompile...?


Thanks in advance

Angel



Most people know C is not so high level....
                ...Everybody else just got assembler overdose
 

________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: advices for itanium compilation

Mikael Pettersson-3
Angel <[hidden email]> wrote:
> Some mates allowed me to play with erlang on a 16 CPU SGI
> itanium with Red Hat Advanced server (SGI propack something).
>
> where can i pick a suitable rpm for this beast?
>
> Can i rebuild a normal source rpm for Redhat AS on itanium or i have to
> make some croscompile...?

That box should be plenty powerful enough to build Erlang natively
without any cross-compilation. As for src rpms, RH AS is AFAIK fairly
old so I wouldn't expect a src rpm tuned for e.g. Fedora to work as-is.

Why not just download the otp_src tarball, unpack it, and build it
normally? (./configure; make)

________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: advices for itanium compilation

Angel Alvarez
El Miércoles, 3 de Marzo de 2010 21:21:52 Mikael Pettersson escribió:

> Angel <[hidden email]> wrote:
> > Some mates allowed me to play with erlang on a 16 CPU SGI
> > itanium with Red Hat Advanced server (SGI propack something).
> >
> > where can i pick a suitable rpm for this beast?
> >
> > Can i rebuild a normal source rpm for Redhat AS on itanium or i have to
> > make some croscompile...?
>
> That box should be plenty powerful enough to build Erlang natively
> without any cross-compilation. As for src rpms, RH AS is AFAIK fairly
> old so I wouldn't expect a src rpm tuned for e.g. Fedora to work as-is.
>
> Why not just download the otp_src tarball, unpack it, and build it
> normally? (./configure; make)
>

I managed to compile the tarball... but now it cant detect the cpu topology.

erl
Erlang R13B04 (erts-5.7.5) [source] [64-bit] [smp:12:12] [rq:12] [async-threads:0] [kernel-poll:false]

Eshell V5.7.5  (abort with ^G)
1> erlang:system_info(cpu_topology).
undefined
2>

this machine has 6 bricks with two itanium 2 cpus per brick, but i cant figure how to spec the layout...

L0c0p0,L1c0p1N0:L2c0p0,L3c0p1N1:L4c0p0,L5c0p1N2:L6c0p0,L7c0p1N3:L8c0p0,L9c0p1N4:L19c0p0,L11c0p1N5

this gets nothing...


Anyone can help me

Thanks!!

--
No imprima este correo si no es necesario. El medio ambiente está en nuestras manos.
__________________________________________

Clist UAH a.k.a Angel
__________________________________________
Primero vino el Navegador, luego fué el explorador, ahora llega el Konquistador.

________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: advices for itanium compilation

Mikael Pettersson-3
Angel Alvarez writes:
 > El Miércoles, 3 de Marzo de 2010 21:21:52 Mikael Pettersson escribió:
 > > Angel <[hidden email]> wrote:
 > > > Some mates allowed me to play with erlang on a 16 CPU SGI
 > > > itanium with Red Hat Advanced server (SGI propack something).
 > > >
 > > > where can i pick a suitable rpm for this beast?
 > > >
 > > > Can i rebuild a normal source rpm for Redhat AS on itanium or i have to
 > > > make some croscompile...?
 > >
 > > That box should be plenty powerful enough to build Erlang natively
 > > without any cross-compilation. As for src rpms, RH AS is AFAIK fairly
 > > old so I wouldn't expect a src rpm tuned for e.g. Fedora to work as-is.
 > >
 > > Why not just download the otp_src tarball, unpack it, and build it
 > > normally? (./configure; make)
 > >
 >
 > I managed to compile the tarball... but now it cant detect the cpu topology.
 >
 > erl
 > Erlang R13B04 (erts-5.7.5) [source] [64-bit] [smp:12:12] [rq:12] [async-threads:0] [kernel-poll:false]
 >
 > Eshell V5.7.5  (abort with ^G)
 > 1> erlang:system_info(cpu_topology).
 > undefined

I'm assuming this runs RHEL 4 AS, in which case it's a 2.6.9-based kernel.
Most likely that kernel doesn't present any cpu topology, or does it in a way
incompatible with the /sys parsing code in erts/lib_src/common/erl_misc_utils.c.
(Welcome to the /sys unstable ABI.)

If it was me I'd upgrade the kernel ASAP to something less ancient, but I'm
assuming you don't have the option to do that.

 > 2>
 >
 > this machine has 6 bricks with two itanium 2 cpus per brick, but i cant figure how to spec the layout...
 >
 > L0c0p0,L1c0p1N0:L2c0p0,L3c0p1N1:L4c0p0,L5c0p1N2:L6c0p0,L7c0p1N3:L8c0p0,L9c0p1N4:L19c0p0,L11c0p1N5
 >
 > this gets nothing...

I can't help you with that one.

________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: advices for itanium compilation

Rickard Green-2
In reply to this post by Angel Alvarez
2010/3/4 Angel Alvarez <[hidden email]>:

> El Miércoles, 3 de Marzo de 2010 21:21:52 Mikael Pettersson escribió:
>> Angel <[hidden email]> wrote:
>> > Some mates allowed me to play with erlang on a 16 CPU SGI
>> > itanium with Red Hat Advanced server (SGI propack something).
>> >
>> > where can i pick a suitable rpm for this beast?
>> >
>> > Can i rebuild a normal source rpm for Redhat AS on itanium or i have to
>> > make some croscompile...?
>>
>> That box should be plenty powerful enough to build Erlang natively
>> without any cross-compilation. As for src rpms, RH AS is AFAIK fairly
>> old so I wouldn't expect a src rpm tuned for e.g. Fedora to work as-is.
>>
>> Why not just download the otp_src tarball, unpack it, and build it
>> normally? (./configure; make)
>>
>
> I managed to compile the tarball... but now it cant detect the cpu topology.
>
> erl
> Erlang R13B04 (erts-5.7.5) [source] [64-bit] [smp:12:12] [rq:12] [async-threads:0] [kernel-poll:false]
>
> Eshell V5.7.5  (abort with ^G)
> 1> erlang:system_info(cpu_topology).
> undefined
> 2>
>
> this machine has 6 bricks with two itanium 2 cpus per brick, but i cant figure how to spec the layout...
>
> L0c0p0,L1c0p1N0:L2c0p0,L3c0p1N1:L4c0p0,L5c0p1N2:L6c0p0,L7c0p1N3:L8c0p0,L9c0p1N4:L19c0p0,L11c0p1N5
>
> this gets nothing...
>
>
> Anyone can help me
>
> Thanks!!
>


erl +sct L0-1p0-1N0:L2-3p2-3N1:L4-5p4-5N2:L6-7p6-7N3:L8-9p8-9N4:L19,11p19,11N5

1> erlang:system_info(cpu_topology).
[{node,[{processor,{logical,0}},{processor,{logical,1}}]},
 {node,[{processor,{logical,2}},{processor,{logical,3}}]},
 {node,[{processor,{logical,4}},{processor,{logical,5}}]},
 {node,[{processor,{logical,6}},{processor,{logical,7}}]},
 {node,[{processor,{logical,8}},{processor,{logical,9}}]},
 {node,[{processor,{logical,11}},{processor,{logical,19}}]}]
2>

Processor identifiers are system wide and `,' separates identifiers.

Regards,
Rickard Green, Erlang/OTP, Ericsson AB.

> --
> No imprima este correo si no es necesario. El medio ambiente está en nuestras manos.
> __________________________________________
>
> Clist UAH a.k.a Angel
> __________________________________________
> Primero vino el Navegador, luego fué el explorador, ahora llega el Konquistador.
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:[hidden email]
>
>

________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: advices for itanium compilation

Angel Alvarez
On Jueves, 4 de Marzo de 2010 15:53:34 Rickard Green escribió:

> 2010/3/4 Angel Alvarez <[hidden email]>:
> > El Miércoles, 3 de Marzo de 2010 21:21:52 Mikael Pettersson escribió:
> >> Angel <[hidden email]> wrote:
> >> > Some mates allowed me to play with erlang on a 16 CPU SGI
> >> > itanium with Red Hat Advanced server (SGI propack something).
> >> >
> >> > where can i pick a suitable rpm for this beast?
> >> >
> >> > Can i rebuild a normal source rpm for Redhat AS on itanium or i have
> >> > to make some croscompile...?
> >>
> >> That box should be plenty powerful enough to build Erlang natively
> >> without any cross-compilation. As for src rpms, RH AS is AFAIK fairly
> >> old so I wouldn't expect a src rpm tuned for e.g. Fedora to work as-is.
> >>
> >> Why not just download the otp_src tarball, unpack it, and build it
> >> normally? (./configure; make)
> >
> > I managed to compile the tarball... but now it cant detect the cpu
> > topology.
> >
> > erl
> > Erlang R13B04 (erts-5.7.5) [source] [64-bit] [smp:12:12] [rq:12]
> > [async-threads:0] [kernel-poll:false]
> >
> > Eshell V5.7.5  (abort with ^G)
> > 1> erlang:system_info(cpu_topology).
> > undefined
> > 2>
> >
> > this machine has 6 bricks with two itanium 2 cpus per brick, but i cant
> > figure how to spec the layout...
> >
> > L0c0p0,L1c0p1N0:L2c0p0,L3c0p1N1:L4c0p0,L5c0p1N2:L6c0p0,L7c0p1N3:L8c0p0,L9
> >c0p1N4:L19c0p0,L11c0p1N5
> >
> > this gets nothing...
> >
> >
> > Anyone can help me
> >
> > Thanks!!
>
> erl +sct
>  L0-1p0-1N0:L2-3p2-3N1:L4-5p4-5N2:L6-7p6-7N3:L8-9p8-9N4:L19,11p19,11N5
>
> 1> erlang:system_info(cpu_topology).
> [{node,[{processor,{logical,0}},{processor,{logical,1}}]},
>  {node,[{processor,{logical,2}},{processor,{logical,3}}]},
>  {node,[{processor,{logical,4}},{processor,{logical,5}}]},
>  {node,[{processor,{logical,6}},{processor,{logical,7}}]},
>  {node,[{processor,{logical,8}},{processor,{logical,9}}]},
>  {node,[{processor,{logical,11}},{processor,{logical,19}}]}]
> 2>

thanks for the feedback, eventually palying with options ive reached a conf
like yours...

Now ill check if procs get spread evenly... across nodes.

/Angel


>
> Processor identifiers are system wide and `,' separates identifiers.
>
> Regards,
> Rickard Green, Erlang/OTP, Ericsson AB.
>
> > --
> > No imprima este correo si no es necesario. El medio ambiente está en
> > nuestras manos. __________________________________________
> >
> > Clist UAH a.k.a Angel
> > __________________________________________
> > Primero vino el Navegador, luego fué el explorador, ahora llega el
> > Konquistador.
> >
> > ________________________________________________________________
> > erlang-questions (at) erlang.org mailing list.
> > See http://www.erlang.org/faq.html
> > To unsubscribe; mailto:[hidden email]
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:[hidden email]
>

Most people know C is not so high level....
                ...Everybody else just got assembler overdose
 

________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:[hidden email]