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

build SU2 from the source code

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2021, 02:54
Default build SU2 from the source code
  #1
New Member
 
Join Date: Aug 2021
Posts: 1
Rep Power: 0
imech_origin is on a distinguished road
Hello,

I try to build SU2 from source code in windows 10, according the instructions in the official website of SU2. However, I got the error information after I execute the following command: ninja.exe -C build install.

[441/447] Linking target SU2_GEO/src/SU2_GEO.exe
FAILED: SU2_GEO/src/SU2_GEO.exe
c++ @SU2_GEO/src/SU2_GEO.exe.rsp
D:/Program Files/mingw-w64/x86_64-8.1.0-win32-seh-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lD:\Program Files (x86)\Microsoft SDKs\MPI\Lib\x64\msmpi
collect2.exe: error: ld returned 1 exit status

Thanks
imech_origin is offline   Reply With Quote

Old   October 6, 2021, 11:54
Default
  #2
Member
 
na
Join Date: Jul 2018
Posts: 64
Rep Power: 5
TKatt is on a distinguished road
Hi,


not that I know anyting about windows build but


Code:
cannot find -lD:\Program Files (x86)\Microsoft SDKs\MPI\Lib\x64\msmpi
looks you are missing mpi alltogether. Or at least it cannot be accessed. So either install msmpi (not entirely sure how easy or difficult it is). Or build without MPI using -Dwith-mpi=false during the meson.py step. (see https://su2code.github.io/docs_v7/Bu...nd-compilation for that flag)


Maybe these thoughts already help, Best
Tobi
TKatt 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
[openSmoke] LaminarSMOKE compilation error mdhfiz OpenFOAM Community Contributions 5 May 23, 2021 11:33
[swak4Foam] Installation Problem with OF 6 version Aurel OpenFOAM Community Contributions 14 November 18, 2020 17:18
[waves2Foam] Tripping over several build issues with OpenFOAM 2.1.1 Yage OpenFOAM Community Contributions 18 February 15, 2016 03:02
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 11:59
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08


All times are GMT -4. The time now is 19:12.