4.2 COMPILING AND RUNNING THE MODELS ON A PC
As mentioned earlier, the ISC models were developed on an IBM‑compatible PC, using the Microsoft Optimizing FORTRAN Compiler (Version 5.1). This section provides details regarding compiling and running the models on a PC.
4.2.1 Microsoft Compiler Options
The DOS versions of the executable files (.EXE) of the models provided on the SCRAM BBS were compiled with the Microsoft Optimizing FORTRAN Compiler (Version 5.1) using the following command line:
FL /c /FPi /AH /DMICRO *.FOR
where /c instructs the compiler to compile without linking; the /FPi option instructs the compiler to use in‑line instructions for floating point operations and link with an emulator library (uses 80x87 coprocessor if present); the /AH option that the
huge memory model be used, allowing arrays or common blocks to exceed 64K; and the /DMICRO option instructs the compiler to use the conditional compilation blocks defined for the Microsoft compiler. These conditional blocks of code implement the PC‑specific features of the model including writing the date and time fields on each page of the printed output file and writing an update to the screen on the status of processing. The *.FOR parameter tells the compiler to compile all files in the default directory ending with an extension of *.FOR. This assumes that all of the source code modules and the include files are in a single directory, or that the compiler has been setup to search for the include files in the appropriate directory. This command line for the compiler makes full use of the compiler's optimization routines to speed up the code. To disable optimization, the /Od option would be added.
251 - 252 - 253 - 254 - 255 - 256 - 257 - 258 - 259 - 260 - 261 - 262 - 263 - 264 - 265 - 266 - 267 - 268 - 269 - 270 - 271 - 272 - 273 - 274 - 275 - 276 - 277 - 278 - 279 - 280 - 281 - 282 - 283 - 284 - 285 - 286 - 287 - 288 - 289 - 290 - 291 - 292 - 293 - 294 - 295 - 296 - 297 - 298 - 299 - 300
deutsch: DIS CUS DES RAD
castellano: DIS CUS DES RAD english: DIS CUS DES RAD
português: DIS CUS DES RAD italiano: DIS CUS DES RAD
français: DIS CUS DES RAD