CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

A problem about parallel computing

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By babala

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2013, 05:33
Default A problem about parallel computing
  #1
New Member
 
Zhiyuan Li
Join Date: Aug 2013
Location: Beijing
Posts: 9
Rep Power: 13
babala is on a distinguished road
Hello,
I am running a test on a Redhat server.I plan to run the test with two nodes(every node has 8 CPUs). We can name the two nodes as node1 and node2.
I use the commond as userguide:

mpirun -hostfile machine -np 16 rhoCentralFoam -parallel

The file of machine is like this:
node1
node2

However, the terminal gives me a error information follows:

--------------------------------------------------------------------------
Open RTE detected a parse error in the hostfile:
machine
It occured on line number 3 on token 1.
--------------------------------------------------------------------------
[c2-8:27938] [[27546,0],0] ORTE_ERROR_LOG: Error in file base/ras_base_allocate.c at line 222
[c2-8:27938] [[27546,0],0] ORTE_ERROR_LOG: Error in file base/plm_base_launch_support.c at line 99
[c2-8:27938] [[27546,0],0] ORTE_ERROR_LOG: Error in file plm_rsh_module.c at line 1173

Then, I just use one node, And I modify the file of machine as this:

node1

And input the commond
mpirun -hostfile machine -np 8 rhoCentralFoam -parallel

the solver can work successifully.
And the other node is OK,too.I don't know how to solve this problem.

Any answers is appreciated.

best regards
Zhiyuan Li

Last edited by babala; November 20, 2013 at 04:13.
babala is offline   Reply With Quote

Old   November 26, 2013, 18:23
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Zhiyuan Li and welcome to the forum!

Quick answer - follow these instructions: 7. How do I run a simple SPMD MPI job?

Long answer - check this blog post with a lot of links that can help with several topics regarding running in parallel: Notes about running OpenFOAM in parallel

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   November 27, 2013, 00:31
Default
  #3
New Member
 
Zhiyuan Li
Join Date: Aug 2013
Location: Beijing
Posts: 9
Rep Power: 13
babala is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings Zhiyuan Li and welcome to the forum!

Quick answer - follow these instructions: 7. How do I run a simple SPMD MPI job?

Long answer - check this blog post with a lot of links that can help with several topics regarding running in parallel: Notes about running OpenFOAM in parallel

Best regards,
Bruno

hello, Bruno.
Thank you for your replies.
I have solved the problems. I created the file of machine.txt in Windows system and editted it in Windows system,too.And, Linux system can't identify contents of the file.Then I editted the file by vim and the solver can run in parallel perfectly.
The mistake is so stupid.Hope somebody else won't make the same mistake.

Best regards
Zhiyuan
wyldckat likes this.
babala is offline   Reply With Quote

Old   October 2, 2019, 23:55
Default Windows host
  #4
Member
 
Ndong-Mefane Stephane Boris
Join Date: Nov 2013
Location: Kawasaki (JAPAN)
Posts: 53
Rep Power: 13
S_teph_2000 is on a distinguished road
Hello,

I am running Openfoam in windows 10 Linux (Ubuntu).
I would like to know if it's possible to use distributed parallel with another windows host? are there any examples?

thanks in advance.

Kazu
S_teph_2000 is offline   Reply With Quote

Old   October 23, 2019, 02:04
Default Distributed parallel with interIsoFoam
  #5
Member
 
Ndong-Mefane Stephane Boris
Join Date: Nov 2013
Location: Kawasaki (JAPAN)
Posts: 53
Rep Power: 13
S_teph_2000 is on a distinguished road
Hello,

No answer? I tried running icoFoam with the cavity tutorial in distributed parallel, using two machines with WSL installed. I get a "***Usage Warning***" message, and then everything is hanging: no sign of calculation or data transfer. am I doing something wrong, or distributed parallel with WSL is simply impossible????
Help someone!!


Kazu
S_teph_2000 is offline   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
[mesh manipulation] Problem with RenumberMesh in parallel in OpenFOAM 2.1.1 srini_esi OpenFOAM Meshing & Mesh Conversion 1 November 8, 2013 03:48
Problem in using UDF in parallel computing Yogini Fluent UDF and Scheme Programming 0 January 22, 2013 09:23
Parallel Run problem shhe OpenFOAM Running, Solving & CFD 1 April 27, 2010 07:52
Problem in Parallel UDF Giacomo de Renzi FLUENT 12 June 18, 2008 13:19
problem!! FLUENT 6.2 -SUSE parallel computing khanjaved FLUENT 1 August 15, 2005 23:00


All times are GMT -4. The time now is 22:59.