|
[Sponsors] |
May 30, 2020, 19:43 |
Build SU2 on Windows 10
|
#1 |
New Member
Tomás Silva
Join Date: May 2020
Posts: 2
Rep Power: 0 |
Hi all,
I had to change the turb_sources.cpp file in order to adjust the B-C turbulence model and now I need to build the SU2_CFD file again. Is there any way to build only this part of the program without having to build the whole code? Moreover, I tried to build the whole code as it said on the SU2 website but I didn't succeed. It worked well until I ran: ./meson.py build After that, I got this message : Please be sure to add the $SU2_HOME and $SU2_RUN environment variables, and update your $PATH (and $PYTHONPATH if applicable) with $SU2_RUN Based on the input to this configuration, add these lines to your .bashrc file: export SU2_RUN=c://bin export SU2_HOME=C:\PIR\SU2\SU2-master\SU2-master export PATH=$PATH:$SU2_RUN export PYTHONPATH=$PYTHONPATH:$SU2_RUN Use './ninja -C false install' to compile and install SU2 I can't find the .bashrc file and I tried to ran the '.\ninja -C false install' but it also doesn't work. I also tried to run '.\ninja -C build install', which is another command line indicated in the website, but it also didn't work. Thank you in advance for your help, |
|
May 31, 2020, 06:51 |
|
#2 |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11 |
Make sure to use "ninja.exe -C build install" on windows like it is mentioned here:
https://su2code.github.io/docs_v7/Build-SU2-Windows/ These export commands are only for macOS/Linux. We will modify the documentation accordingly soon.
__________________
Developer Director @ SU2 Foundation Get involved:
|
|
June 2, 2020, 09:19 |
|
#3 |
New Member
Tomás Silva
Join Date: May 2020
Posts: 2
Rep Power: 0 |
Thank you for your reply.
When I use the command "ninja.exe -C build install" I get the following messages: ninja: error: unknown target 'install' ninja: Entering directory `build' |
|
Tags |
su2 build |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2 v6.0.0 windows zip - Installer Application? | Harry_D | SU2 Installation | 1 | February 20, 2018 15:20 |
[foam-extend.org] FOAM on Windows, Linux and Mac | hjasak | OpenFOAM Installation | 7 | January 24, 2016 07:54 |
Build SU2 on Intel Xeon Phi | akun646 | SU2 Installation | 1 | August 4, 2014 05:50 |
Welcome to the Stanford University Unstructured (SU2) forum! | economon | SU2 | 0 | January 7, 2013 03:48 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |