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

Problem installing pythonFlu

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 19, 2013, 03:17
Default Problem installing pythonFlu
  #1
New Member
 
Christoph Kratzsch
Join Date: Nov 2011
Location: Freiberg
Posts: 22
Rep Power: 5
PonchO is on a distinguished road
Hi Foamers!


First, thank you for developing a tool that merges Python and OpenFOAM.

So now i want to use pythonFlu with OpenFoam-2.1.x. So i have downloaded all the sources and startet installing them as described here. The problem is mainly, that when i try to run the configure-script of managedFlu there is an error regarding C++ compiler. It states as follows:


Quote:
...
checking for g++... g++
checking whether the C++ compiler works... no.
configure: error: in `/home/myName/OpenFOAM/pythonFlu/managedFlu':
configure: error: C++ compiler cannot create executables
I've looked inside the configure-script, but i'm not very familiar with shell-skripting.
So i don't figure it out how the skript tests, if the compiler works. Can i test it manually otherwise?
My modified env.sh just make a path to some local directory for confFlu, where it is installed. My OpenFoam-2.1.x-bashrc should also work.

Can someone help me with that? I am using a Debian Wheezy system (hopefully i'll need just some extra packages ;-) )

Best regards,

Christoph
PonchO is offline   Reply With Quote

Old   September 19, 2013, 04:51
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 289
Rep Power: 9
jherb is on a distinguished road
Can you compile OpenFOAM itself (or your own solvers/tools)? Do have different compilers installed?

I tried to compile pythonFlu for OpenFOAM 2.2.1 and this didn't work very well (I had to exclude a lot of files). Probably the latest supported version 2.0.x.
jherb is offline   Reply With Quote

Old   September 19, 2013, 05:17
Default
  #3
New Member
 
Christoph Kratzsch
Join Date: Nov 2011
Location: Freiberg
Posts: 22
Rep Power: 5
PonchO is on a distinguished road
Quote:
Originally Posted by jherb View Post
Can you compile OpenFOAM itself (or your own solvers/tools)? Do have different compilers installed?

I tried to compile pythonFlu for OpenFOAM 2.2.1 and this didn't work very well (I had to exclude a lot of files). Probably the latest supported version 2.0.x.
Thanks for your reply jherb. Yes, i can compile my own solvers and tools with wmake. That works fine.

Because i'm not familiar with pure C++-Programming i hope the follwing outputs answers your question:

Code:
g++ --version
Quote:
g++ (Debian 4.7.2-5) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Code:
ls -l gcc*
Quote:
gcc -> /usr/bin/gcc-4.6
I don't know the difference between gcc and g++, but i think g++ works in version 4.7 whereas gcc is linked to a gcc version 4.6.

Is this some useful information ?

I think the latest supported OpenFOAM-version is 2.1.x as stated here.

Best regards
PonchO is offline   Reply With Quote

Old   September 19, 2013, 06:25
Default
  #4
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 289
Rep Power: 9
jherb is on a distinguished road
I think these posts might help with the selection of gcc versions in Debian:
http://lektiondestages.blogspot.de/2...-versions.html
http://lukas.ahrenberg.se/archives/154
jherb is offline   Reply With Quote

Reply

Tags
pythonflu

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem while installing swak4Foam on OF-2.0.1 Orgogozo OpenFOAM Installation 18 November 7, 2012 10:48
Handling cyclic BC from gambit to openfoam for a cascade airfoil problem - OF 1.6 maverick OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 June 18, 2011 04:36
Velocity profiles problem behind the elbow (3D problem) kabat73 FLUENT 8 May 9, 2010 04:26
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13


All times are GMT -4. The time now is 00:02.