From: Michael Edwards [mailto:[EMAIL PROTECTED]
Sent: Fri 16/12/2005 07:52
To: [EMAIL PROTECTED]
Cc: [email protected]; Bernard Li
Subject: Re: [Oscar-devel] SGE's modulefile
Isn't this what the OS Detect framework is for?
On
12/16/05, Erich Focht <[EMAIL PROTECTED]> wrote:
> Hi
Bernard,
>
> I have a third option for you ;-)
>
> 3)
use tcl "if" statements and do some parsing of the uname output inside
the
> module file.
>
> Regards,
>
Erich
>
> On Friday 16 December 2005 10:27, Bernard Li
wrote:
> > I have a dilemna with SGE's modulefile. The modulefile
basically sets the PATH, MANPATH, LD_LIBRARY_PATH for the application, however,
the PATH would look like this depending on what architecture it is running
on:
> >
> > /opt/sge/bin/lx26-x86
> >
> > So
there are two options:
> >
> > 1) Have PATH for all three
archs:
> >
> > append-path PATH
/opt/sge/bin/lx26-x86;/opt/sge/bin/lx26-amd64;/opt/sge/bin/lx26-ia64
>
>
> > -or-
> >
> > 2) Have the modulefile arch
specific
> >
> > Also, I just realized that I will need more
PATHs for option 1) because there is also the scenario where it will be lx24-x86
(2.4 kernel)
> >
> > Thoughts?
> >
> >
Cheers,
> >
> > Bernard
>
>
>
>
-------------------------------------------------------
> This SF.net
email is sponsored by: Splunk Inc. Do you grep through log files
> for
problems? Stop! Download the new AJAX search engine that
makes
> searching your log files as easy as surfing the web.
DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>
_______________________________________________
> Oscar-devel mailing
list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>
