Skip to content

Make FMS Tests accessible via CMake #827

@mathomp4

Description

@mathomp4

Is your feature request related to a problem? Please describe.

As you might know, I've been looking at building GEOS with recent FMS (see #796 and #806) and I've had some success with the CMake build. Huzzah! But recently, we remembered #54 and FMS' use of Cray Pointers which is one of our stumbling blocks in using NAG with GEOS (one of many, but one).

So, I cloned up FMS, added an option in CMake to add -DPORTABLE_KINDS, pointed to a NAG netCDF, and eventually got to:

Error: /discover/nobackup/mathomp4/BuildFMS/FMS/mpp/include/mpp_comm_mpi.inc, line 364: Syntax error
       detected at POINTER@(

as expected.

Thus, we could have something to work on fixing up the Cray pointers, but then I realized, we might get it to build at some point, but at the moment our only real FMS tester is GEOS. And since it has many, many places needing fixing for NAG as well (hello real*8), it's not ideal.

I know that FMS does have the test_fms/ suite but my reading of it and CMakeLists.txt looks like it is Autotools-only at the moment, right?

Describe the solution you'd like

The ability to run the test_fms/ suite when building with CMake.

Describe alternatives you've considered

Well, we could do our work with Autotools. My only concern is might need to depend on the knowledge and good graces of @rem1776. I'm fair at CMake, but my Autotools hacking is lacking for sure. I always shiver a bit when I realize I have to edit a configure.ac or Makefile.in.

Metadata

Metadata

Assignees

Labels

enhancementIssue/PR for a modification that increases performance, improves syntax, or adds functionality.help wanted

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions