|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 ![]() |
Dear all,
I finally spared some time to install foam-extend 3.2 and test IHFOAM in it. Happily enough, everything compiles out of the box without any changes from previous versions. I also encountered the same problems as in versions 3.0 and 3.1: running in parallel fails due to commsType being set to blocking. (See http://sourceforge.net/p/openfoam-ex...swak4foam/123/ ). The solution that I have been using until now is the one outlined here: https://openfoamwiki.net/index.php/C...orted_Versions Basically, changing in the commsType in $WM_PROJECT_DIR/etc/controlDict by nonBlocking, used to make the trick. However, in version 3.2, controlDict has been replaced by controlDict-EXAMPLE. Changing the value there, does not work, copying the file over and naming it controlDict does not work either. Any solutions to set commsType in 3.2? Thanks! Pablo |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 ![]() |
Updates:
I've traced the problem back to foam-extend-3.2/src/foam/db/IOstreams/Pstreams/Pstream.C, where the way that commsType is set has changed: Code:
// Default commsType // Foam::Pstream::commsTypes Foam::Pstream::defaultCommsType // ( // commsTypeNames // [ // debug::optimisationSwitches().lookupOrAddDefault // ( // "commsType", // word("blocking") // ) // ] // ); const Foam::debug::optimisationSwitch Foam::Pstream::defaultCommsType ( "commsType", // "nonBlocking", // "scheduled", "blocking", "blocking, nonBlocking, scheduled" ); Code:
OptimisationSwitches { commsType nonBlocking; } Best, Pablo |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Thamali
Join Date: Jul 2013
Posts: 67
Rep Power: 13 ![]() |
Hi,
I know this is a little bit old thread,but I had the same problem. I got the follwong error during parallel running of a case of simpleIbFoam. Code:
Fatal error in MPI_Recv: Message truncated, error stack: MPI_Recv(224).....................: MPI_Recv(buf=0x7ffd39a14590, count=24, MPI_PACKED, src=0, tag=1, MPI_COMM_WORLD, status=0x7ffd39a144f0) failed MPIDI_CH3U_Receive_data_found(131): Message from rank 0 and tag 1 truncated; 16992 bytes received but buffer size is 24 Code:
OptimisationSwitches { commsType nonBlocking; } Thank in advance. Thamali |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |