Skip to content

Issue in configure file regarding the order of -lnetcdff and -lnetcdf #2

Description

@zemega

On line 349, the $NETCDFF needs to be placed before -lnetcdf
$FC ${FFLAGS} fort_netcdf.f -o fort_netcdf -L${NETCDF}/lib -lnetcdf $NETCDFF > /dev/null 2>&1
It should be
$FC ${FFLAGS} fort_netcdf.f -o fort_netcdf -L${NETCDF}/lib $NETCDFF -lnetcdf > /dev/null 2>&1
The order of -lnetcdff -lnetcdf is important, at least when compiling using gfortran.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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