CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

OpenFOAM Parallel Run Problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 8, 2018, 17:44
Post OpenFOAM Parallel Run Problem
  #1
New Member
 
Javier Palacios
Join Date: May 2018
Posts: 1
Rep Power: 0
javier2098 is on a distinguished road
hello everybody,

I'm trying to run engineFoam in parallel 2 machines(32 cores), in both i have install OpenFOAM v5, a shared file system(NFS), same username, ssh communication without password, also i can run normally the case in each machine.

I've been digging in this forum, and try all the solutions i have found, but nothing seems to do the trick. the problem its that when i lunch the case like this:
Code:
mpirun --hostfile /home/halfblood/nfsshare/nodes -np 4 engineFoam -parallel
my hostfile is:
Code:
192.xxx.xx.61 cpu = 2
192.xxx.xx.62 cpu = 2
it simply would start show this massage:
Code:
--------------------------------------------------------------------------
[[48743,1],0]: A high-performance Open MPI point-to-point messaging module
was unable to find any relevant network interfaces:

Module: OpenFabrics (openib)
  Host: mech-02

Another transport will be used instead, although this may result in
lower performance.
--------------------------------------------------------------------------
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  5.x                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 5.x-197d9d3bf20a
Exec   : engineFoam -parallel
Date   : May 08 2018
Time   : 11:46:29
Host   : "mech-02"
PID    : 28023
I/O    : uncollated
[mech-02:28020] 3 more processes have sent help message help-mpi-btl-base.txt / btl:no-nics
[mech-02:28020] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
the cores seams to be running at full capacity, 2 cores in each machine but in the processors folders nothing changes same size, this also happens if i put 16, 32 cores.

i try to block the other network interfaces
Code:
mpirun --mca btl_tcp_if_exclude 'eno1, eno2, lo, ens1f0, docker0, ens1f0' --hostfile /home/halfblood/nfsshare/nodes -np 16 engineFoam -parallel
the exit interface is ens1f1. Same problem.

also i have try to modify the decomposeParDict:
Code:
numberOfSubdomains 4;

//method          simple;
method          scotch;

//simpleCoeffs
//{
//    n               (2 2 1);
//    delta           0.001;
//}
distributed yes;

roots 3(
"/home/halfblood/nfsshare/OpenFOAM/halfblood-5.0/run/engineFoam/kivaTest"
"/home/halfblood/nfsshare/OpenFOAM/halfblood-5.0/run/engineFoam/kivaTest"
"/home/halfblood/nfsshare/OpenFOAM/halfblood-5.0/run/engineFoam/kivaTest"
)
In both machines i can access that files and have are in the same directory. Same Problem.

the case i'm running is the tutorial engine foam.

Beforehand thanks for taking the time to help me.
javier2098 is offline   Reply With Quote

Old   November 27, 2019, 00:01
Default
  #2
Member
 
godfatherBond's Avatar
 
Maximus Arelius
Join Date: Jan 2017
Location: Morocco
Posts: 36
Rep Power: 9
godfatherBond is on a distinguished road
Could you limit the communication to a specified interface and check:
1. Check the interface using of the nodes using
Code:
ssh <NODE> netstat -nr
2. If you get the OUTPUT(from point 1.) interfaces like eth0, eth1, eno1,...m then limit the communication to one interface using:
Code:
--mca btl_tcp_if_include eth0
try to see if this works.
__________________
--
🃏Maximus🃏

Last edited by godfatherBond; November 29, 2019 at 00:00.
godfatherBond is offline   Reply With Quote

Reply

Tags
cluster, distributed parallel, enginefoam, openfoam 5.0, parallel


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
[snappyHexMesh] Problem with parallel run of snappyHexMesh Lorenzo92 OpenFOAM Meshing & Mesh Conversion 5 April 15, 2016 04:12
p_rgh problem during parallel run musahossein OpenFOAM Running, Solving & CFD 0 November 23, 2014 09:01
Running Error using Compressible OpenFoam Parallel mode dhendria OpenFOAM Running, Solving & CFD 0 February 13, 2014 20:53
OpenFOAM doesn't run in parallel callumso OpenFOAM Running, Solving & CFD 0 July 11, 2013 12:17
Problem on Parallel Run Setup Hamidur Rahman CFX 0 September 23, 2007 17:11


All times are GMT -4. The time now is 18:37.