Skip to content

Bug in ali-arms with new ifx compiler #1512

@cacraigucar

Description

@cacraigucar

What happened?

From @fischer-ncar via email:

This test does pass using intel.

FAIL SMS_Ld2.ne30pg3_t232.B1850C_LTso.derecho_gnu.allactive-defaultio RUN time=278

/glade/u/home/fischer/code/cesm3_0_alpha08m/components/cam/src/physics/ali_arms/ali.c:161:49: error: passing argument 3 of 'compute_static_coll_coeff' from incompatible pointer type [-Wincompatible-pointer-types]
161 | cvt_band=compute_static_coll_coeff(mol,v_level,&pcvt_band,&atmos,Qrot,deb,pars);
| ^~~~~~~~~~
| |
| PBAND *
In file included from /glade/u/home/fischer/code/cesm3_0_alpha08m/components/cam/src/physics/ali_arms/ali.c:7:
/glade/u/home/fischer/code/cesm3_0_alpha08m/components/cam/src/physics/ali_arms/include/subroutines.h:142:42: note: expected 'PBAND_CVT *' but argument is of type 'PBAND *'
142 | PBAND_CVT *pcvt_band,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/glade/u/home/fischer/code/cesm3_0_alpha08m/components/cam/src/physics/ali_arms/ali.c:191:35: error: passing argument 2 of 'compute_populations' from incompatible pointer type [-Wincompatible-pointer-types]
191 | compute_populations(band_odf,&pcvt_band,
| ^~~~~~~~~~
| |
| PBAND *
/glade/u/home/fischer/code/cesm3_0_alpha08m/components/cam/src/physics/ali_arms/include/subroutines.h:173:42: note: expected 'PBAND_CVT *' but argument is of type 'PBAND *'
173 | PBAND_CVT *pcvt_band,

What are the steps to reproduce the bug?

Run regression test

What CAM tag were you using?

cam6_4_157

What machine were you running CAM on?

CISL machine (e.g. cheyenne)

What compiler were you using?

Intel

Path to a case directory, if applicable

No response

Will you be addressing this bug yourself?

Any CAM SE can do this

Extra info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctly

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions