CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   CFX-5.5 Parallel NT (http://www.cfd-online.com/Forums/cfx/18854-cfx-5-5-parallel-nt.html)

Kawena March 5, 2002 10:49

CFX-5.5 Parallel NT
 
Hi,

I'm trying to run CFX-5 distributed parallel. I've install full CFX-5 on master and slave instalation on slave maschine. PVMhost and hosts.ccl files are designed according to CFX user guide. RSH was properly installed (I can do rsh to slave machine).

On one machine (master) I can do parallel run with eg 2 partitions but I can't do a distributed run (on slave) machine. (I think master can't spawn proces on slave machine).

Anybody can help me?

Thanks in advice

Astrid March 6, 2002 09:26

Re: CFX-5.5 Parallel NT
 
Using Cfx5cmds (See the help) you have to put the following statements in the definition file between library and flow:


EXECUTION CONTROL :
PARALLEL HOST LIBRARY :
HOST DEFINITION : computername1
Host Architecture String = intel_p4_winnt4.0
Number of Processors = 1
Relative Speed = 1.000000000000
Solver Executable = C:/CFX/CFX-5.5/bin/5.5/winnt/solver-pvm.exe
END
HOST DEFINITION : computername2
Host Architecture String = intel_p4_winnt4.0
Number of Processors = 1
Relative Speed = 1.000000000000
Solver Executable = C:/CFX/CFX-5.5/bin/5.5/winnt/solver-pvm.exe
END
END
PARTITIONER STEP CONTROL :
Runtime Priority = Standard
PARTITIONING TYPE :
MeTiS Type = k-way
Option = MeTiS
END
END
RUN DEFINITION :
Definition File = d:/filename.def
Run Mode = Full
END
SOLVER STEP CONTROL :
Runtime Priority = Standard
EXECUTABLE SELECTION :
Double Precision = Off
END
PARALLEL ENVIRONMENT :
Option = Distributed Parallel
Parallel Host List = computername1, computername2
Parallel Mode = PVM
END
END
END



Good luck, Astrid

Robin March 6, 2002 18:40

Re: CFX-5.5 Parallel NT
 
Hi Kawena,

You don't have to use cfx5cmds to do this, the solver manager adds this for you when you set up your distributed run. It sounds like you have some other issues with the two systems.

Open a command window from the CFX-5 launcher (Tools>Command Line) then try to launch PVM directly. The path should be something like this:

C:\CFX\CFX-5.5\tools\CYGWIN32_NT\pvm3.4\console\WIN32\pvm.exe

Make sure you are doing this from a command line opend from the launcher, because CFX-5 will have additional environment variables set in this window.

Once you have the PVM> prompt up, try adding a host manually by typing "add" followed by the hostname, for instance:

pvm>add computer2

If this fails, you know you have a problem with the PVM setup.

If PVM doesn't work, check that the paths you put in the PVMhosts file are correct for each system.

If all the systems have the same CFX-5 installation root, you can save yourself some work by putting an asterix (*) in place of the host name in the PVMhosts file, thus making this the default. Also, be careful that you delimeter directories in the PVMhosts file with forward slashes (/), contrary to the usual backslashes (\)in Windows.

Based on your posting, I suspect the problem is with the pvm setup.

Best regards, Robin

Martin Bowers March 13, 2002 13:01

Re: CFX-5.5 Parallel NT
 
Robin has some good points.

It would be nice if instead of trying to remember

C:\CFX\CFX-5.5\tools\CYGWIN32_NT\pvm3.4\console\WIN32\pvm.exe

CFX would put the path to PVM in the Command Line that you open from the Launcher - a functionality that TASCflow has and is very useful for diagnosing the all too common network issues in multi computer parallel installations. I've already requested that, so if others could as well, there's a better chance they will do it.

One more thing to check is that the capitalization of the other machine names is correct, ie what Windows wants.

Finally, if you're running Fluent on the same machines, you will probably have to disable their RSH daemon and install the CFX one. Too bad they don't work together.


Robin March 13, 2002 21:24

Re: CFX-5.5 Parallel NT
 
... regarding the RSH daemon, it's too bad Microsoft doesn't support RSH at all and individual vendors have to concern themselves with installing this service.

Robin


All times are GMT -4. The time now is 12:36.