CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

ICC compiler and sigFpe for sample utility

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 8, 2009, 04:57
Default ICC compiler and sigFpe for sample utility
  #1
Member
 
Markus Weinmann
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 77
Rep Power: 8
cfdmarkus is on a distinguished road
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::errorrintStack(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::treeDataFaceverlaps(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&, FoamolyMesh 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&, FoamolyMesh 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&, FoamolyMesh 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&, FoamolyMesh 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&, FoamolyMesh 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&, FoambjectRegistry const&, Foam::dictionary const&, bool) in "/home/mw405/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libsampling.so"
#22 Foam::sampledSets::sampledSets(Foam::word const&, FoambjectRegistry 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
cfdmarkus is offline   Reply With Quote

Old   December 14, 2009, 12:13
Default
  #2
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 112
Rep Power: 7
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
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!
ericnutsch is offline   Reply With Quote

Old   December 14, 2009, 12:21
Default
  #3
Member
 
Markus Weinmann
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 77
Rep Power: 8
cfdmarkus is on a distinguished road
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
cfdmarkus is offline   Reply With Quote

Old   June 25, 2010, 14:31
Default
  #4
New Member
 
Join Date: Mar 2010
Posts: 20
Rep Power: 7
elliot_hfx is on a distinguished road
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
elliot_hfx is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:31.