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] Problems installing OF4.1 in Kubuntu 14.04 (https://www.cfd-online.com/Forums/openfoam-installation/183002-problems-installing-of4-1-kubuntu-14-04-a.html)

Outbound January 24, 2017 10:02

Problems installing OF4.1 in Kubuntu 14.04
 
Greetings,

For some reason I having issues installing OF4.1 on Kubuntu 14.04.

I had done it previously on another machine (some problems but fixable just due to folder permissions) but on this machine Iḿ unable to instal both ParaFOAM 5 and OF4.1.

The log files for OF installation are here and the ones for ParaFOAM here.

The computer is a 6 core i7 with 32GB ram and (perhaps most importantly) a Nvidia Quadro K620 running the latest Nvidia driver (Nouveau is deactivated).

Any help would be appreciated.

Thanks.

olesen January 24, 2017 16:13

You can ship around the cgal problem by something like this in the makeCGAL:
Code:

cmake ...
        -DWITH_CGAL_ImageIO=OFF \
        -DWITH_CGAL_Qt5=OFF \
...

This should prevent the imageIO from being built and remove your GL problem. This is probably how it should be anyhow (I'll enter an issue).

For your problem with paraview. Try making without mpi and python first and then proceed from there. I'm guessing that the python linkage may be the problem, but that's just a guess.

Outbound January 24, 2017 16:17

First of all, thanks for your reply.

I don't really understand what I have to change though. Is this a script in the cmake folder that I have to modify?

As for ParaView I suspect the same. I'll give it a go once a case is done and will report back to you.


Best regards,

Outbound January 26, 2017 10:28

I don't want to celebrate too early but it appears the cmake file change worked as OF41 has been building for a while.

ParaFoam however I haven't had any luck. I tried removing the python and mpi references from the make command (individually and both) and I can never get it to build. That particular python library file wasn't even in that directory. I only had it in a SALOME installation directory and had to copy it over. It doesn't seem to exist anywhere els on disk even though Python 2.7.6 is installed.

khedar February 1, 2017 20:43

Did you try from the deb packages? I think they should work just fine for kubuntu as well.

http://openfoam.org/download/4-1-ubuntu/

Outbound February 2, 2017 07:54

On this particular computer I ended up throwing in the towel and just reinstalled Ubuntu. At first I tried Ubuntu 14.04 but had problems with the graphic driver (neither the Nouveau nor the Nvidia drivers would work properly) and then ended up just going with Ubuntu 16.04 and the Nouveau driver and OF240. I can still install your BSL-EARSM turbulence model like I did for OF222 and OF231.

Cheers.


All times are GMT -4. The time now is 08:24.