ampac — Execute AMPAC input files.
The ampac shell command is the primary means of executing AMPAC input files. The ampac utility runs in the background (but can also run in the foreground using the -fg option) and can run a batch of AMPAC jobs sequentially. A simple summary of the each AMPAC job is written to screen just prior to executing to that job. To execute large number of files, mampac may be preferable.
By default, ampac avoids overwriting old AMPAC result files by appending a version number to each of the result files. For example, ampac temp.dat will produce temp.out, temp.arc, temp.vis, and perhaps other files. If temp.out already exists, then ampac temp.dat will instead produce temp.out~1, temp.arc~1, temp.vis~1, etc. The version number is increased incrementally to avoid overwriting any previous versions. This feature may be turned off using the -nv flag. Without version control, result files may be silently overwritten.
ampac [-fg] [-nv] [filename(s)] ampac help
Output from AMPAC is written to the screen. For example, output from ampac test01.dat test02.dat will be similar to:
Submitting AMPAC 8.16 Data file: test01.dat Running in Temporary Directory: amp24412 AMPAC: /home/semo/Ampac/program/ampac.exe Thu Feb 19 11:19:11 CST 2004 Submitting AMPAC 8.16 Data file: test02.dat Running in Temporary Directory: amp24412 AMPAC: /home/semo/Ampac/program/ampac.exe Thu Feb 19 11:19:11 CST 2004 0.7u 0.6s 0:01 131% THAT'S ALL FOLKS...