Download GEMPACK User Manual - LEDS Global Partnership

Transcript
30.1 How GEMPACK programs solve linear equations ............................................................................................ 396
30.2 Gragg's method and the midpoint method.......................................................................................................... 399
30.3 Reusing pivots .................................................................................................................................................... 401
30.4 Ignoring/keeping zero coefficients ..................................................................................................................... 401
30.5 LU decomposition .............................................................................................................................................. 403
30.6 Equation solving problems ................................................................................................................................. 405
30.7 Work files ........................................................................................................................................................... 406
31 Solving a model in parallel on a machine with two or more processors .......................................... 408
31.1 You need plenty of memory ............................................................................................................................... 408
31.2 Telling the program to run in parallel................................................................................................................. 409
31.3 Restrictions ......................................................................................................................................................... 409
31.4 Servants work in their own directories............................................................................................................... 409
31.5 Master log file is complete ................................................................................................................................. 410
31.6 When the servants start and finish...................................................................................................................... 410
31.7 If a fatal error occurs .......................................................................................................................................... 411
31.8 Fine print ............................................................................................................................................................ 411
31.9 Some elapsed times ............................................................................................................................................ 411
31.10 Using master/servant under RunDynam........................................................................................................... 413
32 Memory management........................................................................................................................... 415
32.1 Automatic memory allocation ............................................................................................................................ 415
32.2 Preliminary pass ................................................................................................................................................. 415
32.3 MMNZ: Allocating memory for the LU decomposition .................................................................................... 415
32.4 Reporting memory used by TABLO-generated programs and GEMSIM.......................................................... 415
33 Options for GEMSIM and TABLO-generated programs................................................................. 417
33.1 Options affecting simulations............................................................................................................................. 417
33.2 Options affecting extrapolation accuracy summaries and files .......................................................................... 418
33.3 Saving updated values from all FORMULA(INITIAL)s ................................................................................... 418
33.4 Options affecting the actions carried out............................................................................................................ 418
33.5 Options affecting how writes and displays are carried out................................................................................. 418
33.6 Options affecting CPU and activity reporting .................................................................................................... 419
33.7 Special options for SAGEM............................................................................................................................... 419
34 Run-time errors..................................................................................................................................... 421
34.1 Simulation fails because of a singular LHS matrix ............................................................................................ 421
34.2 Structurally singular matrices............................................................................................................................. 423
34.3 Reporting arithmetic errors................................................................................................................................. 425
34.4 Suppressing arithmetic errors in GEMSIM and TABLO-generated programs .................................................. 431
35 Summary of command file statements................................................................................................ 432
35.1 Command files for GEMSIM and TABLO-generated programs ....................................................................... 432
35.2 Command file statements ................................................................................................................................... 432
35.3 Complete command file example for GEMSIM and TABLO-generated programs .......................................... 443
35.4 Command files for SAGEM............................................................................................................................... 443
35.5 Command file statements for SAGEM............................................................................................................... 444
35.6 Complete command file example for SAGEM .................................................................................................. 445
36 GEMPACK Windows programs ......................................................................................................... 447
36.1 WinGEM -- the Windows interface to GEMPACK ........................................................................................... 447
36.2 ViewHAR for looking at or modifying data on a header array file.................................................................... 447
36.3 ViewSOL for looking at simulation results on a solution file ............................................................................ 448
36.4 TABmate for working on TABLO input files or command files ....................................................................... 448
36.5 RunGEM for model users................................................................................................................................... 449
36.6 AnalyseGE -- assisting in the analysis of simulation results.............................................................................. 451
36.7 RunDynam for recursive dynamic models ......................................................................................................... 456
37 Command-line programs for working with header array files ........................................................ 458
37.1 SEEHAR: prepare a print file or CSV spreadsheet file...................................................................................... 458
37.2 CMPHAR: comparing data on header array files............................................................................................... 461
37.3 CMBHAR: combining similar header array files............................................................................................... 463
ix