scons


Introduction:

SCONS is a tool for building software, and is intended as a powerful
and flexible substitute for the standard Make facility.

SCONS expresses the software configuration within a Python script,
which makes it easier to express various processes and relationships.

Web Site:


http://scons.org

Reference:

Usage:

On any ARC cluster, check the installation details
by typing "module spider scons".

SCONS requires that the appropriate modules be loaded before it can be run.
One version of the appropriate commands for use on NewRiver is:

module purge
module load scons/2.3.4
    

Examples:

In the following batch file, SCONS is used to set up a software package.
As a record of the events, the ls command is used before and
after, to display the file structure.

#! /bin/bash
#
#PBS -l walltime=5:00
#PBS -l nodes=1:ppn=1
#PBS -W group_list=newriver
#PBS -q open_q
#PBS -j oe
#
cd $PBS_O_WORKDIR
#
module purge
module load scons/2.3.4
#
echo "Initial directory listing:"
ls -l
#
scons
#
echo "Directory listing after scons command:"
ls -l
#
#  Clean up.
#
scons -c
#
echo "Directory listing after scons -clean command:"
ls -l

A complete set of files to carry out a similar process are available in
scons_example.tar