[root@centos4-2-x86 ~]# switcher mpi --show
system:default=lam-7.0.6
user:exists=1
[root@centos4-2-x86 ~]# switcher mpi --list
mpich-ch_p4-gcc-1.2.7
lam-7.0.6
[root@centos4-2-x86 ~]# switcher mpi =
mpich-ch_p4-gcc-1.2.7
Attribute successfully set; new attribute setting will
be effective for
future shells
[root@centos4-2-x86 ~]# bash
mpi/mpich-ch_p4-gcc-1.2.7(16):ERROR:150: Module
'mpi/mpich-ch_p4-gcc-1.2.7' conflicts with the
currently loaded module(s) 'mpi/lam-7.0.6'
mpi/mpich-ch_p4-gcc-1.2.7(16):ERROR:102: Tcl command
execution failed: conflict mpi
It appears that switcher does not correctly unload the
last module selected. This only happens if you invoke
a shell within a shell, as opening a new shell does not
cause this problem.
Bug shows up in 4.2.1, and is still present in trunk.
Logged In: YES
user_id=879102
We agreed to docfix this for 4.2.1 since we won't have time
to fix this until hopefully 5.0, Mike, can you take care of
this?
Logged In: YES
user_id=879102
I tested the same thing on 3.0b6 and it gave the same
"error" - so perhaps this is a "feature" of env-switcher
that was never "fixed".