Last modified by cap 6/25/2003
The entire 1/10th degree code copied from Ibrahim on atlas. Note that the code was changed to add reynolds, but I changed it back.
Files changed back:
/home/work1/cpapadop/CALIF/source/Version_1/Calif_10/verification/myexp/code/EXF_CPPOPTIONS.h
/home/work1/cpapadop/CALIF/source/Version_1/Calif_10/verification/myexp/code/ECCO_CPPOPTIONS.h
and
/home/work1/cpapadop/CALIF/source/Version_1/Calif_10/pkg/exf/exf_set_climsss.F
/home/work1/cpapadop/CALIF/source/Version_1/Calif_10/pkg/exf/exf_set_climsst.F
Source code is located at:/home/work1/cpapadop/CALIF/source
To compile from source, need to go to:
/home/work1/cpapadop/CALIF/source/Version_1/Calif_10/bin
this directory should be made empty if want to start entirely from scratch:
For compiling the first time or each time you change a file: make sure you are in tcsh for compiling.
ln -s ../verification/myexp/code/.genmakerc .
ln -s ../verification/myexp/code/*.[Fh] .
../tools/genmake -platform=atlas -makefile
make depend
make
For other compiles:
make
This will compile the code and make put the mitgcmv executable in the exe directory. The exe directory holds the data files that need to be modified to run.
To run:
You will need to copy your exe directory into where you want to run.
Current path:
/home/work1/cpapadop/CALIF/Calif_10
I changed the path in:
data, data.exf, data.exf_clim data.obcs for the correct forcing. Note that path names too long for the forcing files stops the data from being read and the code will not run. This code was run as is on 6/23/2003 - 6/25/2003 For all of the runs I used the bash shell.
Forcing paths are:
/home/work1/cpapadop/Forcing/Calif
I initially ran in the Initialization directory with a 0 start time, see
/home/work1/cpapadop/CALIF/Calif_10/Initialization
After this run has completed then need to copy the pickupfiles to the correct names to start the main run. Use the script rename.x for this.
Create another directory for the main run, I used the one called Run. Use the script runcode.sh to move through the years. This will use the data_calif and data.exf_calif files instead of data and data.exf. These are located in the exe directory for this run, but the runcode.sh can be modified to use whatever directory that you want.
Both Initialization directory and Run are just copies of the exe directory with the above modifications made.
The scripts directory holds the matlab files needed to make global files and some animations. The Ini.scripts and Run.scripts directories are what the Initialization and Run directories look like without all of the output files created by the runs.
To check a run while running look at STDOUT.0000 or the other STD files to see how things are going. These are also very useful for debugging when the code is not running well.