1: Prepare the config file 'input' (configuration of namelists).
...
when using ascii option: forcing*.asc (see CMEM input/output ASCII)
when using gribapi option: *.grib (see CMEM input/output GRIB)
when using netcdf option: *.nc (see CMEM input/output NetCDF)
(Test data is available from here)
3: When using the gribapi option, CMEM needs to have a template file to write the outputs.
To this end you need to copy SWVL1.grib into SWVL1.tmpl (see README_CMEM_GRIB.TEX)
...
$ ./cmem # output files: ./out*