The Work folder


RunGTAP uses a work folder to store temporary files using during calculations. The folder is called WORK and is a subdirectory of the RunGTAP directory (the folder where RunGTAP.EXE is). For example, if you installed RunGTAP in C:\RunGTAP6, the work folder would be C:\RunGTAP6\Work.

RunGTAP deletes all files in the work folder on startup, and whenever you press the Solve button. However, you can exit RunGTAP and examine files (eg, log files) in the work folder. This can be useful in debugging problems.

RunGTAP uses other GEMPACK programs such as GTAP.EXE, SLTOHTA.EXE, ViewHAR.EXE and others. To ensure that these programs use the Work folder for temporary files, RunGTAP sets environment variables TMP, TEMP and GPTEMP to point to the Work folder. This setting applies only to the current RunGTAP session and to programs (such as ViewHAR) launched by that session. It does not apply to other programs running at the same time.

Note the change: Previous versions of RunGTAP used the Windows TEMP folder for calculations. This caused a number of problems, particularly if the name of that folder was long, or contained spaces or Asian characters. Hence the change.

Technical note: You can go Help...About..Diagnostics to get a report which includes (about halfway through) a listing of the RunGTAP environment block. This shows the current TMP and TEMP settings (pointing to the Work folder) and the previous settings (under ORIGINAL_TMP and ORIGINAL_TEMP) which still apply to other programs.

See also:

RunGTAP Directory must have write access

INI File location



URL of this topic: www.copsmodels.com/webhelp/rungtap/hc_workfolder.htm

Link to full GEMPACK Manual

Link to GEMPACK homepage