Compiling 4D/BTi Executables: The source code, as delivered, is configured to build VSM/CTF compatible executables. To compile for 4D/BTi dataset compatibility, you need to first edit SAMsrc/config/Makefile.config. First, cd to the SAMsrc/config. Using a text editor such is vi, emacs, or gedit, locate the line containing CFLAGS += DBTI. Un-comment (remove the leading #) on that line. Next, still in the config directory, execute the configure program by typing "./configure". Finally cd to the SAMsrc directory and type: "make clean" followed by "make". This should compile all libraries and executables for 4D/BTi dataset compatibility.
Command Line Differences: 4D/BTi datasets require two names to uniquely identify which data are to be processed. The dataset name is the directory name containing the data files. This is identified by the -r flag (similar to processing VSM/CTF datasets). In addition, the Processed Data File (pdf) is identifed by the -d flag. Both the dataset name and the pdf name are required.