Skip to content

SFINCS Netcdf (compiling w/ linux) #332

@ParkerKai

Description

@ParkerKai

SFINCS currently comes bundled with netcdf-fortran-4.6.1 and the makefiles are hard coded to locally build the netcdf library. This causes issues when compiling on HPC environments, as we need to link to the maintained netcdf module and keep everything as consistent as possible across the build environment in terms of compilers, etc.. When trying to use the bundled netcdf, the compile fails for netcdf on our HPC. I have been manually editing the makefiles (thanks to @gutierrad for pointing me in the right direction), but this is a pain and most users aren't going to do this. I can push this approach to the codebase, but then users will need to properly flag/link the netcdf library, rather than it coming bundled and locally installing itself. Potentially best approach would be some sort of switch? Or maybe someone else better knows Make and could do an "if" approach (if Netcdf library isn't found/flagged, install bundled netcdf).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions