[erlang-questions] advices for itanium compilation

Rickard Green <>
Thu Mar 4 15:53:34 CET 2010


2010/3/4 Angel Alvarez <>:
> El Miércoles, 3 de Marzo de 2010 21:21:52 Mikael Pettersson escribió:
>> Angel <> 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:
>
>


More information about the erlang-questions mailing list