Skip to content

Segmentation fault in initialization with intel 18.0.3 #930

@billsacks

Description

@billsacks

Brief summary of bug

On hobart, which uses intel 18.0.3, the test SMS.f10_f10_musgs.I2000Clm50BgcCrop.hobart_intel.clm-crop fails with a segmentation fault in initialization, pointing to this line (the subroutine declaration line):

subroutine initialize1(gindex_ocn)

@swensosc originally ran into this bug and found that he could avoid the problem by removing the optional gindex_ocn argument. But that argument is needed for the nuopc and (upcoming) lilac caps. I have found that I can also solve the problem by changing the intent of the argument from out to inout. I'm thinking this is a compiler bug, but I'll make that change on a branch to work around the issue.

General bug information

CTSM version you are using: ctsm1.0.dev084

Does this bug cause significantly incorrect results in the model's science? No

Configurations affected: All with particular versions of the intel compiler.

Metadata

Metadata

Assignees

Labels

bugsomething is working incorrectly

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