CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   ICC compiler and sigFpe for sample utility (https://www.cfd-online.com/Forums/openfoam-installation/70852-icc-compiler-sigfpe-sample-utility.html)

cfdmarkus December 8, 2009 04:57

ICC compiler and sigFpe for sample utility
 
Hi all,

I just compiled OF1.6.x using the intel compiler 11.1. The compilation worked fine and I can run jobs as usual.

However, when I try to run the sample utility I always get the sigFpe Handler to complain! I have used the same sample file before for many time and I never got this error using the gcc compiler.

I am really running out of ideas what could cause this problem.
Has anyone seen this before

Markus



Here is the output:

#0 Foam::error:printStack(Foam::Ostream&) in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libOpenFOAM.so"
#2 __restore_rt at sigaction.c:0
#3 Foam::triangleFuncs::intersectAxesBundle(Foam::Vec tor<double> const&, Foam::Vector<double> const&, Foam::Vector<double> const&, int, Foam::Field<Foam::Vector<double> > const&, double, Foam::Vector<double>&) in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libmeshTools.so"
#4 Foam::triangleFuncs::intersectBb(Foam::Vector<doub le> const&, Foam::Vector<double> const&, Foam::Vector<double> const&, Foam::treeBoundBox const&) in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libmeshTools.so"
#5 Foam::treeDataFace:overlaps(int, Foam::treeBoundBox const&) const in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libmeshTools.so"
#6 Foam::indexedOctree<Foam::treeDataFace>::divide(Fo am::List<int> const&, Foam::treeBoundBox const&, Foam::List<Foam::List<int> >&) const in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libmeshTools.so"
#7 Foam::indexedOctree<Foam::treeDataFace>::divide(Fo am::treeBoundBox const&, Foam:dynamicList<Foam::List<int>, 0u, 2u, 1u>&, int) const in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libmeshTools.so"
#8 Foam::indexedOctree<Foam::treeDataFace>::indexedOc tree(Foam::treeDataFace const&, Foam::treeBoundBox const&, int, double, double) in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libmeshTools.so"
#9 Foam::meshSearch::boundaryTree() const in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libmeshTools.so"
#10 Foam::meshSearch::intersection(Foam::Vector<double > const&, Foam::Vector<double> const&) const in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libmeshTools.so"
#11 Foam::meshSearch::intersections(Foam::Vector<doubl e> const&, Foam::Vector<double> const&) const in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libmeshTools.so"
#12 Foam::faceOnlySet::calcSamples(Foam:dynamicList<Fo am::Vector<double>, 0u, 2u, 1u>&, Foam:dynamicList<int, 0u, 2u, 1u>&, Foam:dynamicList<int, 0u, 2u, 1u>&, Foam:dynamicList<int, 0u, 2u, 1u>&, Foam:dynamicList<double, 0u, 2u, 1u>&) const in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libsampling.so"
#13 Foam::faceOnlySet::genSamples() in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libsampling.so"
#14 Foam::faceOnlySet::faceOnlySet(Foam::word const&, Foam:polyMesh const&, Foam::meshSearch&, Foam::dictionary const&) in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libsampling.so"
#15 Foam::faceOnlySet::faceOnlySet(Foam::word const&, Foam:polyMesh const&, Foam::meshSearch&, Foam::dictionary const&) in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libsampling.so"
#16 Foam::midPointSet::midPointSet(Foam::word const&, Foam:polyMesh const&, Foam::meshSearch&, Foam::dictionary const&) in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libsampling.so"
#17 Foam::sampledSet::addwordConstructorToTable<Foam:: midPointSet>::New(Foam::word const&, Foam:polyMesh const&, Foam::meshSearch&, Foam::dictionary const&) in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libsampling.so"
#18 Foam::sampledSet::New(Foam::word const&, Foam:polyMesh const&, Foam::meshSearch&, Foam::dictionary const&) in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libsampling.so"
#19 void Foam::PtrList<Foam::sampledSet>::read<Foam::sample dSet::iNew>(Foam::Istream&, Foam::sampledSet::iNew const&) in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libsampling.so"
#20 Foam::sampledSets::read(Foam::dictionary const&) in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libsampling.so"
#21 Foam::sampledSets::sampledSets(Foam::word const&, Foam:objectRegistry const&, Foam::dictionary const&, bool) in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libsampling.so"
#22 Foam::sampledSets::sampledSets(Foam::word const&, Foam:objectRegistry const&, Foam::dictionary const&, bool) in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libsampling.so"
#23 main in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64IccDPOpt/sample"
#24 __libc_start_main in "/lib64/libc.so.6"
#25 _start in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64IccDPOpt/sample"
Floating point exception

ericnutsch December 14, 2009 12:13

What operating system are you on?

I cant even get the intel compiler to install on Ubuntu 9.10 since the libstdc++5 library wont install.

Im no expert here, but perhaps one of the more discrete libraries was missing when you compiled. I would run ./Allwmake again to a log file and search it for errors and warnings.

Good Luck!

cfdmarkus December 14, 2009 12:21

I tried to install it on a cluster which uses RH53.

I am now using the gcc compiler for which the sample utility works fine.
It is a sad situation since my simulations were 10% faster using the intel compilers.

Markus

elliot_hfx June 25, 2010 14:31

Hi Markus,

I tried to compile OpenFOAM-1.6 with intel- 10.1.017 on a cluster which uses OpenSuse 10.1. My settings are as follows:

1) In "OpenFOAM/OpenFOAM-1.6/etc/bashrc": : ${WM_COMPILER:=Icc}; export WM_COMPILER
2)In "OpenFOAM/OpenFOAM-1.6/etc/settings.sh:# compilerInstall = OpenFOAM | System
compilerInstall=System

When I run Allwmake, the message show that g++ are needed. I am just wondering, when you compile OpenFOAM with intel 11.1, how did set up?
What kind of mpi did you use, openmpi or intel-mpi? Thanks.

Elliot


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