[mpas-developers] Makefile changes in trunk

Mark Petersen mpetersen at lanl.gov
Thu Jun 3 15:59:18 MDT 2010


Yes, I tried that and it worked great.  Thank you for creating an option 
that works for all the cores.

Mark



On Thu, 3 Jun 2010, Michael Duda wrote:

> Hi, All.
>
> I'd like to propose replacing the line
>
> #EXPAND_LEVELS = -DEXPAND_LEVELS=26
>
> in the top-level Makefile with the following
>
> ifeq ($(CORE),hyd_atmos)
> EXPAND_LEVELS = -DEXPAND_LEVELS=26
> endif
>
> This change should eliminate the need to either comment or
> uncomment the EXPAND_LEVELS line, depending on whether one is
> building the sw, ocean, or hyd_atmos cores. I've tested this
> change under Linux, Mac OS, and AIX, and it appears that the
> versions of make that I used on all systems accept the 'ifeq'
> statement.
>
> If anyone else would volunteer to give this change a try (with any
> core on any system), that would be great. I've attached an updated
> Makefile if that would help, too.
>
> Cheers,
> Michael
>


More information about the mpas-developers mailing list