Difference between revisions of "SCons"

From Madagascar
Jump to navigation Jump to search
(New page: =SCons and Madagascar= [http://www.scons.org/ SCons] (from '''S'''oftware '''Cons'''truction) is a superior alternative to the classic '''make''' utility. SCons is implemented as a [htt...)
 
Line 14: Line 14:
  
 
=== Command-line options ===
 
=== Command-line options ===
 +
 +
{|class="wikitable" align="center" cellspacing="0" border="1"
 +
|-
 +
! colspan="2" style="background:#ffdead;"|Command-line options
 +
|-
 +
| '''Name''' || '''Meaning'''
 +
|-
 +
| TIMER || Whether to time execution
 +
|-
 +
| CHECKPAR || Whether to check parameters
 +
|-
 +
| ENVIRON || Additional environment settings
 +
|-
 +
| CLUSTER || Nodes available on a cluster
 +
|-
 +
| MPIRUN || mpirun command
 +
|}
  
 
=== Seismic Unix data processing flows with <tt>rsf.suproj</tt> ===
 
=== Seismic Unix data processing flows with <tt>rsf.suproj</tt> ===

Revision as of 10:05, 2 August 2010

SCons and Madagascar

SCons (from Software Construction) is a superior alternative to the classic make utility.

SCons is implemented as a Python script, its "configuration files" (SConstruct files) are also Python scripts. Madagascar uses SCons to compile software, to manage data processing flowing, and to assemble reproducible documents.

Compilation

Data processing flows with rsf.proj

Default targets

Command-line options

Command-line options
Name Meaning
TIMER Whether to time execution
CHECKPAR Whether to check parameters
ENVIRON Additional environment settings
CLUSTER Nodes available on a cluster
MPIRUN mpirun command

Seismic Unix data processing flows with rsf.suproj

Document creation with rsf.tex

Default targets

Book and report creation with rsf.book