CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[pythonFlu] Problem installing pythonFlu

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2013, 03:17
Default Problem installing pythonFlu
  #1
New Member
 
Christoph Kratzsch
Join Date: Nov 2011
Location: Freiberg
Posts: 28
Rep Power: 14
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: 650
Rep Power: 21
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: 28
Rep Power: 14
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: 650
Rep Power: 21
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] Problem in installing OpenFOAM 2.3.0 !!! omid20110 OpenFOAM Installation 6 August 1, 2016 11:20
[swak4Foam] foam-extend-3.2 installing problem: swak4Foam failed to install due to Bison lxwd OpenFOAM Community Contributions 1 March 20, 2016 16:03
Problem with installing OpenFOAM 2.0.X mohsen.boojari OpenFOAM Installation 3 February 3, 2016 11:41
Problem installing OpenFOAM-1.6-ext on Ubuntu 14.04 afrotimy OpenFOAM Installation 4 October 4, 2014 11:36
Problem in installing OpenFOAM-ParaView-0.1.1-1.x86_64 hassan5565 OpenFOAM Installation 1 August 5, 2014 13:05


All times are GMT -4. The time now is 07:47.