This file is part of IDEAS, which uses RePEc data


[ Papers | Articles | Software | Books | Chapters | Authors | Institutions | JEL Classification | NEP reports | Search | New papers by email | Author registration | Rankings | Volunteers | FAQ | Blog | Help! ]

Running Simulations Faster on Multi-Processor or 64-Bit PCs via GEMPACK

Author info | Abstract | Publisher info | Download info | Related research | Statistics
Author Info
J Mark Horridge
Ken Pearson

Additional information is available for the following registered author(s):

Abstract

Many modern Windows PCs now have two or more processors. These PCs cost little more than a PC with a single processor. If you are solving a model accurately using GEMPACK, you will usually extrapolate from 2 or 3 multi-step calculations (for example, from Gragg 2-step, 4-step and 6-step calculations). The separate multi-step calculations are independent of each other. For example, if you are doing Gragg 2,4,6-step calculations, the 6-step calculation can be done independently of the 4-step calculation. If you wish to solve a model by extrapolating from 2 or 3 multi-step calculations, you can now ask GEMPACK to carry out one or two of these multi-step calculations in parallel. In this way you may be able to solve the model significantly more quickly than previously. Suppose, for example, you are solving using Gragg 2,4,6-step calculations. If you have two processors, you can ask the main program to carry out the 2-step and 4-step calculations. And you can ask the main program to run (on the other processor) a separate job which carries out the 6-step calculation. When that 6-step calculation is finished, the main program will read the results from the 6-step calculation and then combine these results with the results of the 2-step and 4-step calculations to do the extrapolation and produce the usual results. We refer to the main program as the "master" and to the run which carries out the 6-step calculation in parallel as "the servant". Since the 6-step calculation probably only takes as long as the 2-step followed by the 4-step, this will approximately halve the total elapsed time required to solve the model. If you have more than two processors, you can ask the master to run two servant programs. When you run two or three calculations in parallel (one master and one or two servants), each program requires about the same amount of memory. If your model takes about 500MB of memory to solve normally, you will need about 1000MB to run one servant or about 1500MB to run two servants. If you don't have this much memory, the servants and/or the master will be running in virtual memory (which is very slow). The new 64-bit processors (combined with a 64-bit version of Windows) are interesting in this context since they are able to address more than 2GB of memory. [2 gigabytes of memory is effectively the maximum which can be addressed by any program under 32-bit Windows XP and Windows 2000.] The version of GEMPACK which allows master/servant solving is available as a beta test version for customers from organisations which have a multi-user Source-Code Version of GEMPACK with expiring annual licences.

Download Info
To download:

If you experience problems downloading a file, check if you have the proper application to view it first. Information about this may be contained in the File-Format links below. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

File URL: http://www.monash.edu.au/policy/ftp/workpapr/c15.pdf
File Format: application/pdf
File Function:
Download Restriction: no

Publisher Info
Paper provided by Monash University, Centre of Policy Studies/IMPACT Centre in its series Centre of Policy Studies/IMPACT Centre Working Papers with number c15.

Download reference. The following formats are available: HTML (with abstract), plain text (with abstract), BibTeX, RIS (EndNote, RefMan, ProCite), ReDIF
Length:
Date of creation: Apr 2006
Date of revision:
Handle: RePEc:cop:wpaper:c15

Contact details of provider:
Postal: 11th Floor, Menzies Building, Wellington Road, Clayton, Victoria, 3168
Phone: 03 9905 2398
Fax: 03 9905 2426
Web page: http://www.monash.edu.au/policy/index.htm
More information through EDIRC

For technical questions regarding this item, or to correct its listing, contact: (Mark Horridge).

Related research
Keywords: GEMPACK software; Multi-Processor;

This paper has been announced in the following NEP Reports:

Statistics
Access and download statistics

Did you know? Cannot find something on IDEAS? Encourage the publisher to index it! Instructions.

This page was last updated on 2009-11-13.


This information is provided to you by IDEAS at the Department of Economics, College of Liberal Arts and Sciences, University of Connecticut using RePEc data on a server sponsored by the Society for Economic Dynamics.