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

Error: SU2-7.0.5 Installation from source for Windows10

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

Like Tree1Likes
  • 1 Post By hdavidcogollo

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2020, 12:29
Default Error: SU2-7.0.5 Installation from source for Windows10
  #1
New Member
 
Alexander FY
Join Date: Jul 2020
Posts: 1
Rep Power: 0
AlexanderFY is on a distinguished road
Hello,everyone!

I am having trouble to install SU2 7.0.5 on Windows10 by compiling from the source code. I am trying to follow the instructions on their website. But there was a problem with the meson build.
I have installed the necessary Tools.








Now the problem is, I run Python according to the instruction of su2 official website meson.py build
The following has happened




The main problem is that the file name in the path of meson generated file is wrong. One of filenames has a ':'.

I try to find the source of the problem by following the traceback of the program. The first step is to find the source of the error file name
SU2-7.0.5\externals\meson\mesonbuild\compilers\mixins\ clike.py
line901




So I print the parameters of directory and libname, and the result is as follows,



After comparison, I think the problem is more likely to be the problem with the libname parameter. How can a libname be so similar to a file path.

Then I traced the source of the libname parameter, which was taken from the command parameter. I first printed the content of the command parameter, and then found the source of the command parameter, as shown in the figure,
SU2-7.0.5\externals\meson\mesonbuild\backend\ninjaback end.py
line2414





The content of this code was not studied, and I tried to modify something to bypass it.
SU2-7.0.5\externals\meson\mesonbuild\compilers\mixins\ clike.py
line902



Try to modify the generated code of the strange file path, and directly use f = path (libname) when libname appears ":", so as to avoid [winerror 123]. Next, it can compile successfully, but when linking, there is a problem of cannot find - lC: program files (x86) - Microsoft SDKs / MPI / lib / x64 / msmpi. a

At present, the only possible way is to understand the commands generation process code, so as to find out the library with the strange name of C:\ program \iles (x86),\Microsoft SDKs,\MPI\ lib\ x64\\msmpi. a, and see if it can be modified.

Any help?
How to solve it?
Are there staff members or users who are familiar with the compilation of meson help me?

Thanks in advance!
AlexanderFY is offline   Reply With Quote

Old   October 23, 2020, 23:11
Default
  #2
New Member
 
nasisu24's Avatar
 
Nasi Su
Join Date: Feb 2019
Posts: 1
Rep Power: 0
nasisu24 is on a distinguished road
Have you solve the problem?解决了吗
nasisu24 is offline   Reply With Quote

Old   October 24, 2020, 14:51
Default
  #3
New Member
 
Hernán David Cogollo
Join Date: Jun 2020
Location: Bogotá, Colombia
Posts: 6
Rep Power: 5
hdavidcogollo is on a distinguished road
Hi to everyone.

I have a tutorial to install SU2 in Windows, I can share you, but the problem is that are in Spanish beacause I'm from Colombia.
e.bernat likes this.
hdavidcogollo is offline   Reply With Quote

Old   July 7, 2021, 00:52
Default
  #4
Member
 
Ndong-Mefane Stephane Boris
Join Date: Nov 2013
Location: Kawasaki (JAPAN)
Posts: 53
Rep Power: 12
S_teph_2000 is on a distinguished road
Hello hdavidcogollo,

Can you share your manual please? Google translator will help with the spanish \(^_^)/

Kazu
S_teph_2000 is offline   Reply With Quote

Old   July 7, 2021, 01:15
Default
  #5
New Member
 
Hernán David Cogollo
Join Date: Jun 2020
Location: Bogotá, Colombia
Posts: 6
Rep Power: 5
hdavidcogollo is on a distinguished road
Hi, now I have a translation.
hdavidcogollo is offline   Reply With Quote

Old   July 7, 2021, 20:27
Default
  #6
Member
 
Ndong-Mefane Stephane Boris
Join Date: Nov 2013
Location: Kawasaki (JAPAN)
Posts: 53
Rep Power: 12
S_teph_2000 is on a distinguished road
Hello Alexander,
I am currently facing the exact same problem. Did you find a solution?
Kazunobu
S_teph_2000 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
[snappyHexMesh] Invalid Normals for source face to target face while making AMI? Sorabh OpenFOAM Meshing & Mesh Conversion 1 August 3, 2021 06:35
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 09:07
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 18:11.