|
[Sponsors] |
[foam-extend.org] Problems installing foam-extend-3.2 on Ubuntu 12.04 |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Johan Roenby
Join Date: May 2011
Location: Denmark
Posts: 93
Rep Power: 21 ![]() |
Hello
I have followed the instructions here: https://openfoamwiki.net/index.php/I...oam-extend-3.2 https://openfoamwiki.net/index.php/I...u#Ubuntu_12.04 to install foam-extend-3.2 on my updated and restarted Ubuntu 12.04 system machine. The compilation appears to succeed without errors including the download and installation of gcc-4.9.2. The foamInstallationTest script reports no errors. The problem is that a lot of the tutorials crash with a "Floating point exception (core dumped)". Others, e.g. damBreak, run fine without problems. An example of a crashing case is basic/scalarTransportFoam/pitzDaily, where the blockMesh is successfully run, but the scalarTransportFoam crashes. A checkMesh also crashes with the floating point exception, but the produced mesh looks fine in Paraview. I have double-checked that I am not sourcing any of my OpenFOAM (vanilla) installations in my ~/.bashrc file. When I run scalarTransportFoam with gdb, this is what I get: Code:
dhi@argos3:~/foam/foam-extend-3.2/tutorials/basic/scalarTransportFoam/pitzDaily$ gdb scalarTransportFoam GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://bugs.launchpad.net/gdb-linaro/>... Reading symbols from /home/dhi/foam/foam-extend-3.2/applications/bin/linux64Gcc49DPOpt/scalarTransportFoam...(no debugging symbols found)...done. (gdb) run Starting program: /home/dhi/foam/foam-extend-3.2/applications/bin/linux64Gcc49DPOpt/scalarTransportFoam warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". /*---------------------------------------------------------------------------*\ | ========= | | | \\ / 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-334ba0562a2c Exec : /home/dhi/foam/foam-extend-3.2/applications/bin/linux64Gcc49DPOpt/scalarTransportFoam Date : Jun 21 2016 Time : 15:36:27 Host : argos3 PID : 5662 CtrlDict : "/home/dhi/foam/foam-extend-3.2/tutorials/basic/scalarTransportFoam/pitzDaily/system/controlDict" Case : /home/dhi/foam/foam-extend-3.2/tutorials/basic/scalarTransportFoam/pitzDaily nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Program received signal SIGFPE, Arithmetic exception. 0x00007ffff52a97e1 in Foam::operator>>(Foam::Istream&, double&) () from /home/dhi/foam/foam-extend-3.2/lib/linux64Gcc49DPOpt/libfoam.so Please help! Kind regards, Johan Last edited by wyldckat; September 11, 2016 at 12:36. Reason: Changed [QUOTE][/QUOTE] to [CODE][/CODE] |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Join Date: Mar 2009
Posts: 29
Rep Power: 17 ![]() |
Hi Johan,
Did you find what the problem was ? I think I've got the same issue with the compilation of foam-extend-3.2 Thanks, Fabien |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Johan Roenby
Join Date: May 2011
Location: Denmark
Posts: 93
Rep Power: 21 ![]() |
Hi Fabian
No, I never got it to work with Ubuntu 12.04. I ended up upgrading my ubuntu to 14.04, in which the problem did not occur (not necessarily a painless process either - for instance getting my thinlinc remote desktop to work again in 14.04 cost me several days of work and despair until I realised that ubuntu had reverted to using the NVIDIA graphics driver which messed up my thinlinc for some reason). Good luck, and let us know if you find a solution. Best, Johan |
|
![]() |
![]() |
![]() |
![]() |
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings to all! Sorry for the late response.
I haven't tried building again foam-extend 3.2 inside an Ubuntu 12.04 VM, because I suspect that I'll simply will not be able to reproduce the same error. Therefore, I'm guessing that this: Quote:
May I ask you two which localization options did you choose when installing or changed preferences in Ubuntu? I ask this because the choices of localization (keyboard settings, system language, timing and number values) may be the ones affecting the installation of foam-extend, in the sense that the mathematical operations could have been affected. There are a few other possibilities:
Bruno
__________________
|
||
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Johan Roenby
Join Date: May 2011
Location: Denmark
Posts: 93
Rep Power: 21 ![]() |
Hi Bruno
Thank you very much for your suggestions. Since I worked around the problem by installing Ubuntu 14.04 (cf. post #3), I no longer have an environment for investigating the error. Best regards, Johan |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] Foam Extend 3.2 in ubuntu 16.04 LTS | JMosiezny | OpenFOAM Installation | 15 | December 9, 2017 08:20 |
[foam-extend.org] Foam extend 3.2: cannot find -liberty | sampy | OpenFOAM Installation | 4 | May 13, 2016 04:54 |
[foam-extend.org] Foam extend 3.2 wrong installation directory | geop | OpenFOAM Installation | 0 | May 11, 2016 05:52 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 14:11 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 06:51 |