CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

max command hangs when using scotch decomposition

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

LinkBack Thread Tools Search this Thread Display Modes
Old   July 2, 2020, 03:55
Default max command hangs when using scotch decomposition
Join Date: Sep 2018
Posts: 92
Rep Power: 4
ssa_cfd is on a distinguished road
Hi everyone,

In my solver, there is a command as follows
Info << "max/min Massendefekt: " << max(massendefektFeld).value() << "     " << min(massendefektFeld).value() << endl;

There is no problem, when I run in serial or parallel with simple decomposition.

But when I use scotch decomposition, the solver hangs exactly at this point.

I tried to comment out this line and then it runs smoothly.

Does anyone know why?


Last edited by ssa_cfd; July 2, 2020 at 10:35.
ssa_cfd is offline   Reply With Quote

Old   July 2, 2020, 10:59
Senior Member
Join Date: Aug 2015
Posts: 486
Rep Power: 11
clapointe is on a distinguished road
If you want to find the max for a parallel case, try using gMax instead of max. There are loads of examples in the code, e.g.

clapointe is offline   Reply With Quote


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
Converging Diverging Nozzle with dbnsTurbFoam Saleh Abuhanieh OpenFOAM Running, Solving & CFD 4 December 13, 2019 10:26
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 113 June 25, 2019 00:58
Near wall treatment in k-omega SST Arnoldinho OpenFOAM Running, Solving & CFD 38 March 8, 2017 13:48
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 21:14
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07

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