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

Discretizer: How to run a case in parallel?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2011, 17:12
Default Discretizer: How to run a case in parallel?
  #1
Senior Member
 
Klaus
Join Date: Mar 2009
Posts: 250
Rep Power: 22
klausb will become famous soon enough
Hello,

does anyone use Discretizer and knows how to set it up to run a case in parallel on a 4 core processor?

Site: http://www.discretizer.org/

Klaus
klausb is offline   Reply With Quote

Old   January 23, 2011, 13:21
Default
  #2
New Member
 
ggruber
Join Date: May 2009
Posts: 12
Rep Power: 16
ggruber is on a distinguished road
Hello Klaus,

i compiled OpenFOAM an my machine.
Starting Discretizer with this shell script

Code:
#!/bin/bash
. /home/username/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc
/home/username/discretizer/discretizer_setup64.sh
starts Discretizer with this massage:

username@machine:~$ ./discretizer-start.sh
Building on 2 cores

That's why i think the Solver (OpenFOAM) works on two cores.

Nothing special to do in Discretizer.
ggruber is offline   Reply With Quote

Old   January 23, 2011, 15:12
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

OK, let me start off by saying that the best place for questions about Discretizer in this forum is here: http://www.cfd-online.com/Forums/ope...-dynamics.html
I say this because Björn Bergqvist, the author of Discretizer, can more easily keep track of feedback here in the forum if questions are made there. The other possibility is to send him directly an email with your questions. And I say ask him directly, because documentation is still limited, so only the author can be 90 to 100% sure of what works and doesn't.

Now, as far as I know, Discretizer still is far from completion. Currently it can act as training wheels and get you started, but it will only get you up to a certain point. So for things like launching simulations in multi-core/parallel simulations, you'll have to roll up your sleeves and get to the terminal and do things directly from there and with the help of your favourite text editor, acting as your faithful assistant.
Nonetheless, if the menu item "Solver->decomposeParDict" is enabled - after you've be setting up your simulation case and running with the settings you have defined - then that's the place where you can define how many sub-domains you can divide the mesh and what method should be used for the division procedure. And even then, if there is such an option to run in parallel, it should appear when you click on the menu item "Run->Run Simulation".

@ggruber: If it says:
Quote:
Building on 2 cores
It applies only to building/compiling the code, not launching simulations or executing solvers in parallel
The capability to build in multiple cores is also very important, because in slow machines (1.0-2.0Ghz) machines, building the whole OpenFOAM toolbox with a single core, can take up-to 6 hours or more!! While with a state-of-the-art Intel i7 9xx 3.x GHz, or an AMD 1xxxT 3.x GHz machine, it can take only 30 minutes or even less!

Best regards and good luck!
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Reconstruction after parallel run with dynamic mesh refinement sebonator OpenFOAM 9 June 14, 2018 08:38
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
How to run airFoil2D exapmle in parallel on 4 cores? klausb OpenFOAM 2 January 9, 2011 03:45
Unable to run OF in parallel on a multiple-node cluster quartzian OpenFOAM 3 November 24, 2009 14:37
serial run fine, but parallel run diverged phsieh2005 OpenFOAM Running, Solving & CFD 2 October 6, 2009 09:33


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