Summary
- 'make' is sufficient ('make run_all' or 'make ows_papa' did not work).
Details
make run_all
make: *** No rule to make target `run_all'. Stop.
make ows_papa
make: *** No rule to make target `ows_papa'. Stop.
make
~/editscenario/editscenario.py --skipvalidation -e nml --schemadir=/HOME/hakase/GOTM/gotm-git/gui.py/schemas/scenario/ ows_papa.xml . --targetversion=gotm-4.1.0
Operating on values file with version gotm-4.1.0.
Exporting values to namelist file(s) /HOME/hakase/GOTM/gotm-git/gotm-cases/ows_papa...
running gotm
gotm 2> log.ows_papa
make: *** [run] Error 127
head log.ows_papa
/bin/sh: 1: gotm: not found
ls
airsea.nml gotmturb.nml obs.nml swr.dat
bio.nml heatflux.dat ows_papa.xml swr_file.dat
fabm.nml heatflux.dat.kb README timestamp
filelist heatflux_file.dat seagrass.nml tprof.dat
gotm log.ows_papa sprof.dat t_prof_file.dat
gotm_fabm.nml Makefile s_prof_file.dat
gotmmean.nml momentumflux.dat sst.dat
gotmrun.nml momentumflux_file.dat sst_file.dat
In addition to the namelist files generated by 'make' command, you need to have two namelist files in red above.
In 'fabm.nml', you provide the parameters for your ecosystem model (for this preliminary run, I copied the Fasham (1990) model from '~/FABM/fabm-git/testcases/fabm-gotm-fasham.nml' and renamed it to 'fabm.nml'. If you want to use more than one model at one run, you can combine the multiple namelist files into one (and name it 'fabm.nml'). In such case, make sure that all the models you want to use for the run are defined at the beginning of the file:
&fabm_nml
models = 'gotm_fasham','gotm_npzd','gotm_npzd'
/
In the above example, three models will be run with one simulation of GOTM (physical model). The NPZD model in red is added twice since I wanted to run the same model with two different sets of parameters (extremely useful for sensitivity experiments). Refer to '0d' test case for further information.
In 'gotm_fabm.nml', you make several model choices (e.g. ODE scheme, advection scheme, etc.). You obtain this file from '~/FABM/fabm-git/testcases/GOTM/gotm_fabm.nml' and paste in your GOTM working directory (in this case, '~/GOTM/gotm-git/gotm-cases/ows_papa'). Make sure that 'fabm_calc' is set to '.true.' to activate the FABM.
GOTM is now coupled to FABM. Great!
0 件のコメント:
コメントを投稿