Gladly, but where would you like it. It doesn't really make since to put
it in the "Developer Documentation"...does it?
at worst i can just adjust the tests in the opkg to allow for manual
execution in addition to the current approach that uses a resource mgr.
[But don't have time for writing updated tests at the current moment. :( ]
thanks,
--tjn
_________________________________________________________________________
Thomas Naughton [EMAIL PROTECTED]
Research Associate (865) 576-4184
On Wed, 31 May 2006, Bernard Li wrote:
Hi Thomas:
Thanks for the documentation for testing PVM manually, it'll help me
troubleshoot the problem under SGE.
Can you by chance put this in the Trac wiki, it will be immensely
useful.
Cheers,
Bernard
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Thomas Naughton
Sent: Wednesday, May 31, 2006 12:53
To: [email protected]
Cc: Erich Focht
Subject: [Oscar-devel] updated pvm for testing
Hey,
I snagged a newer version of PVM today and did some testing on
x86_64 (CentOS 4.1 -- all I have access to here at ORNL) and on
x86 (FC5 -- IU server).
I'm not sure if this will solve the problems reported in the
current Trac
bugs #5 & #27 (both PVM related) but dont' have access to FC5-x86_64.
I've checked in a new SRPM for pvm (no binary RPMs yet). So,
if someone
can test to see that:
1) on FC5-x86_64 the new SRPM build properly (ignoring warnings)
2) that the resulting binaries install and run properly
(see note at bottom)
Then I believe the two PVM bugs are fixed and we just need to
rebuild for
the appropriate platforms for the upcoming release.
Thanks,
--tjn
[testing PVM manually]
Here's a quick set of steps for testing PVM so you don't
have to install all of OSCAR.
0) Install the PVM rpm
(If don't have switcher you can set the following
vars by hand
on all nodes via $HOME/.profile or appropriate shell file.)
# if on x86
PVM_ARCH=LINUX
# if on x86_64 or ia64
PVM_ARCH=LINUX64
PVM_ROOT=/opt/pvm3
PVM_RSH=ssh
PATH=$PATH:$PVM_ROOT/lib
PATH=$PATH:$PVM_ROOT/lib/$PVM_ARCH
PATH=$PATH:$PVM_ROOT/bin/$PVM_ARCH
1) grab the 'master1.c' and 'slave1.c' files from the testing/
subdir of the PVM opkg.
2) compile the test programs,
gcc -I$(PVM_ROOT)/include master1.c \
-L$(PVM_ROOT)/lib/$(PVM_ARCH) -lpvm3
-o master1
gcc -I$(PVM_ROOT)/include slave1.c \
-L$(PVM_ROOT)/lib/$(PVM_ARCH) -lpvm3 -o slave1
3) create the default location for PVM binaries,
naughton: $ mkdir -p $HOME/pvm3/bin/$PVM_ARCH
4) Copy the 'master1' and 'slave1' files to the above dir,
naughton: $ cp master1 slave1 $HOME/pvm3/bin/$PVM_ARCH
5) Startup pvm and add a node or two
naughton: $ pvm
pvm> conf
...list the current virtual machine configuration...
pvm> add oscarnode1
pvm> conf
...list the current virtual machine configuration...
6) Exit from the pvm console using 'quit' (*not* 'halt').
pvm> quit
naughton: $
7) Run the 'master1' binary and you should get 6 lines of
results containing the results of the calculation.
(3 from each node in the configuration, localhost +
oscarnode2)
8) You can now return to the pvm console and halt PVM
to end the test.
naughton: $ pvm
pvm> halt
______________________________________________________________
___________
Thomas Naughton
[EMAIL PROTECTED]
Research Associate (865) 576-4184
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost
and Risk!
Fully trained technicians. The highest number of Red Hat
certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&
dat=121642
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel