|
[Sponsors] |
November 19, 2013, 05:33 |
A problem about parallel computing
|
#1 |
New Member
Zhiyuan Li
Join Date: Aug 2013
Location: Beijing
Posts: 9
Rep Power: 13 |
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. |
|
November 26, 2013, 18:23 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
November 27, 2013, 00:31 |
|
#3 | |
New Member
Zhiyuan Li
Join Date: Aug 2013
Location: Beijing
Posts: 9
Rep Power: 13 |
Quote:
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 |
||
October 2, 2019, 23:55 |
Windows host
|
#4 |
Member
Ndong-Mefane Stephane Boris
Join Date: Nov 2013
Location: Kawasaki (JAPAN)
Posts: 53
Rep Power: 13 |
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 |
|
October 23, 2019, 02:04 |
Distributed parallel with interIsoFoam
|
#5 |
Member
Ndong-Mefane Stephane Boris
Join Date: Nov 2013
Location: Kawasaki (JAPAN)
Posts: 53
Rep Power: 13 |
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 |
|
|
|
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 |