Archives


- Beowulf
- Beowulf Announce
- Scyld-users
- Beowulf on Debian

[Beowulf] Module file for Intel 11

Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.

Search

John Hearns hearnsj at googlemail.com
Tue Jan 20 06:12:23 PST 2009


2009/1/20 Kilian CAVALOTTI <kilian.cavalotti.work at gmail.com>

> Hi John,
>
>
> I would try to determine the machine type in the module file itself. Not
> sure
> if a modulefile could get the result of an external $(uname -m | sed
> 's/x86_64/intel64/;s/i[3-6]86/ia32/'), but the modulefile(4) manpage
> mentions
> a uname directive.
>

Yes, you can do that, for example:

        if { [file exists "/bin/uname"]} {
                set machinetype [ exec /bin/uname -m ]
                if { $machinetype == "ia64" }  {



>
>
> For me, Intel xxxvars.{c,}sh files never really fit into the module model.
> But
> I guess that's not what they have been designed for. So I used to give a
> look
> at was they do, which is often not much, and try to re-implement them using
> a
> modulefile.
>
Thankyou, that's useful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.scyld.com/pipermail/beowulf/attachments/20090120/e8fbef89/attachment.html


More information about the Beowulf mailing list