Devar Installation Guide

12 February 2007

M. J. Dallwitz


Devar is a Fortran program for estimating development rate, as a function of temperature, from development times measured under fluctuating or constant temperatures. Fluctuating temperatures may be recorded at given times of day, or the maximum and minimum temperatures may be recorded. The development-rate function to be fitted may be supplied by the user as a Fortran function.

Cite this publication as: ‘Dallwitz, M.J., and Higgins, J.P. 1992 onwards. Devar: a computer program for estimating development rate as a function of temperature. Version: 18th July 1993.’.

System requirements

The program requires MS-DOS Version 3 or higher, and at least 500KB of available conventional memory. It will run in a command (MS-DOS) window in any version of MS Windows except 64-bit versions. The files, including two executable versions of Devar, source code, and test data, occupy 1MB of disk space.

Installing and running the program

The program is available at Click on the link ‘Distribution ZIP file’, and save the file ‘’ in a folder created for the purpose, e.g. ‘c:\devar’. Unzip the file in the same folder. The following files are created.

index.htm – ‘Contents’ file.

install.htm – This installation guide.

devar.pdf – User’s Guide.

devar.exe – Executable program: linear+threshold rate function.

devara.exe – Executable program: non-linear rate function.

*.dat – Test data.

*.out – Output from the test data.

*.for – Fortran source code.

ymmm.asm – Assembler source code.

ymmm.obj – Assembled version of the above file.

compile.bat – Batch file to compile the program (Microsoft Fortran V5).

devar.lnk – Responses file to link devar. To link, enter ‘link @devar.lnk’.

devara.lnk – Responses file to link devara.

plt2ps.exe – Program for converting .plt files to PostScript.

pltprint.bat – Batch file for converting .plt files to PostScript.

The simplest way to use the program is to put your data files in the same folder as the program. If you want to put your data files in other folders, then copy both of the executable program files (*.exe) to a folder that is on the ‘path’, e.g. (usually) ‘c:\windows’.

To run the program, open a command (MS-DOS) window, and move to the folder containing the data, e.g., for the test data, enter

cd c:\devar



(or ‘devara’ for the alternative rate function – see User’s Guide). You will be prompted for the name of the data file. Enter the name of one of the supplied data files, e.g. ‘test2.dat’. You will then be prompted for the name of the listing file. Press ‘Enter’ to use the default name (which is generated from the name of the data file by changing the file type to .lst). Alternatively, the file(s) can be specified on the command line, e.g.

devar test2.dat

Graphical output, if requested, is produced on a file with type .plt. This file can be converted to PostScript by running ‘pltprint’. The public-domain program Ghostscript (not supplied) can be used to display and print PostScript files. They can also be opened with commercial drawing programs such as Adobe Illustrator.

Modifying the program

Two versions of the program are supplied: ‘devar’, using a straight line with threshold for the rate function (rate.for); and ‘devara’, using a non-linear rate function (ratea.for). If a different rate function is to be used, the program will have to be compiled and linked. The function itself must be called ‘function rate’, but the file containing it need not be called rate.for.

If you want to regularly use more than one function, it would be best to use different file names for the different rate functions and the corresponding linking files and executable files, e.g. rateb.for, devarb.lnk, devarb.exe, etc.