[Manual] [Contents] [Prev] [Next]

II.2.2 - Starting CRiSP.1

Starting from the Command Tool

To start CRiSP.1 from a command tool, the model must be in the path of the directory of the command tool. Type the line with the syntax

crisp1 [-b][-r river_desc][-d data_file][river_desc [data_file]]

This syntax follows standard UNIX form where the [ ] indicates options which specify a river description file [river_desc] and a [data_file], which are described in sections below. The specified files will be searched for in CRiSP.1's executable directory if they are not found in the current directory. The river description file "columbia.desc" is searched by default. The default data file is "base.dat"; program defaults are used if no data file is found. The -b option specifies that CRiSP.1 will run in batch mode; this allows users at text terminals to run CRiSP.1. For more information about batch mode, see the Steps to Run Monte Carlo section II.5.9. Examples:

Arguments can be given without flags if they are supplied in order, so
crisp1 columbia.desc base.dat
is correct, but
crisp1 base.dat # won't work
is not. If flags are used explicitly, river and data files may leave out either flag/file pair, or put them in any order
crisp1 -r columbia.desc -d base.dat
crisp1 columbia.desc
crisp1 -d base.dat
crisp1 -b -r columbia.desc
crisp1
Starting from the File Manager

To start CRiSP.1 from the File Manager, double-click the executable icon: crisp1 (Fig. 3). Wait for the main panel and river map to appear. Basic information about CRiSP.1, model parameters, and running CRiSP.1 follows in this chapter.

Fig. 4 Main Control Panel and River Map

[Manual] [Contents] [Prev] [Next]
Columbia River Salmon Passage Model CRiSP.1.5 User Manual
Copyright © 1996, Columbia Basin Research. All rights reserved.
web@cbr.washington.edu