...
When I use the 'gribapi option', I have no probleme problem with compilation, but running cmem fails with this message (when it starts to write the outputs):
GRIB_API ERROR : grib_new_from_template: Internal error
In your xterm you must do:setenv GRIB_TEMPLATES_PATH /YourPathWhereTemplateFileIs/
or for ksh or bash: export GRIB_TEMPLATES_PATH=$pwd
More information about GribAPI is available at:GRIB API
...