Next:
Building POP Up: Installing and Building POP Previous: Obtaining the POP code   Contents


Creating a run directory

The POP distribution you obtained is probably in the form of a compressed tar file. You must first uncompress the tar file using

uncompress popXXXX.tar

where XXXX refers to the version number which appears in the file name. Then the tar archive must be unpacked using

tar -xvf popXXXX.tar.

This process will result in a directory named pop with several subdirectories containing source code, templates for various input files, utilities and test codes.

In order to build a version of POP to run, a directory with the appropriate makefiles and input files must be created. In the main POP directory, a script has been provided to create all the necessary structure. Typing

setup_run_dir dirname [model]

will create a directory called dirname with all the necessary makefiles and input files. A sub-directory called compile will also be created to provide a work area for the compilation process. The optional argument model will copy files that are specific to a standard resolution or model setup. One example of such a setup is the test case which should be used to test the code for the first time.

CCSM4 Notes

CCSM4 users should follow the create_newcase instructions in the CCSM4 User's Guide.



Next:
Building POP Up: Installing and Building POP Previous: Obtaining the POP code   Contents



2010-03-26