|
[Sponsors] |
April 11, 2021, 08:00 |
Running in parallel gives error
|
#1 |
Member
Fabian Friberg
Join Date: Dec 2020
Posts: 31
Rep Power: 5 |
I made code changes in the radiation library of OF2012, which give no error when running my case serially. However, when trying to run it in parallel, I get the following error when the simulation is supposed to start:
Code:
Rank 0 [Sun Apr 11 12:41:09 2021] [c2-0c2s15n3] Fatal error in MPI_Recv: Message truncated, error stack: MPI_Recv(212)...........................: MPI_Recv(buf=0x7ffffffefabc, count=4, MPI_BYTE, src=2, tag=1, MPI_COMM_WORLD, status=0x7ffffffefa20) failed MPIDI_CH3_PktHandler_EagerShortSend(376): Message from rank 2 and tag 1 truncated; 8 bytes received but buffer size is 4 srun: error: nid00575: task 0: Aborted srun: Terminating job step 6781862.0 slurmstepd: error: *** STEP 6781862.0 ON nid00575 CANCELLED AT 2021-04-11T12:41:09 *** srun: error: nid00575: tasks 1-31: Terminated srun: Force Terminated job step 6781862.0 This dissapears when I comment out a line in the code that calls the function distributedTriSurface.findline(start, end, hitInfo). Calling the function from an empty triSurface gives no error as well. My case has cyclic patches, for which I added preservePatches lines in the decomposeParDict file. Does anyone know what the error means? Does it have anything to do with preparePar? Thanks |
|
April 14, 2021, 09:18 |
|
#2 |
Member
Fabian Friberg
Join Date: Dec 2020
Posts: 31
Rep Power: 5 |
I solved it. Turned out I had to use the returnReduce function for a variable I was using in my while loops.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 00:21 |
Compile calcMassFlowC | aurore | OpenFOAM Programming & Development | 13 | March 23, 2018 07:43 |
long error when using make-install SU2_AD. | tomp1993 | SU2 Installation | 3 | March 17, 2018 06:25 |
Undeclared Identifier Errof UDF | SteveGoat | Fluent UDF and Scheme Programming | 7 | October 15, 2014 07:11 |
How to get the max value of the whole field | waynezw0618 | OpenFOAM Running, Solving & CFD | 4 | June 17, 2008 05:07 |