CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

PVM setup

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2002, 14:31
Default PVM setup
  #1
cfd guy
Guest
 
Posts: n/a
Hi users,
I'm having some problems setting up the PVM daemon for the use of a slave machine in a distributed parallel problem in CFX-5.5.1. The problem is that I can't even add manually the slave host under the pvm.exe utility. The output says that the system could't find the specified file(wish I could know which file it is). The rsh service is running ok but I can't start the daemon in my desired hosts. The error is shown below.


***need more ? *** hoster() 1 to start, wait id 262158 0. tc0000 sargento so="" Bound to port 1021 Bound to port 1020 socket closed (?) after reading from :

The system cannot find the file specified. socket closed (?) after reading from sargento: Error doing $PVM_ROOT/lib/pvmd -s -d0 -nsargento 1 8f6a2690:05c0 4080 3 8f6a269d:0000 on sargento phase1() rsh failed for host sargento
Here, sargento is my slave hostname. So, is there a troubleshooting guide available for it? Any hints?
Thanks in advance, cfd guy
  Reply With Quote

Old   September 26, 2002, 15:48
Default Re: PVM setup
  #2
Ribeiro
Guest
 
Posts: n/a
All the required configuration files are ok? It means files PVMhosts, hosts.ccl, CFXhosts in C:\CFX\CFX-5.5.1\Config\5.5.1 directory.

Ribeiro
  Reply With Quote

Old   September 26, 2002, 17:25
Default PVM running
  #3
cfd guy
Guest
 
Posts: n/a
All done Ribeiro. It was a problem with the PVMhosts file. Now it's ok... Thanks !
cfd guy.
  Reply With Quote

Old   September 27, 2002, 03:34
Default Re: PVM running
  #4
cujo
Guest
 
Posts: n/a
What was the exact problem?

Regards, Cujo
  Reply With Quote

Old   September 27, 2002, 04:00
Default Re: PVM running
  #5
Jesper
Guest
 
Posts: n/a
Hi cfd guy.

Right now I am having the exact same problem and similar error message as you just had. What was your problem with the PVMhosts file? I am trying to run a distributed parallel run with one master and one slave. I have only included a PVMhosts file on the master node. My PVMhosts file looks like:

&pc1 dx=d:/cfx/cfx-5.5.1/tools/CYGWIN32_NT/pvm3.4/lib/win32/pvm3d.exe &pc2 dx=d:/cfx/cfx-5.5.1/tools/CYGWIN32_NT/pvm3.4/lib/win32/pvm3d.exe

Where pc1 is the master node, and pc2 is the slave nodes. I've tjecked that the stated home directories for the pvmdaemon in the PVMhosts file is in agreement with the cfx installation.

Thanks in advance, and best regards Jesper.

  Reply With Quote

Old   September 27, 2002, 06:16
Default Re: PVM running
  #6
Bob
Guest
 
Posts: n/a
Hi Guys, I have a quick question regarding parallel setup. If I were to set up a linux cluster of 4 pc's would it be beneficial to have them all as dual CPU machines with 2Gb of ram on them or would it be better to say have separate machines each with a single CPU and 1GB of ram but say only have 6 pc's (as cost may not allow 8pc's) ?? Bob
  Reply With Quote

Old   September 27, 2002, 10:24
Default Re: PVM running
  #7
cfd guy
Guest
 
Posts: n/a
Hi Jesper and cujo,
The whole problem was that I was not configuring correctly the three files in the config subdirectory of CFX-5 installation. Jesper, for your specific case PC1 and PC2 hostnames, the files should be something like this:
------- PVMhosts File -------

&PC1 dx=d:/cfx/cfx-5.5.1/tools/CYGWIN32_NT/pvm3.4/lib/win32/pvm3d.exe &PC2 dx=d:/cfx/cfx-5.5.1/tools/CYGWIN32_NT/pvm3.4/lib/win32/pvm3d.exe
-----------------------------


------- hosts.ccl File -------
EXECUTION CONTROL: PARALLEL HOST LIBRARY: HOST DEFINITION: PC1 Number of Processors = 1 Installation Root = D:\CFX\CFX-5.5.1 END # HOST DEFINITION PC1 HOST DEFINITION: PC2 Number of Processors = 1 Installation Root = D:\CFX\CFX-5.5.1 END # HOST DEFINITION PC2 END # PARALLEL HOST LIBRARY END # EXECUTION CONTROL
-----------------------------
------- CFXhosts File -------
EXECUTION CONTROL: PARALLEL HOST LIBRARY: HOST DEFINITION: PC1 Number of Processors = 1 Installation Root = d:\CFX\CFX-55~1.1 END # HOST DEFINITION PC1 HOST DEFINITION: PC2 Number of Processors = 1 Installation Root = d:\CFX\CFX-55~1.1 END # HOST DEFINITION PC2 END # PARALLEL HOST LIBRARY PC1 1 1.00 & d:/CFX/CFX-55~1.1/bin/5.5.1/winnt/solver-pvm.exe PC2 1 1.00 & d:/CFX/CFX-55~1.1/bin/5.5.1/winnt/solver-pvm.exe -----------------------------
Pay attention with the hostnames, they are CASE SENSITIVE (take a look at CFX-Community in the FAQ's section).
Well, I believe this will fix your problems, at least it fixed mine. Good luck!
cfd guy

  Reply With Quote

Old   September 27, 2002, 10:36
Default Re: PVM running
  #8
cfd guy
Guest
 
Posts: n/a
Hi Bob,
Once I fixed my PVM problem, now I'm running 5 processes where 4 processes are running in two different DUAL PC's and one in a single PC. I believe that you spend some precious time due file transferring over the intranet. However running in 5 processes it saved me a lot of memory. I also believe that is cheaper you buy 4 Dual PC's than a little cluster containing 8 CPU's (if I'm wrong please correct me). And in your case I would rather buy 4 Dual PC's than buying 6 single ones due file transferring and physical space.
Regards, cfd guy
  Reply With Quote

Old   September 27, 2002, 13:05
Default Re: PVM running
  #9
Jesper
Guest
 
Posts: n/a
Hi cfd guy! You really saved my day. It all works now. The problem was in the CFXhosts file. The slave node was not defined properly.

Best regards Jesper.
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Hexa mesh, curve mesh setup, bunching law Anorky ANSYS Meshing & Geometry 4 November 12, 2014 01:27
Guide setup PVM CFX painterwolf CFX 12 May 24, 2009 20:47
PVM Distributed problem - error connecting zaidun CFX 2 July 5, 2006 10:59
PVM RSH parallel setup problem Windows XP abe CFX 11 January 30, 2006 06:10
setup vof test problem Fang Jin FLUENT 1 June 14, 2005 09:27


All times are GMT -4. The time now is 11:49.