David,
It sounds like you have created the PGCC switcher file, but not pushed it
to the compute nodes. You'll need to add the file you've created on the
head node to the compute nodes. Something like this should work. (I find
examples much better than lots of verbiage.)
Assuming the dir you created MPICH PGCC is '/opt/mpich-pgcc' and that the
assiocated Switcher file (mpich-ch_p4-pgcc-1.2.4.10) is in
'/opt/mpich-pgcc/share/etc/'.
# Create an archive of the compile src including added Switcher file
# and distribute around the cluster.
root# tar -cf /opt/mpich-pgcc.tar /opt/mpich-pgcc
root# cpush /opt/mpich-pgcc.tar /tmp
root# cexec tar -xf /tmp/mpich-pgcc.tar -C /opt
root# crm /tmp/mpich-pgcc.tar
# Then add the the new MPICH PGCC name to the MPI tag on the cluster
# e.g., this will show up as 'mpich-pgcc' to user
root# switcher mpi --add-name mpich-pgcc /opt/mpich-pgcc
root# cexec switcher mpi --add-name mpich-pgcc /opt/mpich-pgcc
# Test things out as a standard user
root# su - bobby
bobby$ switcher mpi --show
system:default=mpich-ch_p4-gcc-1.2.5.10
system:exists=true
node0: $ switcher mpi = mpich-pgcc_test
Attribute successfully set; new attribute setting will be effective for
future shells
# And to return the user account to the system default
bobby$ switcher mpi --rm-attr default
Hope that helps,
--tjn
PS See also switcher(1) manual page.
_________________________________________________________________________
Thomas Naughton [EMAIL PROTECTED]
Research Associate (865) 576-4184
On Mon, 27 Oct 2003, Dr. David F. Robinson wrote:
> I compiled mpich using the Portland compiler and everything seems to have
> worked fine. I am now using this version on the master node and I have
> copied the entire directory "/opt/mpich-ch_p4-pgcc" to the slave nodes.
> However, I am getting the following message when I ssh to the slave nodes:
>
>
>
> Switcher:mpi:Cannot find modulefile for mpich-ch_p4-pgcc-1.2.5.10 -skipping
>
>
>
> When I do a "switcher mpi -list" on the master node the pgcc version shows
> up. However, when I do this on the slave node the older gcc version is
> there. How do I push the switcher info to all of the slave nodes? I tried
> using sync_users, but this doesn't seem to have worked.
>
>
>
> Thanks in advance,
>
>
>
> David
>
>
>
>
>
> David F. Robinson, Ph.D.
>
> Aletheon Technologies
>
> 224 Rolling Hills Road; Suite 9A
>
> Mooresville, NC 28117
>
> Phone 704.799.6944
>
> Fax 704.799.7974
>
> [EMAIL PROTECTED]
>
>
>
>
-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users