Creating Modules for others to use


You need a GEMPACK licence to create new modules. There are two main sorts of licence:

Cheaper, Executable-Image licence allows you to make GEMSIM modules. You need GEMSIM to run these, and you need a GEMPACK licence for GEMSIM. So this technology only lets you share modules with other GEMPACK licencees [who must have the same version of GEMSIM]. Also, larger models cannot be solved with GEMSIM.

More expensive Source-Code licence allows you to make EXE modules. If you do this right, anyone can run these EXEs. They also run faster than GEMSIM modules.

This note concerns the second route, and tells the right way to compile EXE modules that others may use. You will have one of these Fortran compilers:

LF90

Lahey LF95

Intel Fortran

GFortran

LF90 is NOT recommended at this time. LF90 uses files (such as HAR files) of a different format to newer HAR files. This may raise difficulties if you attempt to share LF90 EXEs and HAR files with users of modern RunGTAP installations (see Formats of HAR files).

Always test distributed EXEs

To do this, create the EXES, then rename your GEMPACK directory by adding an x to the name. Perhaps it would become C:\GPX.

Now your system will be unable to find your GEMPACK licence LICEN.GEM. Test all EXEs which are to be distributed under these conditions.

For RunGTAP, testing means: solving the model and testing the systematic sensitivity options. Each GEMPACK EXE must be exercised. For GTAPAgg, time series must be tested if available. After the testing, rename your GEMPACK directory back to original by removing the x from their name.



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

Link to full GEMPACK Manual

Link to GEMPACK homepage