CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.org] Installation of ParaView error: Invalid Pointer (https://www.cfd-online.com/Forums/openfoam-installation/223094-installation-paraview-error-invalid-pointer.html)

Linea December 22, 2019 15:21

Installation of ParaView error: Invalid Pointer
 
Hey, I'm new to this forum and OpenFoam. So I hope I haven't overseen that this problem has been discussed before.

I tried to install OpenFOAM and Paraview according to https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04. Everything worked well until step 10, where I get an error after I do this:

Code:

./makeParaView4 > log.makePV 2>&1
Following error occurs:

Code:

*** Error in `/root/OpenFOAM/ThirdParty-2.3.0/build/linux64Gcc/ParaView-4.1.0/VTK/ThirdParty/hdf5/vtkhdf5/CMake/CMakeFil
es/CMakeTmp/cmTryCompileExec769454799': munmap_chunk(): invalid pointer: 0x00007f56749206b8 ***

I have google it and looked in the forum but couldn't find anything related to it. I also tried with the OpenFoam version 2.3.1 and Ubuntu 14.04.5 LTS. It gave me the same error.

I am very new to this, so I don't know exactly what it means. Hope someone can help me or give me a hint. :confused:

wyldckat December 27, 2019 16:14

Quick answer: I suspect that this is an error due to insufficient RAM.
A few questions:
  1. Are you compiling within a virtual machine or directly in the real machine?
  2. How many cores does your machine have (within the virtual or real one)?
  3. Which specific architecture of Ubuntu are you using?
    If you don't know, run this command:
    Code:

    uname -a
Last but not least, you've missed a critical step in the instructions... in step #4 at https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04 - it specifically states that you should exit from root mode. But since your error message is stating that you tried to compile at "/root/OpenFOAM", this can be a risk if by any chance you mistype a command and accidentally delete files of the system.


All times are GMT -4. The time now is 17:59.