CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Strange Segmentation Fault

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 30, 2015, 08:04
Default Strange Segmentation Fault
  #1
New Member
 
Josh Dyson
Join Date: Mar 2011
Posts: 21
Rep Power: 15
jd210 is on a distinguished road
Hi All,

I'm using compressibleMultiphaseInterFoam for some work I'm doing, I have 2 computers, 1 is a fairly standard quad core, 8GB of RAM etc the other is a Twin CPU workstation. The case I'm running works fine on the normal machine but I get a segmentation fault on the workstation. Both have identical software stacks, Ubuntu 12.04, OpenFOAM 2.3.0 installed from repository.

Error is as follows:

#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigSegv::sigHandler(int) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::fvPatchField<Foam::Vector<double> >::rmap(Foam::fvPatchField<Foam::Vector<double> > const&, Foam::List<int> const&) in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/compressibleMultiphaseInterFoam"
#4 Foam::fvPatchField<double>:atchInternalField(Foa m::Field<double>&) const in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/compressibleMultiphaseInterFoam"
#5 Foam::mixedFvPatchField<double>::snGrad() const in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libfluidThermophysicalModels.so"
#6 Foam::fv::gaussGrad<double>::correctBoundaryCondit ions(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#7 Foam::fv::gaussGrad<double>::calcGrad(Foam::Geomet ricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) const in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#8 Foam::fv::gradScheme<double>::grad(Foam::Geometric Field<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) const in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libmultiphaseMixtureThermo.so"
#9 Foam::tmp<Foam::GeometricField<Foam:uterProduct< Foam::Vector<double>, double>::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::grad<double>(Foam::GeometricField<doubl e, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libmultiphaseMixtureThermo.so"
#10 Foam::tmp<Foam::GeometricField<Foam:uterProduct< Foam::Vector<double>, double>::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::grad<double>(Foam::GeometricField<doubl e, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libmultiphaseMixtureThermo.so"
#11 Foam::LimitedScheme<double, Foam::vanLeerLimiter<Foam::NVDTVD>, Foam::limitFuncs::magSqr>::calcLimiter(Foam::Geome tricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>&) const in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#12 Foam::LimitedScheme<double, Foam::vanLeerLimiter<Foam::NVDTVD>, Foam::limitFuncs::magSqr>::limiter(Foam::Geometric Field<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#13 Foam::limitedSurfaceInterpolationScheme<double>::w eights(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libmultiphaseMixtureThermo.so"
#14 Foam::surfaceInterpolationScheme<double>::interpol ate(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libmultiphaseMixtureThermo.so"
#15 Foam::fv::gaussConvectionScheme<double>::interpola te(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#16 Foam::fv::gaussConvectionScheme<double>::flux(Foam ::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#17 Foam::tmp<Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> > Foam::fvc::flux<double>(Foam::GeometricField<doubl e, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libmultiphaseMixtureThermo.so"
#18 Foam::multiphaseMixtureThermo::solveAlphas(double) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libmultiphaseMixtureThermo.so"
#19 Foam::multiphaseMixtureThermo::solve() in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libmultiphaseMixtureThermo.so"
#20
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/compressibleMultiphaseInterFoam"
#21 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#22
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/compressibleMultiphaseInterFoam"
Segmentation fault (core dumped)

I don't understand how it's happening on one computer and not the other when all software is meant to be the same.

Any help would be greatly appreciated.
jd210 is offline   Reply With Quote

Reply

Tags
segmentation fault


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
Segmentation fault when running dieselFoam or dieselEngineFoam in parallel francesco OpenFOAM Bugs 4 May 2, 2017 22:59
Segmentation Fault w/ compiled OF 2.2.0 - motorBike example sudo OpenFOAM Running, Solving & CFD 3 April 2, 2013 18:27
segmentation fault when installing OF-2.1.1 on a cluster Rebecca513 OpenFOAM Installation 9 July 31, 2012 16:06
Segmentation Fault Shawn_A OpenFOAM Running, Solving & CFD 6 October 31, 2011 15:38
ParaView segmentation fault only for multiphase gwierink OpenFOAM 9 March 25, 2010 08:23


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