Skip to content

cice5: use ifort -cpp instead of cpp for preprocessing #51

@anton-seaice

Description

@anton-seaice

In the cice4 and cice5 builds, the CPP directive __INTEL_COMPILER is not defined. Having this defined in the code would allow for clearer handling of errors (e.g. #48 (comment))

@blimlim identified this is because the preprocessor directions are processed using CPP instead of an intel compiler.

@manodeep suggests using ifort -cpp instead for preprocessor handling

I have tested this and when using ifort -cpp then __INTEL_COMPILER is defined

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions