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

Error Installing SU2 6.0.0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2018, 06:57
Default Error Installing SU2 6.0.0
  #1
New Member
 
Ghifari Adam Faza
Join Date: Dec 2016
Location: Bandung
Posts: 22
Rep Power: 10
fazaghifari is on a distinguished road
Hi
I'm totally new to SU2 and I encountered this problem when building SU2 from the source.
Screenshot from 2018-02-18 17-46-36.jpg

I was just following the instructions from github :

"To build SU2 from the source code, just open a terminal and run the './configure', 'make', and 'make install' commands in the root directory of the source distribution."

But in the './configure' step, the terminal gave me this message:
configure: error: cannot find python-config for /usr/bin/python.

Could anyone help me?
Thanks
fazaghifari is offline   Reply With Quote

Old   February 24, 2018, 14:42
Default
  #2
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
Maybe this could help you?
https://stackoverflow.com/questions/...config-missing

Best,
Francisco
fpalacios is offline   Reply With Quote

Old   February 27, 2018, 11:39
Default python-devel
  #3
New Member
 
Aldo Bonfiglioli
Join Date: Jan 2013
Location: Potenza, Italy
Posts: 19
Rep Power: 13
abonfi is on a distinguished road
Installing python-devel on OpenSUSE Thumbleweed solved that issue.
abonfi is offline   Reply With Quote

Old   March 8, 2018, 08:09
Default
  #4
New Member
 
JAMES
Join Date: Dec 2016
Posts: 21
Rep Power: 10
yugang881 is on a distinguished road
Hi friends, I also meet this problem. Have you fix it? I install the python-config but still not ok.
yugang881 is offline   Reply With Quote

Old   March 8, 2018, 10:30
Default
  #5
New Member
 
Ghifari Adam Faza
Join Date: Dec 2016
Location: Bandung
Posts: 22
Rep Power: 10
fazaghifari is on a distinguished road
Quote:
Originally Posted by yugang881 View Post
Hi friends, I also meet this problem. Have you fix it? I install the python-config but still not ok.
Hi James, I've fixed it by using this command (If I'm not mistaken):

./configure --with-PYTHON=/path/to/PythonInterpreter.

Actually you can take a look at ./configure --help
Maybe it could help you.

best regards,
Ghifari
fazaghifari is offline   Reply With Quote

Old   February 16, 2019, 02:21
Default
  #6
New Member
 
Karl Yang
Join Date: Jul 2016
Posts: 11
Rep Power: 10
HoneyBadger is on a distinguished road
Quote:
Originally Posted by fazaghifari View Post
Hi James, I've fixed it by using this command (If I'm not mistaken):

./configure --with-PYTHON=/path/to/PythonInterpreter.

Actually you can take a look at ./configure --help
Maybe it could help you.

best regards,
Ghifari

Hi, Ghifari,



Could you explain a bit more on python interpreter? I'm using a cluster with python preinstalled. I am not sure where to find the path, neither do I have the right to install with yum.



Regards
Juntao
HoneyBadger is offline   Reply With Quote

Old   March 1, 2019, 09:07
Default
  #7
New Member
 
Amir Bagheri
Join Date: Feb 2019
Location: Southampton, UK
Posts: 11
Rep Power: 7
Amirkb is on a distinguished road
Quote:
Originally Posted by HoneyBadger View Post
Hi, Ghifari,



Could you explain a bit more on python interpreter? I'm using a cluster with python preinstalled. I am not sure where to find the path, neither do I have the right to install with yum.



Regards
Juntao
Hi Juntao,

I believe you can list your loaded environment modules on the cluster and check for your python module. This is achieved by typing "module list" in your terminal window.
Once you've identified the python package name, you can run "module show" in conjunction with the python module name to get the library and bin paths. For example "module show python/2.7.14"

If python isn't loaded, you can load it first by typing "module avail" and finding the python package you want. Then "module load *module name*".

Hope this helps.

Amir
Amirkb is offline   Reply With Quote

Reply

Tags
installation, su2, ubuntu 16.04 lts


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
SU2 process was terminated by signal '11' tomp1993 SU2 Shape Design 5 March 1, 2018 05:32
Pointwise-SU2 joint webinar (April 29th) and SU2 v3.1.0 new release fpalacios SU2 News & Announcements 1 April 30, 2014 03:40
Official release of SU2 V3.0 and SU2 Educational V1.0 fpalacios SU2 News & Announcements 2 January 22, 2014 06:28
SU2 suite has moved to GitHub! fpalacios SU2 News & Announcements 0 August 12, 2013 03:07
Welcome to the Stanford University Unstructured (SU2) forum! economon SU2 0 January 7, 2013 03:48


All times are GMT -4. The time now is 09:20.