Skip to content

CFASTbot

Glenn Forney edited this page Jul 5, 2017 · 13 revisions

CFASTbot is a script that automatically compiles CFAST, runs its verification and validation cases, and compiles its manuals. It runs on either Windows or linux.

Preliminaries for running CFASTbot under Windows

CFASTbot uses several Unix/Linux commands. You'll need to install software for the following Unix commands on your Windows computer:

cat.exe
curl.exe
cut.exe
gawk.exe
grep.exe
head.exe
make.exe
sed.exe
tail.exe
wc.exe

To install these Unix commands for Windows go here and click on the Download link. After unzipping the downloaded file, locate the directory usr/local/wbin and add it your path.

To install PDF-LaTeX go here and click on the 64 bit Basic Installer button.

To clone the cfast and bot repos, follow these instructions

Running CFASTbot under Windows

Change directories (cd) to the folder bot\Cfastbot. To see usage info on the cfastbot script type: run_cfastbot -help

The typical way to run cfastbot is to type

run_cfastbot -bot

This will clean and update your repo. If you don't want to do this then just type

run_cfastbot

If you don't have an Intel C/C++ compiler, use the -smokeview option to use the installed Smokeview and Smokeview utilities.

If you don't have and Intel Fortran compiler, use the -cfast option to use the installed version of cfast.

Running CFASTbot under Linux or OSX (the Mac)

Change directories to bot/Cfastbot. To see usage info on the cfastbot script type: run_cfastbot -h

The typical way to run cfastbot is to type

./run_cfastbot -c -u

This will clean and update your repo. If you don't want to do this then just type

./run_cfastbot