|
[Sponsors] |
September 9, 2019, 22:09 |
How to compile only the modified files?
|
#1 |
New Member
Aman uz zaman Baig
Join Date: Nov 2015
Location: Cincinnati, US
Posts: 16
Rep Power: 11 |
I am starting to add some capabilities to SU2. If I use 'make install' it detects the files that have been changed and recompiles only them. The problem is even then the compilation can take many minutes to complete. Is there a smarter way to make this even faster?
|
|
September 10, 2019, 03:47 |
|
#2 |
Member
Join Date: Mar 2017
Posts: 61
Rep Power: 9 |
There is no better way rather than make install or make. If you make small change ie. in solver class which is on the top level, it will not change lots of file so it will take less time comparing to changing transport model which affects lots of classes. If you dont need automatic differentiation just compile without AD flag, it will save severe type according to my previous experience.
|
|
Tags |
development, make, recompile, su2 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to open old mesh cmdb files in ANSYS CFX v13.0 ? | Sudharshani | CFX | 2 | May 12, 2013 23:13 |
Compiled library vs. inInclude Files, DSMC solver crashes after run | GPesch | OpenFOAM Programming & Development | 8 | April 18, 2013 08:17 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 08:21 |
OpenFOAM15 paraFoam bug | koen | OpenFOAM Bugs | 19 | June 30, 2009 11:46 |
Problems with result files | Kasper | CFX | 5 | December 14, 2006 03:41 |