Download Smoldyn User`s Manual
Transcript
3. Using Smoldyn 3.1 Running Smoldyn The bounce3.txt configuration file is a good one to start with because it is quite simple. It is in the examples folder, which is supplied with the Smoldyn distribution, in a sub-folder called S1_intro. If you are working on a Linux or Linux-like system, you can run Smoldyn from a command line interface. In this case, you can run the program by just entering smoldyn. The program should start, display a greeting, and ask for the name of the configuration file. Enter the configuration file name, including path information. For example, if bounce3.txt is in the working directory, just enter bounce3.txt; if the working directory is the one with the examples folder, enter examples/S1_intro/bounce3.txt; an absolute path name can be used as well. Next, Smoldyn asks for the runtime flags, which are listed in table 3.1. Any combination of flags may be used, and in any order. It is also possible to enter the configuration file name and any runtime flags on the command line. For example, Smoldyn could be run and would display the parameters for bounce3.txt with smoldyn examples/S1_intro/bounce3.txt -p Table 3.1.1: Runtime flags command line -o -p -q -t -V -v -w Smoldyn query o p q t V v w result normal: parameters displayed and simulation run suppress output: text output files are not opened parameters only: simulation is not run quiet: parameters are not displayed text only: no graphics are displayed display version number and quit verbose: extra parameter information is displayed suppress warnings: no warnings are shown Without a command line interface, you probably cannot specify the configuration file name or runtime flags during program startup. Instead, these need to be entered in response to the queries from Smoldyn. Macintosh applications (not run from the terminal command line) use path information that is denoted with colons: Enter name of configuration file: :examples:S1_intro:bounce3.txt Windows path information is entered with backslashes: Enter name of configuration file: examples\S1_intro\bounce3.txt 9