|
[Sponsors] |
[foam-extend.org] foam-extend 3.2 on Ubuntu 12.04, Floating point exception for tutorials |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 10, 2016, 20:26 |
foam-extend 3.2 on Ubuntu 12.04, Floating point exception for tutorials
|
#1 |
Member
Arsalan
Join Date: Jul 2014
Posts: 74
Rep Power: 12 |
Dear Foamers,
Recently I've installed foam extend 3.2 on Ubuntu 12.04, a long time installation procedure! But I get floating point exception (core dumped) when I run tutorial cases in the surfaceTracking folder! Also I'd installed foam-extend 3.1 a long time ago and I didn't have this problem! For example, here is the results of hydrofoil tutorial after Allrun executation: log.makeFaMesh: Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 3.2 | | \\ / A nd | Web: http://www.foam-extend.org | | \\/ M anipulation | For copyright notice see file Copyright | \*---------------------------------------------------------------------------*/ Build : 3.2-a4e7bf3b15c0 Exec : makeFaMesh Date : Nov 11 2016 Time : 03:34:02 Host : arsalan-VPCSE2EFX PID : 6655 CtrlDict : "/home/arsalan/foam/arsalan-3.2/run/hydrofoil/system/controlDict" Case : /home/arsalan/foam/arsalan-3.2/run/hydrofoil nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Floating point exception (core dumped) Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 3.2 | | \\ / A nd | Web: http://www.foam-extend.org | | \\/ M anipulation | For copyright notice see file Copyright | \*---------------------------------------------------------------------------*/ Build : 3.2-a4e7bf3b15c0 Exec : interTrackFoam Date : Nov 11 2016 Time : 03:34:02 Host : arsalan-VPCSE2EFX PID : 6657 CtrlDict : "/home/arsalan/foam/arsalan-3.2/run/hydrofoil/system/controlDict" Case : /home/arsalan/foam/arsalan-3.2/run/hydrofoil nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create dynamic mesh for time = 0 Selecting dynamicFvMesh dynamicMotionSolverFvMesh Floating point exception (core dumped) Code:
linux-vdso.so.1 => (0x00007ffe944ec000) libfreeSurface.so => /home/arsalan/foam/foam-extend-3.2/lib/linux64Gcc49DPOpt/libfreeSurface.so (0x00007fd32c97e000) libdynamicFvMesh.so => /home/arsalan/foam/foam-extend-3.2/lib/linux64Gcc49DPOpt/libdynamicFvMesh.so (0x00007fd32c618000) libdynamicMesh.so => /home/arsalan/foam/foam-extend-3.2/lib/linux64Gcc49DPOpt/libdynamicMesh.so (0x00007fd32c1e8000) libmeshTools.so => /home/arsalan/foam/foam-extend-3.2/lib/linux64Gcc49DPOpt/libmeshTools.so (0x00007fd32bd8f000) libfiniteVolume.so => /home/arsalan/foam/foam-extend-3.2/lib/linux64Gcc49DPOpt/libfiniteVolume.so (0x00007fd329e8d000) libfiniteArea.so => /home/arsalan/foam/foam-extend-3.2/lib/linux64Gcc49DPOpt/libfiniteArea.so (0x00007fd329837000) liblduSolvers.so => /home/arsalan/foam/foam-extend-3.2/lib/linux64Gcc49DPOpt/liblduSolvers.so (0x00007fd3295d3000) libmesquite.so.0 => /home/arsalan/foam/foam-extend-3.2/ThirdParty/packages/mesquite-2.1.2/platforms/linux64Gcc49DPOpt/lib/libmesquite.so.0 (0x00007fd32921d000) libfoam.so => /home/arsalan/foam/foam-extend-3.2/lib/linux64Gcc49DPOpt/libfoam.so (0x00007fd3284d5000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fd3282d1000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fd3280c9000) libstdc++.so.6 => /home/arsalan/foam/foam-extend-3.2/ThirdParty/packages/gcc-4.9.2/platforms/linux64Gcc49DPOpt/lib64/libstdc++.so.6 (0x00007fd327d9d000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd327aa1000) libgcc_s.so.1 => /home/arsalan/foam/foam-extend-3.2/ThirdParty/packages/gcc-4.9.2/platforms/linux64Gcc49DPOpt/lib64/libgcc_s.so.1 (0x00007fd32788b000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd3274cd000) libtetFiniteElement.so => /home/arsalan/foam/foam-extend-3.2/lib/linux64Gcc49DPOpt/libtetFiniteElement.so (0x00007fd326e92000) libtetMotionSolver.so => /home/arsalan/foam/foam-extend-3.2/lib/linux64Gcc49DPOpt/libtetMotionSolver.so (0x00007fd326c28000) libdecompositionMethods.so => /home/arsalan/foam/foam-extend-3.2/lib/linux64Gcc49DPOpt/libdecompositionMethods.so (0x00007fd3269fd000) libsolidBodyMotion.so => /home/arsalan/foam/foam-extend-3.2/lib/linux64Gcc49DPOpt/libsolidBodyMotion.so (0x00007fd3267bd000) libfvMotionSolver.so => /home/arsalan/foam/foam-extend-3.2/lib/linux64Gcc49DPOpt/libfvMotionSolver.so (0x00007fd3263d9000) libRBFMotionSolver.so => /home/arsalan/foam/foam-extend-3.2/lib/linux64Gcc49DPOpt/libRBFMotionSolver.so (0x00007fd3261c7000) liblagrangian.so => /home/arsalan/foam/foam-extend-3.2/lib/linux64Gcc49DPOpt/liblagrangian.so (0x00007fd325fa6000) libmpi.so.1 => /home/arsalan/foam/foam-extend-3.2/ThirdParty/packages/openmpi-1.6.5/platforms/linux64Gcc49DPOpt/lib/libmpi.so.1 (0x00007fd325c06000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fd3259ef000) /lib64/ld-linux-x86-64.so.2 (0x00007fd32cde1000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fd3257d2000) libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fd3255cf000) Finally, the installation procedure which I've passed is as follows: 1) Code:
sudo apt-get update Code:
sudo apt-get install git-core build-essential binutils-dev flex \ bison zlib1g-dev qt4-dev-tools libqt4-dev libncurses5-dev \ libxt-dev rpm mercurial graphviz python python-dev Code:
cd ~/foam/foam-extend-3.2 echo export WM_COMPILER=Gcc49 >> etc/prefs.sh echo export WM_THIRD_PARTY_USE_GCC_492=1 >> etc/prefs.sh echo export compilerInstall=FOAM >> etc/prefs.sh source etc/bashrc Code:
cd ~ mkdir foam cd foam git clone git://git.code.sf.net/p/foam-extend/foam-extend-3.2 foam-extend-3.2 Code:
cd ~/foam/foam-extend-3.2 source etc/bashrc echo "alias fe32='source \$HOME/foam/foam-extend-3.2/etc/bashrc'" >> $HOME/.bashrc Code:
export QT_BIN_DIR=/usr/bin/qmake-qt4 echo "export QT_BIN_DIR=$QT_BIN_DIR" >> etc/prefs.sh Code:
export CUDA_ARCH=sm_30 echo "export CUDA_ARCH=sm_30" >> etc/prefs.sh Code:
./Allwmake.firstInstall Any help will be appreciated, Regards, Arsalan. |
|
November 13, 2016, 13:52 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: This seemed fairly familiar... the following thread accounts something very similar: http://www.cfd-online.com/Forums/ope...u-16-04-a.html
Many thanks for all of the details! Nonetheless, my best guess is that the foam-extend 3.1 was still partially loaded in when you build foam-extend 3.2? Did you start with a clean shell environment (no OpenFOAM/foam-extend environment loaded in)? Have you tried the simpler tutorial cases? For example "incompressible/icoFoam/cavity". In addition, what do the following commands give you when you have foam-extend 3.2 environment loaded? Code:
gcc --version g++ --version
__________________
|
|
November 13, 2016, 19:04 |
|
#3 | |||
Member
Arsalan
Join Date: Jul 2014
Posts: 74
Rep Power: 12 |
Dear Bruno,
Thanks for your replay. About the problem, Quote:
Quote:
cavity (icoFoam), damBreak (interFoam), sloshingTank2D (interDyMFoam), sloshing2D and ramp (interTrackFoam) and some not, for example: mixerVessel2D (MRFInterFoam), hydrofoil (interTrackFoam), bubble2D (bubbleInterTrackFoam). Quote:
Nope, just put this step since it's set to optionally in the wiki installation page. Thanks for your time and helps. Regards, Arsalan. |
||||
November 13, 2016, 19:48 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Arsalan,
It feels like something is missing in your description or maybe I'm not seeing a clue that is already present in the details you've given. A few more questions:
Best regards, Bruno |
|
November 14, 2016, 04:05 |
|
#5 | ||||
Member
Arsalan
Join Date: Jul 2014
Posts: 74
Rep Power: 12 |
Hi Bruno,
Many thanks for your fast replay. Quote:
Quote:
Code:
total used free shared buffers cached Mem: 5885 1840 4045 0 120 807 -/+ buffers/cache: 912 4973 Swap: 5243 0 5243 Quote:
Code:
Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 42 Stepping: 7 CPU MHz: 2801.000 BogoMIPS: 5587.04 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 4096K NUMA node0 CPU(s): 0-3 Quote:
Anyway, I'm ready for starting a new clean installation if only this could fix the problem. Thanks in advance. Regards, Arsalan. |
|||||
November 14, 2016, 18:16 |
|
#6 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
I'm sad to say that it does seem to be best that you start over the build from a clean installation. It's safer that way. |
||
November 14, 2016, 18:27 |
|
#7 | |
Member
Arsalan
Join Date: Jul 2014
Posts: 74
Rep Power: 12 |
Dear Bruno,
Quote:
Many thanks for your endless helps, it's really warming for us to have you in the forum. Regards, Arsalan. Last edited by arsalan.dryi; November 14, 2016 at 18:31. Reason: Spelling Issues |
||
November 14, 2016, 18:33 |
|
#8 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
|
||
Tags |
core dumped, floating point exception, foam-extend, foam-extend-3.2, installation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 05:18 |
[mesh manipulation] RefineMesh Error and Foam warning | jiahui_93 | OpenFOAM Meshing & Mesh Conversion | 4 | March 3, 2018 12:32 |
simpleFoam: floating point exception | student666 | OpenFOAM Running, Solving & CFD | 9 | March 13, 2016 19:23 |
Temperature floating point exception | ayckrom | FLUENT | 1 | May 13, 2015 10:02 |