[MITgcm-devel] NML_TERMINATOR
Constantinos Evangelinos
ce107 at ocean.mit.edu
Thu Nov 17 14:30:02 EST 2005
On Thursday 17 November 2005 14:05, Martin Losch wrote:
> Samar,
>
> the NML_TERMINATOR option works only, if all namelists are terminated
> by ' &' exactly. Only if there is something like ' &end', then the
> subroutine eesupp/src/nml_set_terminator.F fails and I get the error
> messages below. (I haven't tried it on a mac, I have to admit.)
>
> Ed,
> thanks for taking care of this.
I use the following commands from within the MITgcm directory to fix all data
files:
perl -i -pe 's/ \&$/ \//g' verification/*/input*/data*
perl -i -pe 's/ \&$/ \//g' verification/*/input*/eedata
perl -i -pe 's/ \&end$/ \//g' verification/*/input*/data*
perl -i -pe 's/ \&end$/ \//g' verification/*/input*/eedata
perl -i -pe 's/^ \& / \//g' verification/*/input*/data*
perl -i -pe 's/^ \& / \//g' verification/*/input*/eedata
Constantinos
--
Dr. Constantinos Evangelinos
Department of Earth, Atmospheric and Planetary Sciences
Massachusetts Institute of Technology
More information about the MITgcm-devel
mailing list