Compilation | Compile POM-TC

Compile POM-TC

Configure MPIPOM-TC

To configure MPIPOM-TC for compilation from within the pomtc directory, type:

cd ${SCRATCH}/hwrfrun/sorc/pomtc

./configure

For Cheyenne, select configuration option 3 to build with the Intel compiler.

Compile MPIPOM-TC

To compile the MPIPOM-TC and save the build output to a log file, type:

./compile |& tee ocean.log

The compilation should take approximately 2 minutes to complete.

If the compilation is successful, 19 executables are created in the ocean_exec/ directory:

archv2data3z.xc

gfdl_date2day.exe

gfdl_day2date.exe

gfdl_getsst.exe

gfdl_sharp_mcs_rf_l2m_rmy5.exe

hwrf_ocean_bs_fcst.exe

hwrf_ocean_bs_init.exe

hwrf_ocean_fcst.exe

hwrf_ocean_init.exe

hycom2raw.xc

pomprep_bs_fbtr.xc

pomprep_fbtr.xc

pomprep_gdm3.xc

pomprep_hycu.xc

pomprep_idel.xc

pomprep_ncda.xc

pomprep_rtof.xc

readsstuvhflux.exe

transatl06prep.xc

Note: If the compilation does not succeed in producing the executables, it will be necessary to conduct a clean on the pomtc directory. A complete clean is strongly recommended if the compilation failed or if the configuration file is changed.

To conduct a partial clean that retains the configuration file, and just removes the object files, type:

./clean

To conduct a complete clean which removes all built files in all directories, as well as the configure.pom, type:

./clean -a

To get help about compilation, type:

./compile -h