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

SU2 paralllel Build from source ninja failed on ubuntu 18.04

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

Like Tree1Likes
  • 1 Post By pcg

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2020, 11:40
Default SU2 paralllel Build from source ninja failed on ubuntu 18.04
  #1
New Member
 
Join Date: Jul 2020
Posts: 22
Rep Power: 5
steadyman is on a distinguished road
Hello everyone

I wrote what I have done in order.

1.I want to SU2 built from source.I performed "./meson.py build".I think it was successful shown in mesonpy_outputs.png

After that, I specify SU2 Paths in my .bashrc with export.

2.However , "/.ninja -C false install" fails after "/.meson.py build operation. Shown in ninja_error_screen.png

Could you help me on this problem ?

(I use Openmpi for parallel)
Thanks in advance
steadyman is offline   Reply With Quote

Old   July 4, 2020, 14:52
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 465
Rep Power: 13
pcg is on a distinguished road
It should be ./ninja -C build install (there's a little bug causing "false" to be printed).
build is the name of the configuration directory specified when calling meson.py.

From the output you posted, ninja will try to install SU2 in /usr/local/bin, you will need root privileges for that (i.e. sudo ninja ...).
Alternatively you can specify a different installation directory using meson option --prefix="/some/path/"
steadyman likes this.
pcg is offline   Reply With Quote

Old   July 4, 2020, 14:54
Default
  #3
New Member
 
Join Date: Jul 2020
Posts: 22
Rep Power: 5
steadyman is on a distinguished road
Thanks I will try
steadyman is offline   Reply With Quote

Old   July 4, 2020, 15:23
Unhappy meson py failed now
  #4
New Member
 
Join Date: Jul 2020
Posts: 22
Rep Power: 5
steadyman is on a distinguished road
Thanks pcg

I install openmpi and ubuntu again due to some problems. Now, when I run meson.py I faced with python library error. Shown in meson_py_python_problem.png

I have installed python-dev,numpy,scipy before performing meson.py.
Apart from these
Moreover, I would like to emphasize if I'm gonna use "sudo apt install python3-pip" to install some missing libraries . There will be python error occurring something like old version.I tried that solution and it has not worked .

I also give meson.py log error txt file
meson-log.txt

Could you help me again ?
steadyman is offline   Reply With Quote

Old   July 4, 2020, 19:21
Default --prefix error
  #5
New Member
 
Join Date: Jul 2020
Posts: 22
Rep Power: 5
steadyman is on a distinguished road
Quote:
Originally Posted by pcg View Post
It should be ./ninja -C build install (there's a little bug causing "false" to be printed).
build is the name of the configuration directory specified when calling meson.py.

From the output you posted, ninja will try to install SU2 in /usr/local/bin, you will need root privileges for that (i.e. sudo ninja ...).
Alternatively you can specify a different installation directory using meson option --prefix="/some/path/"

I performed what you say in terminal but it gives error. I prefer to use --prefix so I created a new directory. However, I get errors shown in meson_py_prefix_error.png



Thanks in advance for your interest
steadyman is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 18:34
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 22:53
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 07:42
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 12:32
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24


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