﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
874	IMPORTANT: Usage of __FILE__ macro	arango		"This update modifies the usage of C-preprocessing macro '''!__FILE!__''', which expands to the name of the current input file being processed.  It is an extensive and simple change to ROMS that facilitates the compiling with '''Cmake''' in the future.

Now, we define the local variable '''!MyFile''' as:
 {{{
      character (len=*), parameter :: MyFile =                          &
     &  __FILE__
}}}

So the current filename can expand beyond the 72 columns and compiled free-form compiler flags to avoid syntax errors.  It cleans the code substantially.

Usually, '''!MyFile''' is used in statements like:
 {{{
      IF (FoundError(exit_flag, NoError, __LINE__, MyFile)) RETURN

      CALL wclock_on (ng, iNLM, 35, __LINE__, MyFile)

      CALL wclock_off (ng, iNLM, 35, __LINE__, MyFile)
}}}

These changes are part of several sequential updates to facilitate ROMS interface with Joint Effort for Data Assimilation Integration
[https://jointcenterforsatellitedataassimilation-jedi-docs.readthedocs-hosted.com/en/latest/overview/what.html (JEDI)] project."	upgrade	closed	major	Release ROMS/TOMS 3.9	Nonlinear	3.9	Done		
