[Mapl-support] Introduction to MAPL--comments

Tom Wainwright Thomas.Wainwright at noaa.gov
Thu Jun 28 16:49:58 EDT 2007


Dear Max and co-authors,

I didn't make it to this year's ESMF community forum, but one of my staff (Jim
Colbert) did, and was impressed with the potential of MAPL.  I decided to see if
I could use it, following the tutorial instructions on the wiki.

First, thanks for the documentation on the wiki!  It provided enough to get me
started.  First, I downloaded the fvhs tree, and tried that.  I made progress,
but couldn't finish the compile on my system (Linux-x64/g95/openMPI) due to some
pointer-related errors deep in the numerical code (g95 doesn't like geopk.F90,
lines 252,253).

The latest (June 12, 2007) version of "An Introduction to MAPL" appeared about
that time, so I decided to try the simpler Example 1 in that document, by
pulling all the source code in the fvhs/src/Application directory and replacing
it with the Example 1 code.  After much tweaking of the top-level GNUmakefile
and .esma_arch.mk, I got it to compile and run.

However, there are a few errors in the "Program Example1" code ("An Introduction
to MAPL" pdf, p. 7-8) that you might want to fix in the next edition:

    use ESMF: should read:
	use ESMF_Mod
    use MAPL ...: has several syntax errors, should read:
	use MAPL_Mod, only : SetServices=>MAPL_GenericSetServices
    clock = ESMF_ClockCreate(...: needs '&' at end of first line,
	and "rc=STATUS" should read "rc=RC"

Thanks again for MAPL and the documentation!  On to Example 2 next week.  Once
we get it all figured out, I think it will greatly simplify getting our
biological code into ESMF.

-- 
Tom Wainwright
NOAA Northwest Fisheries Science Center
Newport, Oregon
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The contents of this message are mine personally and do not necessarily
reflect any position of the Government or the National Oceanic and
Atmospheric Administration.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the Mapl-support mailing list