This shows you the differences between two versions of the page.

sep:software:sepscons [2009/02/13 02:31]
sep:software:sepscons [2015/05/27 02:06] (current)
Line 83: Line 83:
env.SProgram('driver.f90') env.SProgram('driver.f90')
</code> </code>
 +==== Build, Clean and Burn ==== 
 +Although the target of the above ''SConstruct'' file is ''~/bin/driver.x'', it is aliased under ''driver.x''. Thus running 
 +>> scons driver.x 
 +Would build the specific target. All intermediate files can be cleaned running scons with the clean flag: 
 +>> scons -c driver.x 
 +>> scons --clean driver.x 
 +The final target file ''~/bin/driver.x'' was kept save from the clean because SProgram protected it with the SCons ''Noclean'' function. When the target needs to be burned, just run SCons with the burn flag: 
 +>> scons --burn driver.x 
 +This will enable clean mode and while the target is not protected by ''Noclean''. Effectively removing all the files created by the initial build.
====== FFTW and OPENMP ====== ====== FFTW and OPENMP ======
/web/html/data/attic/sep/software/sepscons.1234492272.txt.gz · Last modified: 2015/05/26 22:41 (external edit)
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0