Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home
Format of the Distributed Programs
Each CPC program is distributed as a single file. The file name corresponds to the program's four character catalogue identifier. The distribution format is indicated in the Progam Summary and is normally:
  • a gzipped file (catalogue_identifier.gz);
  • a tar gzipped file (catalogue_identifier.tar.gz);
  • a jar gzipped file (catalogue_identifier.jar.gz); or
  • a zipped file (catalogue_identifier.zip).

Depending on its size a program distributed by e-mail will be sent as one message or as a series of numbered messages each containing a single attachment. The part number is indicated in the subject field (e.g.  catalogue_identifier Part 4 of 6) and in the attachment's file name ( e.g. catalogue_identifier4.gz).

A program can be restored to its original form as follows.

Restoring Programs Downloaded or E-mailed Complete
  • UNIX
    • gzipped files
      gunzip catalogue_identifier.gz
    • tar gzipped files
      gunzip -c catalogue_identifier.tar.gz | tar xvf -
    • jar gzipped files
      gunzip -c catalogue_identifier.jar.gz | jar xvf -
    • zipped files
      unzip catalogue_identifier.zip
  • DOS, OS/2, Windows
    Use WinZip  or a similar tool.
Restoring Programs E-mailed in Several Parts
  • UNIX
    • Save each numbered attachment;
    • concatenate the parts in order (where ext is gz, tar.gz, jar.gz or zip);
      cat catalogue_identifier*.ext > catalogue_identifier.ext
    • then restore as follows.
      • gzipped files
        gunzip catalogue_identifier.gz
      • tar gzipped files
        gunzip -c catalogue_identifier.tar.gz | tar xvf -
      • jar gzipped files
        gunzip -c catalogue_identifier.jar.gz | jar xvf -
      • zipped files
        unzip catalogue_identifier.zip
  • DOS, OS/2, Windows
    • Save each numbered attachment;
      this must be done in the correct numerical order;
    • concatenate the parts in order (where ext is gz, tar.gz, jar.gz or zip);
      copy /b catalogue_identifier*.ext catalogue_identifier.ext
    • then restore using WinZip or a similar tool.