I cannot start a pvm run under Windows. What can I do?

Starting 'cfx5parallel -pvm-console' from the CFX command line replies:

Error - File C:WINDOWSsystem32rsh Not Found!
Determine the path to the "rsh" command on your
system, and edit PVM_ROOTconfWIN32.def
to adjust the path for the -DRSHCOMMAND=""
flag. Then recompile PVM and your applications.


This can have several reasons:

1) Verify that rsh is installed and running on your machine. Verify that the rsh daemon that you are running is from the current CFX version. Maybe you need to stop the current rsh daemon and uninstall it and then install the one provided with CFX as follows:

a. Copy c:program filesansys inccfxcfx-10.0binwinntrshd.exe to C:winntsystem32

b. Start a Windows Command Prompt
cd C:winntsystem32
rshd /install

c. Go to Control Panel > Administrative Tools > Services
Find "Remote Shell (RSH) Service"
Change the Startup Type to Automatic, the Log On As to This Account and enter your username and password
Click Start to start the service

(d. In some cases you need to reboot. Please try e. first.)

e. Test rsh in both directions.
For Windows nodes, use the command:
rsh winhost cmd /c echo working
For UNIX slave nodes, use the command:rsh unixhost echo working


2.) In your hosts.ccl file, which is in the directory CFX-10.0config, you will have several definitions for the field Installation Root, one for each of the computers to be used for parallel runs. Can you make sure that there are no spaces in the values of Installation Root.
For CFX 10 you need the value to be
C:Progra~1ANSYSI~1CFXCFX-%v

The problem is that the program that reads the host.ccl file cannot cope with spaces in the pathnames, which is why you have to replace any names with spaces in them with DOS (8 letter maximum) compatible alternatives.


3) Sometimes temporary pvm files can remain and cause problems.
Have a look in C:Documents and SettingsusernameLocal SettingsTemp for files beginning with PVMD or PVML.
These should be deleted.


4) You should also verify that the Windows XP SP2 Firewall allows distributed parallel computing with CFX-10.0 (PVM).

a. Login as local administrator.

b. ->Start ->Control Panel ->Windows Firewall

Allow exceptions
add the following two programs to the exceptions:

hoster: C:WINDOWSsystem32rsh.exe
TCP/IP Remote Shell Program: C:WINDOWSsystem32rsh.exe

c. Start the distributed solver run.





Show Form
No comments yet. Be the first to add a comment!