Skip to content

compiling error with ifort #12

Closed
Closed

Description

@zpmaths

The error message is as bellow:

mpif90 -DLANL_FORMULATION -D_MPI -DUNDERSCORE -Dmpas -real-size 64 -O3 -convert big_endian -FR -c mpas_atmphys_lsm_noahinit.F -I/home/zp/local/netcdf/include -I/home/zp/local/pio/include -I/home/zp/local/parallel-netcdf/include -I/home/zp/local/netcdf/include -I/home/zp/local/pio/include -I/home/zp/local/parallel-netcdf/include -I../../framework -I../../operators -I./physics_wrf -I../../external/esmf_time_f90
mpas_atmphys_lsm_noahinit.F(23): error #6581: Unresolved rename. [GRAV]
use mpas_atmphys_constants, grav => g
-----------------------------^
mpas_atmphys_lsm_noahinit.F(146): error #6498: The use-name for this local-name is not defined. [GRAV]
fk = (((hlice/(grav_(-psisat))) * &
-------------------------------^
compilation aborted for mpas_atmphys_lsm_noahinit.F (code 1)
make[4]: *_* [mpas_atmphys_lsm_noahinit.o] Error 1
make[4]: Leaving directory /home/zp/MPAS-Release-2.0/src/core_atmosphere/physics' make[3]: *** [physcore] Error 2 make[3]: Leaving directory/home/zp/MPAS-Release-2.0/src/core_atmosphere'
make[2]: *** [dycore] Error 2
make[2]: Leaving directory /home/zp/MPAS-Release-2.0/src' make[1]: *** [mpas_main] Error 2 make[1]: Leaving directory/home/zp/MPAS-Release-2.0'
make: *** [ifort] Error 2

my ifort compiler version is 14.0.0.
BTW,I can build MPAS-A sucessfully with gfortran(4.4.7),but when i turned to ifort,the error above happened.Does anyone know how to fix it?

Activity

  1. reopened this on Jun 4, 2014
  2. mgduda commented on Sep 6, 2018

    @mgduda
    Contributor

    As far as I'm aware, this issue has been resolved in recent releases of MPAS-Atmosphere, so I'll close this issue.

  3. added a commit that references this issue on Aug 5, 2020
  4. added a commit that references this issue on Sep 13, 2024
  5. added a commit that references this issue on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions