I neglected to mention that you cannot simply "rpm -Uvh" the new switcher.
Due to a bad decision in my original switcher implementation, modulefiles
were placed in $prefix/share -- which could actually conflict with other
files. The new version places them in $prefix/share/env-switcher.
So if you "rpm -Uvh" the new switcher, be sure to:
# cd $prefix/share
# ln -s . env-switcher
and you'll be ok.
(obviously, a fresh install will do the Right Thing; all new modulefiles
will be placed in the $prefix/share/env-switcher directory)
I didn't put in the backwards compatability because it was a pain. If
someone *really* needs this, let me know...
On Mon, 8 Mar 2004, Jeff Squyres wrote:
> I finally got around to implementing some functionality that Jeremy has
> been whining about ;-) for quite a long time.
>
> 1. New command: switcher-reload
> This causes switcher to re-load your current environment based on your
> switcher settings. For example:
>
> $ which mpirun
> /opt/lam-7.0/bin/mpirun
> $ switcher mpi = mpich-1.2.3
> $ which mpirun
> /opt/lam-7.0/bin/mpirun
> $ switcher-reload
> $ which mpirun
> /opt/mpich-1.2.3/bin/mpirun
>
> 2. Command line arguments to switcher can now be an any order (the
> ordering was strictly defined before -- a huge shortcoming of the perl
> AppConfig module).
>
> New RPMs are in CVS. Let me know if you have any problems with them.
>
>
--
{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-devel