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

Problem with parallel run on OpenFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 15, 2023, 10:05
Exclamation Problem with parallel run on OpenFoam
  #1
New Member
 
stater's Avatar
 
H. Omar
Join Date: Mar 2013
Posts: 23
Rep Power: 13
stater is on a distinguished road
Hi everybody,

I set up a small computing cluster to run calculations on OpenFoam, but I can't run a job on multiple nodes. I am using the following sbatch file:


Quote:
#!/bin/sh
#SBATCH --partition=vip
#SBATCH -N 2
#SBATCH --ntasks=2
#SBATCH --ntasks-per-node=1
##SBATCH --time=5-00:00:00
#SBATCH --output=log-%j.out
#SBATCH --error=log-%j.err
#SBATCH --job-name=model
#SBATCH --mail-type=ALL

mpirun --mca pml ob1 --mca btl tcp,self --mca btl_tcp_if_include 192.168.0.0/24 chtMultiRegionFoam -parallel > log.run


I can run this job in parallel on a single node with two cores, but when I run it on two different nodes, nothing happens in the "processor" directories. I checked on the nodes on the nodes the processes actually launch, but I have no results on the sharing directory.


I am using OpenFoam 22.12 with openmpi 4.1.2 and slurm 21.08.5.
My network is Ethernet 1Gb/s. I checked the NFS server and write permissions, everything is OK

Could anyone help me!!!

Thank you!!!
stater is offline   Reply With Quote

Reply

Tags
openfoam 10, openmpi 4, parallel calculation


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
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 15:24
[snappyHexMesh] Problem with parallel run of snappyHexMesh Lorenzo92 OpenFOAM Meshing & Mesh Conversion 5 April 15, 2016 05:12
p_rgh problem during parallel run musahossein OpenFOAM Running, Solving & CFD 0 November 23, 2014 10:01
OpenFOAM doesn't run in parallel callumso OpenFOAM Running, Solving & CFD 0 July 11, 2013 13:17
Problem on Parallel Run Setup Hamidur Rahman CFX 0 September 23, 2007 18:11


All times are GMT -4. The time now is 10:25.