CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (http://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Problem with reconstructPar (http://www.cfd-online.com/Forums/openfoam-post-processing/78151-problem-reconstructpar.html)

Jochem July 14, 2010 05:45

Problem with reconstructPar
 
Hi,

I've been running a process in parallel. The case was solved without any problems. When I now want to reconstruct the case using the "reconstructPar" command i got an error :

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.6.x
Exec : reconstructPar
Date : Jul 14 2010
Time : 11:29:03
Host : hydra57
PID : 29708
Case : /svub0/**/OpenFOAM/**-1.6.x/run/Jochem/Erasmus
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 200

Time = 200

Reconstructing FV fields

Reconstructing volScalarFields
unning a decomposed case
p
#0 Foam::error::printStack(Foam::Ostream&) in "/u/**/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/u/**/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 __restore_rt in "/lib64/tls/libc.so.6"
#3 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::fvFieldReconstructor::reconstructFvVolumeFie ld<double>(Foam::IOobject const&) in "/u/**/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt/reconstructPar"
#4 void Foam::fvFieldReconstructor::reconstructFvVolumeFie lds<double>(Foam::IOobjectList const&, Foam::HashSet<Foam::word, Foam::string::hash> const&) in "/u/**/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt/reconstructPar"
#5 main in "/u/**/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt/reconstructPar"
#6 __libc_start_main in "/lib64/tls/libc.so.6"
#7 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/u/**/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt/reconstructPar"
/u/**/.lsbatch/1279099737.403141.shell: line 14: 29708 Segmentation fault (core dumped) reconstructPar
-- REPLACE -- 76,25 Bot

Does someone know what this error means?

Jochem

sandy January 28, 2011 10:11

Quote:

Originally Posted by Jochem (Post 267208)
Hi,

I've been running a process in parallel. The case was solved without any problems. When I now want to reconstruct the case using the "reconstructPar" command i got an error :

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.6.x
Exec : reconstructPar
Date : Jul 14 2010
Time : 11:29:03
Host : hydra57
PID : 29708
Case : /svub0/**/OpenFOAM/**-1.6.x/run/Jochem/Erasmus
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 200

Time = 200

Reconstructing FV fields

Reconstructing volScalarFields
unning a decomposed case
p
#0 Foam::error::printStack(Foam::Ostream&) in "/u/**/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/u/**/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 __restore_rt in "/lib64/tls/libc.so.6"
#3 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::fvFieldReconstructor::reconstructFvVolumeFie ld<double>(Foam::IOobject const&) in "/u/**/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt/reconstructPar"
#4 void Foam::fvFieldReconstructor::reconstructFvVolumeFie lds<double>(Foam::IOobjectList const&, Foam::HashSet<Foam::word, Foam::string::hash> const&) in "/u/**/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt/reconstructPar"
#5 main in "/u/**/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt/reconstructPar"
#6 __libc_start_main in "/lib64/tls/libc.so.6"
#7 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/u/**/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt/reconstructPar"
/u/**/.lsbatch/1279099737.403141.shell: line 14: 29708 Segmentation fault (core dumped) reconstructPar
-- REPLACE -- 76,25 Bot

Does someone know what this error means?

Jochem

Hi Jochem, now I meet the similar the problem. Did you finally solve it?

Jochem January 28, 2011 10:19

Sandy,

I am sorry, I've been able to solve it but it has been a while and I forgot what the problem was. Next week I will start using OpenFoam again with processes in parallel. If I have the same problem again and I can solve it, I will post a reply.

Regards,

Jochem

wang.zhy March 24, 2011 13:44

i just solve the problem in my code .
give you a hint 。
there must be something divided by zero.
like 1/mag("mesh".nf()) will cause this problem directly
because nf() was not construct in reconstructPar. i guess

PS: my english is not good .


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