CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > SU2

How to compile only the modified files?

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

LinkBack Thread Tools Search this Thread Display Modes
Old   September 9, 2019, 21:09
Default How to compile only the modified files?
New Member
Aman uz zaman Baig
Join Date: Nov 2015
Location: Cincinnati, US
Posts: 16
Rep Power: 10
aman_baig is on a distinguished road
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?
aman_baig is offline   Reply With Quote

Old   September 10, 2019, 02:47
atelcikti1's Avatar
Join Date: Mar 2017
Posts: 61
Rep Power: 9
atelcikti1 is on a distinguished road
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.
atelcikti1 is offline   Reply With Quote


development, make, recompile, su2

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
How to open old mesh cmdb files in ANSYS CFX v13.0 ? Sudharshani CFX 2 May 12, 2013 22:13
Compiled library vs. inInclude Files, DSMC solver crashes after run GPesch OpenFOAM Programming & Development 8 April 18, 2013 07:17
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 07:21
OpenFOAM15 paraFoam bug koen OpenFOAM Bugs 19 June 30, 2009 10:46
Problems with result files Kasper CFX 5 December 14, 2006 02:41

All times are GMT -4. The time now is 13:56.