|
[Sponsors] |
[OpenFOAM.org] OpenFOAM 2.4 in Linux Mint 17.2: compiling ParaView with python-support |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 3, 2015, 03:15 |
OpenFOAM 2.4 in Linux Mint 17.2: compiling ParaView with python-support
|
#1 |
Member
sean read
Join Date: Sep 2014
Location: Melbourne, Australia
Posts: 41
Rep Power: 12 |
Hey Guys,
Okay, maybe I'm just a little thick, but I can't seem to be able to get paraview to compile with python support. I go in to the makeParaView make file in my third party directory of openFoam, change with python to true, added various places that seemed correct for the library, for example /usr/lib/python2.7/, and when I run the make file I get back No python headers found in /usr/include/python/usr/lib/python2.7/ Please install python headers or deactivate python support by not using the -python option Now I don't know if I have chosen the correct folder for python lib, I definitely can't see a python2.7.lib file in there, which suggests it's probably wrong (how, by the way, do I find this path?) However the path in the error message seems to be showing /usr/include/the path I wrote, which seems strange to me, Can someone help me with this? |
|
September 3, 2015, 18:20 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings seanread,
Knowing which Linux Distribution and which OpenFOAM version you're using would make it a lot easier to help you. Without knowing which one you're using, I can at least suggest you try following the instructions provided here: http://openfoamwiki.net/index.php/In...u#Ubuntu_15.04 - it's for OpenFOAM 2.4.0 and Ubuntu 15.04, which builds ParaView with Python and MPI support. Best regards, Bruno
__________________
|
|
September 4, 2015, 00:03 |
|
#3 |
Member
sean read
Join Date: Sep 2014
Location: Melbourne, Australia
Posts: 41
Rep Power: 12 |
Hey Bruno, thanks for getting back to me, I'm using open foam 2.4 and Linux mint 17.2
So I originally compiled the repository version following the instructions here http://www.openfoam.org/download/git.php, and am now trying to recompile with python support, sorry it seems I didn't clearly explain the background to my problem... Looking at the instructions on the wiki I should be able to compile except that I'm not sure on the python lib path, how do I check this? Last edited by wyldckat; September 4, 2015 at 19:53. Reason: merged posts that were a few of hours apart |
|
September 4, 2015, 19:57 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Sean,
Linux Mint 17.2 seems to be derived from Ubuntu 14.04, and since you're using 2.4.x, then the following instructions should be what you're looking for: http://openfoamwiki.net/index.php/In...u#Ubuntu_14.04 From the instructions, you need to at least do these steps:
Bruno
__________________
|
|
September 6, 2015, 00:44 |
|
#5 |
Member
sean read
Join Date: Sep 2014
Location: Melbourne, Australia
Posts: 41
Rep Power: 12 |
Thanks Bruno that worked perfectly, now all is running smooth!
|
|
Tags |
paraview 4.1, python |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology | wyldckat | OpenFOAM | 17 | November 10, 2017 16:54 |
[General] Using Python in Openfoam in-built paraFoam (paraView 3.8.0) | Man Yue | ParaView | 6 | November 30, 2012 07:57 |
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 7 | January 19, 2010 16:39 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 08:21 |
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 7 | July 30, 2009 04:14 |