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

[openFuelCell] openFuelCell parallel run failure

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 28, 2023, 12:35
Question openFuelCell parallel run failure
  #1
New Member
 
Join Date: Jul 2017
Posts: 12
Rep Power: 9
Pepino is on a distinguished road
Hi,

I've tried to run openFuelCell in single-core and multi-core.
No problems in single-core run, but when launching the multi-core it fails.
EDIT: it was a script file problem; now it works.

Last edited by Pepino; March 4, 2023 at 04:53.
Pepino is offline   Reply With Quote

Old   April 20, 2023, 12:35
Default Solution
  #2
New Member
 
anonymous
Join Date: Apr 2023
Posts: 1
Rep Power: 0
goldi is on a distinguished road
Hey Pepino,
can you tell me, what you have changed?
goldi is offline   Reply With Quote

Old   April 27, 2023, 05:55
Default
  #3
New Member
 
Join Date: Jul 2017
Posts: 12
Rep Power: 9
Pepino is on a distinguished road
Quote:
Originally Posted by goldi View Post
Hey Pepino,
can you tell me, what you have changed?
Do you use ubuntu?
With Ubuntu (at least with a "fresh copy" with only csh package installed) the "find" lines in the parprep.csh script file are not working correctly. I did not encounter this with other distro.
A super quick test for this problem can be:
-parprep_1.csh = first part until "find" commands lines
-parprep_2.sh=second part with "find" command lines; notice that this is a bash file
-parprep_3.csh=third part with remaining commands
-adjust the makefile to run these file with "make parprep"
-This "splitting" is also usefull when used to run the files separately to see the file number and pattern inside the folder.

This is just to test the problem; clearly more elegant fixes are possible.
let me know if it helps.
Pepino is offline   Reply With Quote

Old   April 27, 2023, 06:13
Default
  #4
New Member
 
Join Date: Jul 2017
Posts: 12
Rep Power: 9
Pepino is on a distinguished road
Quote:
Originally Posted by phlipson View Post
It sounds like you were able to successfully run openFuelCell in single-core mode, but encountered issues when running in multi-core mode. It is good to hear that you were able to resolve this issue by correcting a script file. If you are still having trouble with the multi-core version it can be helpful to review the documentation for any additional information. Additionally, many open source projects have active forums where you can ask questions and get advice from other users.
What you are saying is a "new thread" rule in every forum. Also the use of the "search" command is important...After all this steps have been ran with no success, a new thread question can tipically be done.
Clearly, before the creation of this thread, all those steps have been performed (but of course I might have missed some informations)...

Last edited by Pepino; April 27, 2023 at 06:18. Reason: grammar
Pepino is offline   Reply With Quote

Reply

Tags
openfoam, openfuelcell


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
Error running simpleFoam in parallel Yuby OpenFOAM Running, Solving & CFD 14 October 7, 2021 05:38
SimpleFoam cannot open include file Marija OpenFOAM Running, Solving & CFD 1 October 28, 2020 11:35
Parallel run: bool ipstream::init attempt to run parallel on 1 processor SarahLee OpenFOAM Running, Solving & CFD 2 January 11, 2017 04:24
parallel Grief: BoundaryFields ok in single CPU but NOT in Parallel JR22 OpenFOAM Running, Solving & CFD 2 April 19, 2013 17:49
Parallel Run on dynamically mounted partition braennstroem OpenFOAM Running, Solving & CFD 14 October 5, 2010 15:43


All times are GMT -4. The time now is 13:11.