Which wiki? we have at least 2...

Anyway, in the case of oscar apparently you just have to make a new
subdirectory of /opt/modules/oscar-modules (I copied the sge one since
it was fairly simple).  OSCAR already makes the
/opt/modules/modulefiles stuff for you.  It also loads all its modules
properly, and unloads them whenever that makes sense as well.

On 4/2/07, Bernard Li <[EMAIL PROTECTED]> wrote:
> Sounds like something that should be added to the Wiki -- Mike, you
> want to co-ordinate this with Bruce?
>
> BTW, welcome back (?) Bruce ;-)
>
> Cheers,
>
> Bernard
>
> On 4/2/07, Bruce Becker <[EMAIL PROTECTED]> wrote:
> > hi Michael
> >
> > > Currently OSCAR uses "modules" to set up environment stuff for users
> > > automagically.  If I wanted to add a new module, where do I put it?  I
> > > just want to add a directory to the path at the moment, but I might
> > > need to do additional things as well, so I thought I would use the big
> > > hammer from the start, just for fun.
> > We used the modules distributed with oscar 4.2 to "modulise" a bunch
> > of applications we have which are entirely external to OSCAR. I did it
> > this way :
> > 1)  make a directory under /opt/modules called "modulefiles
> > 2) make a directory for each package you want modules to know about
> > 3) write a module file for each version of the package in the subdirectory
> >
> > There is a step missing - I can't remember where the path to
> > modulefiles was set, but I seem to remember that I found out at the
> > modules documentation page at sourceforge...
> >
> > Hope that helps,
> > Ciao,
> > Bruce
> >
> > --
> > Bruce Becker
> > I.N.F.N. Sezione di Cagliari
> > Cittadella Universitaria
> > 09042 Monserrato (CA) , ITALIA
> > +39 070 675 4982 (w) | +39 347 317 9367 (m)
> > AIM/GTalk/Skype/MSN/Jabber : brucellino
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share your
> > opinions on IT & business topics through brief surveys-and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Oscar-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/oscar-devel
> >
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Oscar-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to