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

problem w/ running simpleFoam in parallel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 16, 2016, 16:17
Default
  #21
Senior Member
 
MAZI
Join Date: Oct 2009
Posts: 103
Rep Power: 16
mazdak is on a distinguished road
that's great. decomposing is performed. but, still does not run the simplefoam case
mazdak is offline   Reply With Quote

Old   February 16, 2016, 16:19
Default
  #22
Senior Member
 
MAZI
Join Date: Oct 2009
Posts: 103
Rep Power: 16
mazdak is on a distinguished road
the decomposing is performed greatly, but simpleFoam does not run

/share/apps/OpenFOAM/OpenFOAM-2.4.0/bin/tools/RunFunctions: line 75: mpirun: command not found
mazdak is offline   Reply With Quote

Old   February 16, 2016, 16:22
Default
  #23
Senior Member
 
MAZI
Join Date: Oct 2009
Posts: 103
Rep Power: 16
mazdak is on a distinguished road
the decomposing is performed with no problem, but simpleFoam can't be run:

/share/apps/OpenFOAM/OpenFOAM-2.4.0/bin/tools/RunFunctions: line 75: mpirun: command not found
mazdak is offline   Reply With Quote

Old   February 16, 2016, 16:37
Default
  #24
Senior Member
 
MAZI
Join Date: Oct 2009
Posts: 103
Rep Power: 16
mazdak is on a distinguished road
there should be a problem with the versions. I have both 2.4.0 and 3.0.0 versions
mazdak is offline   Reply With Quote

Old   February 16, 2016, 16:58
Default
  #25
Member
 
Kaufman
Join Date: Jul 2013
Posts: 55
Rep Power: 12
kmefun is on a distinguished road
Hi,

I implement your testCase and there is no error showing.

Are you using HPC to compute your testCase? If so, please check there is no error in your script.

like your testCase is setup for OF 3.0.0
However, you use "source /share/apps/OpenFOAM/OpenFOAM-2.4.0/etc/bashrc" in your runHOU.sh

Last edited by kmefun; February 16, 2016 at 18:22.
kmefun is offline   Reply With Quote

Old   February 16, 2016, 17:03
Default
  #26
Senior Member
 
MAZI
Join Date: Oct 2009
Posts: 103
Rep Power: 16
mazdak is on a distinguished road
thank you so much man. It really helped. hope we can communicate more. Really appreciate it
mazdak is offline   Reply With Quote

Old   December 8, 2023, 03:07
Default
  #27
New Member
 
yingting tang
Join Date: Aug 2023
Posts: 7
Rep Power: 2
tyting is on a distinguished road
Hi,all.I got a problem:
I run the "decomposePar" and generate some processor0/1/../9 file,but when I run my solver "myinterFoam" in parallel,the problem occour:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
[0]
[0]
[0] --> FOAM FATAL ERROR:
[0] myinterFoam: cannot open case directory "/home/.../mysimulation/refinemesh_test/processor0"
[0]
[0]
FOAM parallel run exiting
[0]
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI COMMUNICATOR 3 SPLIT FROM 0
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
Does anyone know what happen and how can I solve it?
Thanks for any help!
tyting is offline   Reply With Quote

Old   December 8, 2023, 03:10
Default
  #28
New Member
 
yingting tang
Join Date: Aug 2023
Posts: 7
Rep Power: 2
tyting is on a distinguished road
Quote:
Originally Posted by mazdak View Post
I'm trying to run turbulent pipe flow using simpleFoam, but unfortunately, I get some errors. Please see below to find the errors. I also attach some files used for running the case in parallel. Any thought will be appreciated. Thanks

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 3.0.0-6abec57f5449
Exec : simpleFoam -parallel
Date : Feb 16 2016
Time : 09:09:35
Host : "compute-0-1.local"
PID : 44738
Case : /home/mazdak/Ex3
nProcs : 4
Slaves :
3
(
"compute-0-1.local.44739"
"compute-0-1.local.44740"
"compute-0-1.local.44741"
)

Pstream initialized with:
floatTransfer : 0
nProcsSimpleSum : 0
commsType : nonBlocking
polling iterations : 0
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
[0]
[0]
[0] --> FOAM FATAL ERROR:
[0] simpleFoam: cannot open case directory "/home/mazdak/Ex3/processor0"
[0]
[0]
FOAM parallel run exiting
[0]
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
Hi,all.I got a similar problem:
I run the "decomposePar" and generate some processor0/1/../9 file,but when I run my solver "myinterFoam" in parallel,the problem occour:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
[0]
[0]
[0] --> FOAM FATAL ERROR:
[0] myinterFoam: cannot open case directory "/home/.../mysimulation/refinemesh_test/processor0"
[0]
[0]
FOAM parallel run exiting
[0]
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI COMMUNICATOR 3 SPLIT FROM 0
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
Does anyone know what happen and how can I solve it?
Thanks for any help!
tyting 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
OF 2.0.1 parallel running problems moser_r OpenFOAM Running, Solving & CFD 9 July 27, 2022 03:15
Error running simpleFoam in parallel Yuby OpenFOAM Running, Solving & CFD 14 October 7, 2021 04:38
simpleFoam parallel solver & Fluent polyhedral mesh Zlatko OpenFOAM Running, Solving & CFD 3 September 26, 2014 06:53
problem with running in parallel dhruv OpenFOAM 3 November 25, 2011 05:06
parallel mode - small problem? co2 FLUENT 2 June 1, 2004 23:47


All times are GMT -4. The time now is 00:15.