Ok, here are the details.
Only for "ONE" WinXP machine.
1)Log into WinXP using super-user account, install cygwin, log out.
2)Log into WinXP using oridinary-user account, open two cygwin terminals,
execute ipc-daemon2 on one terminal, and configure lam-7.1a1r9708 on
the other terminal.
IEL_at_phoenix ~/lam-7.1a1r9708
$ ./configure --with-rsh="ssh -x" --without-romio
--prefix=/usr/local/lam-7.1
3)Run command "make".
IEL_at_phoenix ~/lam-7.1a1r9708
$ make
4)Run command "make install".
IEL_at_phoenix ~/lam-7.1a1r9708
$ make install
5)Compile and Link
IEL_at_phoenix /home/ycchou/demos
$ make
/usr/local/lam-7.1/bin/mpicc -c calpi.c -I/usr/local/lam-7.1/include
/usr/local/lam-7.1/bin/mpicc -o calpi calpi.o -L/usr/local/lam-7.1/lib
-lmpi -lm
No errors happened from (1) to (5).
6)Run the compiled executable file
IEL_at_phoenix /home/ycchou/demos
$ make test
/usr/local/lam-7.1/bin/lamboot -v hostfile
LAM 7.1a1svn06302004/MPI 2 C++ - Indiana University
n-1<2244> ssi:boot:base:linear: booting n0 (phoenix.engr.ucdavis.edu)
n-1<2244> ssi:boot:base:linear: finished
/usr/local/lam-7.1/bin/mpirun -np 1 calpi
--------------------------------------------------------------------------
It seems that LAM was not able to remove a directory properly.
This should not happen, and will probably require manual intervention on
your part. tkill was trying to remove the following directory:
/tmp/lam-IEL_at_phoenix
when some error occurred. Perhaps the following Unix error message will
help:
Unix errno: 90
Directory not empty
This directory contains some internal temporary LAM files, and is safe
to remove. Please go remove it manually.
--------------------------------------------------------------------------
make: *** [test] Error 90
Now, there are three files - "MultiFileSem2", "MultiFileMsg2",
"MultiFileShm2" and one directory - "lam-IEL_at_phoenix" in C:\cygwin\tmp
(=\tmp).
Inside "lam-IEL_at_phoenix" is a file named "lam-killfile"
That's all the steps that I did, and the results that I got.
|