> As far as OS dependencies...in the modulefile
> add code like this...
>
> set osname [ uname sysname ]
>
> if {[ string compare $osname "SunOS" ] == 0} {
> set ncdir /<path>/toolX
> set nctools tools.sun4v
> } elseif {[ string compare $osname "Linux" ] == 0} {
> set ncdir /<path>/toolX-linux
> set nctools tools.lnx86
> } else {
> # some kind of error!
> puts stderr "Error: This OS, $osname, is not
> supported with\
> [module-info specified]!"
> }
Thank you. It was mostly this I was looking for. Will be a little work for
every modulefile, since platform support are not built into Modules.
Stefan
|