|
[Sponsors] |
Effects on fvSolution file on calling mpi run |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 27, 2019, 07:12 |
Effects on fvSolution file on calling mpi run
|
#1 |
New Member
Aaron Pumnul
Join Date: May 2019
Posts: 9
Rep Power: 7 |
I'm getting different behaviors while rereading fvSolution file using mpirun and without using it.
I modified my fvSolution.H file and added a fvSolution.C (also added it to Make) fvSolution.C Code:
bool::Foam::fvSolution::read() { Info << "fvSolution rereading" << endl; return solution::read(); } Code:
public: virtual bool read(); tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom 1. sequential run: (without mpi) Code:
./Allrun & echo " " >> fvSolution # this just puts a blank line at the end of fvSolution, causing it to be reread 2. mpi parallel run Code:
./Allrun.par& mpirun -np 4 buoyantBoussinesqSimpleFoam -parallel > log.bbsf & echo " " >> fvSolution How can I explain that behavior ? (I use OpenFoam 2.3.x version, if that matters at all) This doesn't make any sense to me. Allrun.par is just a tailored version of Allrun. Code:
#!/bin/sh cd ${0%/*} || exit 1 # run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions application=`getApplication` runApplication blockMesh cp 0/T.org 0/T runApplication setFields runApplication decomposePar # runApplication $application # runApplication mpirun -np 4 $application -parallel # ----------------------------------------------------------------- end-of-file Last edited by aaron99; May 27, 2019 at 08:20. |
|
Tags |
fvsolution, mpirun |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Installation Problem with OF 6 version | Aurel | OpenFOAM Community Contributions | 14 | November 18, 2020 17:18 |
OpenFoam "Permission denied" and "command not found" problems. | iyidaniel@yahoo.co.uk | OpenFOAM Running, Solving & CFD | 11 | January 2, 2018 07:47 |
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 | tlcoons | OpenFOAM Installation | 13 | April 20, 2016 18:34 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 04:23 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |