Starting with an example file (the hccn example input file), it runs
fine in serial mode
defined cluster.cfg in directory defined by $SPINEV with one entry:
krill@mb3 1.0 /home/krill/work /home/krill/spinev-3.3.3-Linux-i686
but it fails when I try to run it:
harris@madsbak:~/spinevolution_examples$ spinev hccn -cluster
SPINEVOLUTION 3.3.3
Experiment loaded
maxdt = 2 usec
Powder averaging will be split as follows:
0 mb3 168
Error: error -3 occured while communicating with node 0
Running the cluster test seems to provide a positive result:
harris@madsbak:~/spinevolution_examples$ spinev -sclust
mb3:22 OK
Also, if I try and start the program manually with the info. from cluster.cfg :
ssh krill@mb3 /home/krill/spinev-3.3.3-Linux-i686/spinev
seems to work out fine as well
Trying to track down the problem, I replaced the spinev executable on
the called-on node with a simple script to dump a message to a text
file
(just #!/bin/bash echo "this program ran" > /home/krill/output.txt )
If I run manually with the above ssh krill@mb3 command, the message is
output to the file, but if I run as spinev hccn -cluster, no message
is produced, and the error message is the same as above (the error -3
business).
So, it seems that the spinev command on the second node is not even
getting called upon. What have I done wrong in the config. here?
thanks in advance,
Kris Harris