connect to chosen machine via aos.meteo.mcgill.ca
cd /where/you/want/your/SIM
git clone git@github.com:McGill-sea-ice/SIM.git
cd SIM
if needed download forcing:
scp <username>@dumbo:/storage2/common/forcing /path/to/forcing
ln -s /path/to/forcing forcing
git branch -a (list branches)
git checkout <choose your branch>
./setup_script
export HDF5_DISABLE_VERSION_CHECK=2
./zoupa < input_file > outputfile &
output files for fields are in the output directory
Subsequent compiles:
scons-3
Create a TESTS directory:
cd /where/you/want/your/TESTSmkdir TESTScd TESTS
Get the master branch and reference solution in REF for reference
git clone git@github.com:McGill-sea-ice/SIM.git REFcd REFln -s /path/to/forcing forcing./testing_script
Get your own branch in NEW and run the model
cd ..git clone git@github.com:McGill-sea-ice/SIM.git NEWcd NEWln -s /path/to/forcing forcinggit checkout <choose your branch>./testing_script
Compare the results
./test_results- copy result of tests (should get 5 PASS).
- Click on pull request on github.
- Enter text to describe code modifications and paste result of tests.
- Assign someone for reviewing the code.
- Assign lbtremblay (and JFLemieux73 for a little bit) for approving the pull request.