|
[Sponsors] |
July 18, 2020, 15:46 |
AD Build SU2-7.6.0
|
#1 |
Member
Amit
Join Date: May 2013
Posts: 85
Rep Power: 13 |
How to compile latest version of SU2 (7.0.6 or so) with AD support. Online documentation is available for 6.2.0 or below.
|
|
July 18, 2020, 18:59 |
|
#2 |
Senior Member
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 14 |
./meson.py ... -Denable-autodiff=true -Denable-directdiff=true ...
As documented here: https://su2code.github.io/docs_v7/Bu...-configuration |
|
July 19, 2020, 03:43 |
|
#3 |
Member
Amit
Join Date: May 2013
Posts: 85
Rep Power: 13 |
Thanks Pedro, So far I was happy with 6.2.0.
I tried compiling 7.0.6 as suggested and ended up with following error - amit@amit-*******:~/supack/SU2-codi_medi_update$ python3.6 ./meson.py -Denable-autodiff=true -Denable-directdiff=true -Denable-pywrapper=true -Dwith-mpi=auto -Denable-cgns=true --prefix=/home/amit/suinstall/V7p06_codi error: pathspec '/home/******/SU2-codi_medi_update/externals/codi' did not match any file(s) known to git Traceback (most recent call last): File "./meson.py", line 71, in <module> init_submodules('auto') File "/home/amit/supack/SU2-codi_medi_update/meson_scripts/init.py", line 79, in init_submodules submodule_status(alt_name_codi, sha_version_codi) File "/home/amit/supack/SU2-codi_medi_update/meson_scripts/init.py", line 106, in submodule_status status = subprocess.run(['git', 'submodule','status', path], stdout=subprocess.PIPE, check = True, cwd = sys.path[0]).stdout.decode('utf-8') File "/usr/lib/python3.6/subprocess.py", line 438, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['git', 'submodule', 'status', '/home/amit/supack/SU2-codi_medi_update/externals/codi']' returned non-zero exit status 1. I missed out some basic .....? |
|
July 19, 2020, 06:23 |
|
#4 |
Senior Member
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 14 |
Did you download the code as zip or clone it with git?
Codi and Medi are git submodules, which are automatically initialized if you clone SU2 with git (git clone "SU2 url"). |
|
July 19, 2020, 12:12 |
|
#5 |
Member
Amit
Join Date: May 2013
Posts: 85
Rep Power: 13 |
Thanks Pedro, It worked after cloning with git. I had to disable tecio, as it was throwing some error (it is not required as well for me at the moment).
Regards Amit |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems when compile SU2 v4.X with openmpi | BopngMa | SU2 | 1 | September 6, 2015 07:30 |
Building from Source on Windows using Cygwin64 | ericthefatguy | SU2 | 2 | May 12, 2015 19:23 |
Official release of SU2 V3.0 and SU2 Educational V1.0 | fpalacios | SU2 News & Announcements | 2 | January 22, 2014 06:28 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
lack of support for VOF in version 3.26 | Tom | Siemens | 10 | August 6, 2006 09:20 |