Skip to content

The latest MPAS-Model v8.4.1-1.3 does not build (Gaea, ursa, etc) #276

Description

@guoqing-noaa

To repeat the error:

git clone --recursive https://github.com/ufs-community/MPAS-Model.git
cd MPAS-Model
module use modulefiles
module load mpas/ursa
make -j8 intel-mpi-ursa CORE=atmosphere

The error message:

mpiifort -D_MPI -DCORE_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=atmosphere -DMPAS_EXE_NAME=atmosphere_model -DSINGLE_PRECISION -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=MPAS-v8.3.0-1.8-586-g85a3bb7c -DMPAS_BUILD_TARGET=intel-mpi-ursa -DMPA
S_SMIOL_SUPPORT -DCESMCOUPLED -DMPAS_USE_MPI_F08 -DMPAS -real-size 64 -O3 -convert big_endian -free -align array64byte  -c get_stochy_pattern.F90 -I/contrib/spack-stack/spack-stack-1.9.3/envs/ue-oneapi-2024.2.1/install/oneapi/2024
.2.1/parallel-netcdf-1.12.3-oeqtpxg/include -I/tmp/gge/MPAS-Model/src/external/SMIOL -I/contrib/spack-stack/spack-stack-1.9.3/envs/ue-oneapi-2024.2.1/install/oneapi/2024.2.1/parallel-netcdf-1.12.3-oeqtpxg/include -I/tmp/gge/MPAS-M
odel/src/core_atmosphere/physics/physics_noahmp/drivers/mpas -I/tmp/gge/MPAS-Model/src/core_atmosphere/physics/physics_noahmp/utility -I/tmp/gge/MPAS-Model/src/core_atmosphere/physics/physics_noahmp/src -I../../framework -I../../e
xternal/esmf_time_f90
stochy_patterngenerator.F90(10): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [SPECTRAL_TRANSFORMS]
 use spectral_transforms, only: len_trie_ls, len_trio_ls, ls_dim, ls_max_node
-----^
stochy_patterngenerator.F90(14): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MPI_WRAPPER]
 use mpi_wrapper,only: is_rootpe, mp_bcst
-----^
stochy_patterngenerator.F90(10): error #6580: Name in only-list does not exist or is not accessible.   [LEN_TRIE_LS]
 use spectral_transforms, only: len_trie_ls, len_trio_ls, ls_dim, ls_max_node
--------------------------------^
stochy_patterngenerator.F90(10): error #6580: Name in only-list does not exist or is not accessible.   [LEN_TRIO_LS]
 use spectral_transforms, only: len_trie_ls, len_trio_ls, ls_dim, ls_max_node
---------------------------------------------^
stochy_patterngenerator.F90(10): error #6580: Name in only-list does not exist or is not accessible.   [LS_DIM]
 use spectral_transforms, only: len_trie_ls, len_trio_ls, ls_dim, ls_max_node
----------------------------------------------------------^
stochy_patterngenerator.F90(10): error #6580: Name in only-list does not exist or is not accessible.   [LS_MAX_NODE]
 use spectral_transforms, only: len_trie_ls, len_trio_ls, ls_dim, ls_max_node
------------------------------------------------------------------^
stochy_patterngenerator.F90(14): error #6580: Name in only-list does not exist or is not accessible.   [IS_ROOTPE]
 use mpi_wrapper,only: is_rootpe, mp_bcst
-----------------------^
stochy_patterngenerator.F90(14): error #6580: Name in only-list does not exist or is not accessible.   [MP_BCST]
 use mpi_wrapper,only: is_rootpe, mp_bcst
----------------------------------^
stochy_patterngenerator.F90(75): error #6406: Conflicting attributes or multiple declaration of name.   [IS_ROOTPE]
   if (is_rootpe()) then
-------^
stochy_patterngenerator.F90(75): error #6341: A logical data type is required in this context.   [IS_ROOTPE]
   if (is_rootpe()) then
-------^
stochy_patterngenerator.F90(111): error #6404: This name does not have a type, and must have an explicit type.   [LS_MAX_NODE]
      do j = 1, ls_max_node
----------------^
stochy_patterngenerator.F90(159): error #6406: Conflicting attributes or multiple declaration of name.   [IS_ROOTPE]
      if (is_rootpe()) then
----------^
stochy_patterngenerator.F90(159): error #6341: A logical data type is required in this context.   [IS_ROOTPE]
      if (is_rootpe()) then
----------^
stochy_patterngenerator.F90(184): error #6406: Conflicting attributes or multiple declaration of name.   [MP_BCST]
      call mp_bcst(count4)
-----------^
stochy_patterngenerator.F90(189): error #6406: Conflicting attributes or multiple declaration of name.   [IS_ROOTPE]
         if (is_rootpe()) then
-------------^
stochy_patterngenerator.F90(189): error #6341: A logical data type is required in this context.   [IS_ROOTPE]
         if (is_rootpe()) then
-------------^
stochy_patterngenerator.F90(59): error #6279: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use association.   [LS_DIM]
   integer, intent(in) :: ls_nodes(ls_dim,3),nlevs
-----------------------------------^
stochy_patterngenerator.F90(59): error #6404: This name does not have a type, and must have an explicit type.   [LS_DIM]
   integer, intent(in) :: ls_nodes(ls_dim,3),nlevs
-----------------------------------^
stochy_patterngenerator.F90(97): error #7915: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use association - may be used in multiple contained procedure
s.   [LEN_TRIE_LS]
      allocate(rpattern(np)%idx_e(len_trie_ls))
----------------------------------^
stochy_patterngenerator.F90(97): error #6404: This name does not have a type, and must have an explicit type.   [LEN_TRIE_LS]
      allocate(rpattern(np)%idx_e(len_trie_ls))
----------------------------------^
stochy_patterngenerator.F90(98): error #7915: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use association - may be used in multiple contained[165/4894]
s.   [LEN_TRIO_LS]
      allocate(rpattern(np)%idx_o(len_trio_ls))
----------------------------------^
stochy_patterngenerator.F90(98): error #6404: This name does not have a type, and must have an explicit type.   [LEN_TRIO_LS]
      allocate(rpattern(np)%idx_o(len_trio_ls))
----------------------------------^
stochy_patterngenerator.F90(413): error #6406: Conflicting attributes or multiple declaration of name.   [IS_ROOTPE]
     if (is_rootpe()) print*, 'Gaussian variance spectrum'
---------^
stochy_patterngenerator.F90(413): error #6341: A logical data type is required in this context.   [IS_ROOTPE]
     if (is_rootpe()) print*, 'Gaussian variance spectrum'
---------^
stochy_patterngenerator.F90(419): error #6406: Conflicting attributes or multiple declaration of name.   [IS_ROOTPE]
        if (is_rootpe()) print*, 'Proper lengthscale condition'
------------^
stochy_patterngenerator.F90(419): error #6341: A logical data type is required in this context.   [IS_ROOTPE]
        if (is_rootpe()) print*, 'Proper lengthscale condition'
------------^
stochy_patterngenerator.F90(425): error #6406: Conflicting attributes or multiple declaration of name.   [IS_ROOTPE]
        if (is_rootpe()) print*, 'Not proper lengthscale condition'
------------^
stochy_patterngenerator.F90(425): error #6341: A logical data type is required in this context.   [IS_ROOTPE]
        if (is_rootpe()) print*, 'Not proper lengthscale condition'
------------^
stochy_patterngenerator.F90(430): error #6406: Conflicting attributes or multiple declaration of name.   [IS_ROOTPE]
        if (is_rootpe()) print*,'Finished'
------------^
stochy_patterngenerator.F90(430): error #6341: A logical data type is required in this context.   [IS_ROOTPE]
        if (is_rootpe()) print*,'Finished'
------------^
/tmp/ifortcvBBFA.i90(538): catastrophic error: Too many errors, exiting
compilation aborted for stochy_patterngenerator.F90 (code 1)
make[4]: *** [Makefile:53: stochy_patterngenerator.o] Error 1
make[4]: *** Waiting for unfinished jobs....
ifort: remark #10448: Intel(R) Fortran Compiler Classic (ifort) is now deprecated and will be discontinued late 2024. Intel recommends that customers transition now to using the LLVM-based Intel(R) Fortran Compiler (ifx) for conti
nued Windows* and Linux* support, new language support, new language features, and optimizations. Use '-diag-disable=10448' to disable this message.
ifort: remark #10448: Intel(R) Fortran Compiler Classic (ifort) is now deprecated and will be discontinued late 2024. Intel recommends that customers transition now to using the LLVM-based Intel(R) Fortran Compiler (ifx) for conti
nued Windows* and Linux* support, new language support, new language features, and optimizations. Use '-diag-disable=10448' to disable this message.
ifort: remark #10448: Intel(R) Fortran Compiler Classic (ifort) is now deprecated and will be discontinued late 2024. Intel recommends that customers transition now to using the LLVM-based Intel(R) Fortran Compiler (ifx) for conti
nued Windows* and Linux* support, new language support, new language features, and optimizations. Use '-diag-disable=10448' to disable this message.
get_stochy_pattern.F90(9): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [STOCHY_DATA_MOD]
 use stochy_data_mod, only : gg_lats, gg_lons, inttyp, nskeb, nshum, nsppt, &
-----^
get_stochy_pattern.F90(16): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [STOCHY_PATTERNGENERATOR_MOD]
 use stochy_patterngenerator_mod, only: random_pattern, ndimspec,           &
-----^
get_stochy_pattern.F90(39): error #6457: This derived type name has not been declared.   [RANDOM_PATTERN]
 type(random_pattern), intent(inout) :: rpattern(npatterns)
------^
get_stochy_pattern.F90(104): error #6457: This derived type name has not been declared.   [RANDOM_PATTERN]
 type(random_pattern), intent(inout) :: rpattern(npatterns)
------^
get_stochy_pattern.F90(231): error #6457: This derived type name has not been declared.   [RANDOM_PATTERN]
 type(random_pattern), intent(inout)  :: rpattern(npatterns)
------^
get_stochy_pattern.F90(298): error #6457: This derived type name has not been declared.   [RANDOM_PATTERN]
 type(random_pattern), intent(inout)  :: rpattern(npatterns)
------^
get_stochy_pattern.F90(351): error #6457: This derived type name has not been declared.   [RANDOM_PATTERN]
      type(random_pattern),        intent(in)  :: rpattern
-----------^
get_stochy_pattern.F90(390): error #6457: This derived type name has not been declared.   [RANDOM_PATTERN]
      type(random_pattern),        intent(in)  :: rpattern
-----------^
get_stochy_pattern.F90(635): error #6457: This derived type name has not been declared.   [RANDOM_PATTERN]
   type(random_pattern), intent(inout) :: rpattern
--------^
get_stochy_pattern.F90(9): error #6580: Name in only-list does not exist or is not accessible.   [GG_LATS]
 use stochy_data_mod, only : gg_lats, gg_lons, inttyp, nskeb, nshum, nsppt, &
-----------------------------^
get_stochy_pattern.F90(9): error #6580: Name in only-list does not exist or is not accessible.   [GG_LONS]
 use stochy_data_mod, only : gg_lats, gg_lons, inttyp, nskeb, nshum, nsppt, &
--------------------------------------^
get_stochy_pattern.F90(9): error #6580: Name in only-list does not exist or is not accessible.   [INTTYP]
 use stochy_data_mod, only : gg_lats, gg_lons, inttyp, nskeb, nshum, nsppt, &
-----------------------------------------------^
get_stochy_pattern.F90(9): error #6580: Name in only-list does not exist or is not accessible.   [NSKEB]
 use stochy_data_mod, only : gg_lats, gg_lons, inttyp, nskeb, nshum, nsppt, &
-------------------------------------------------------^
get_stochy_pattern.F90(9): error #6580: Name in only-list does not exist or is not accessible.   [NSHUM]
 use stochy_data_mod, only : gg_lats, gg_lons, inttyp, nskeb, nshum, nsppt, &
--------------------------------------------------------------^
get_stochy_pattern.F90(9): error #6580: Name in only-list does not exist or is not accessible.   [NSPPT]
 use stochy_data_mod, only : gg_lats, gg_lons, inttyp, nskeb, nshum, nsppt, &
---------------------------------------------------------------------^
get_stochy_pattern.F90(10): error #6580: Name in only-list does not exist or is not accessible.   [NOCNSPPT]
                             nocnsppt,nocnskeb,nepbl,nlndp,                 &
-----------------------------^
get_stochy_pattern.F90(10): error #6580: Name in only-list does not exist or is not accessible.   [NOCNSKEB]
                             nocnsppt,nocnskeb,nepbl,nlndp,                 &
--------------------------------------^
get_stochy_pattern.F90(10): error #6580: Name in only-list does not exist or is not accessible.   [NEPBL]
                             nocnsppt,nocnskeb,nepbl,nlndp,                 &
-----------------------------------------------^
get_stochy_pattern.F90(10): error #6580: Name in only-list does not exist or is not accessible.   [NLNDP]
                             nocnsppt,nocnskeb,nepbl,nlndp,                 &
-----------------------------------------------------^
get_stochy_pattern.F90(11): error #6580: Name in only-list does not exist or is not accessible.   [RNLAT]
                             rnlat, rpattern_sfc, rpattern_skeb,            &
-----------------------------^
get_stochy_pattern.F90(11): error #6580: Name in only-list does not exist or is not accessible.   [RPATTERN_SFC]
                             rnlat, rpattern_sfc, rpattern_skeb,            &
------------------------------------^
get_stochy_pattern.F90(11): error #6580: Name in only-list does not exist or is not accessible.   [RPATTERN_SKEB]
                             rnlat, rpattern_sfc, rpattern_skeb,            &
--------------------------------------------------^
get_stochy_pattern.F90(12): error #6580: Name in only-list does not exist or is not accessible.   [RPATTERN_SHUM]
                             rpattern_shum, rpattern_sppt, rpattern_ocnsppt,&
-----------------------------^
get_stochy_pattern.F90(12): error #6580: Name in only-list does not exist or is not accessible.   [RPATTERN_SPPT]
                             rpattern_shum, rpattern_sppt, rpattern_ocnsppt,&
--------------------------------------------^
get_stochy_pattern.F90(12): error #6580: Name in only-list does not exist or is not accessible.   [RPATTERN_OCNSPPT]
                             rpattern_shum, rpattern_sppt, rpattern_ocnsppt,&
-----------------------------------------------------------^
get_stochy_pattern.F90(13): error #6580: Name in only-list does not exist or is not accessible.   [RPATTERN_EPBL1]
                             rpattern_epbl1, rpattern_epbl2, skebu_save,    &
-----------------------------^
get_stochy_pattern.F90(13): error #6580: Name in only-list does not exist or is not accessible.   [RPATTERN_EPBL2]
                             rpattern_epbl1, rpattern_epbl2, skebu_save,    &
---------------------------------------------^
get_stochy_pattern.F90(13): error #6580: Name in only-list does not exist or is not accessible.   [SKEBU_SAVE]
                             rpattern_epbl1, rpattern_epbl2, skebu_save,    &
-------------------------------------------------------------^
get_stochy_pattern.F90(14): error #6580: Name in only-list does not exist or is not accessible.   [NSPP]
                             nspp,rpattern_spp, rpattern_ocnskeb,           &
-----------------------------^
get_stochy_pattern.F90(14): error #6580: Name in only-list does not exist or is not accessible.   [RPATTERN_SPP]
                             nspp,rpattern_spp, rpattern_ocnskeb,           &
----------------------------------^
/tmp/iforthpoC6D.i90(6263): catastrophic error: Too many errors, exiting
compilation aborted for get_stochy_pattern.F90 (code 1)
stochy_data_mod.F90(19): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [STOCHY_PATTERNGENERATOR_MOD]
 use stochy_patterngenerator_mod, only: random_pattern, patterngenerator_init,&
-----^
stochy_data_mod.F90(33): error #6457: This derived type name has not been declared.   [RANDOM_PATTERN]
 type(random_pattern), public, save, allocatable, dimension(:) :: &
------^
stochy_data_mod.F90(44): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant.   [KIND_DBL_PREC]
 real(kind=kind_dbl_prec), public,allocatable :: sl(:)
-----------^
stochy_data_mod.F90(44): error #6211: A symbol must be a defined parameter in this context.   [KIND_DBL_PREC]
 real(kind=kind_dbl_prec), public,allocatable :: sl(:)
-----------^
stochy_data_mod.F90(44): error #6684: This is an incorrect value for a kind type parameter in this context.   [KIND]
 real(kind=kind_dbl_prec), public,allocatable :: sl(:)
------^
stochy_data_mod.F90(46): error #6683: A kind type parameter must be a compile-time constant.   [KIND_DBL_PREC]
 real(kind=kind_dbl_prec), public, parameter :: radius = 6.3712e+6
-----------^
stochy_data_mod.F90(49): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant.   [KIND_PHYS]
 real(kind=kind_phys),public, allocatable :: vfact_sppt(:),vfact_shum(:),vfact_skeb(:),vfact_spp(:)
-----------^
stochy_data_mod.F90(49): error #6211: A symbol must be a defined parameter in this context.   [KIND_PHYS]
 real(kind=kind_phys),public, allocatable :: vfact_sppt(:),vfact_shum(:),vfact_skeb(:),vfact_spp(:)
-----------^
stochy_data_mod.F90(49): error #6684: This is an incorrect value for a kind type parameter in this context.   [KIND]
 real(kind=kind_phys),public, allocatable :: vfact_sppt(:),vfact_shum(:),vfact_skeb(:),vfact_spp(:)
------^
stochy_data_mod.F90(50): error #6683: A kind type parameter must be a compile-time constant.   [KIND_PHYS]
 real(kind=kind_phys),public, allocatable :: skeb_vwts(:,:)
-----------^
stochy_data_mod.F90(52): error #6683: A kind type parameter must be a compile-time constant.   [KIND_DBL_PREC]
 real(kind=kind_dbl_prec),public, allocatable :: gg_lats(:),gg_lons(:)
-----------^
stochy_data_mod.F90(53): error #6683: A kind type parameter must be a compile-time constant.   [KIND_DBL_PREC]
 real(kind=kind_dbl_prec),public :: wlon,rnlat,rad2deg
-----------^
stochy_data_mod.F90(54): error #6683: A kind type parameter must be a compile-time constant.   [KIND_PHYS]
 real(kind=kind_phys),public, allocatable :: skebu_save(:,:,:),skebv_save(:,:,:)
-----------^
make[4]: *** [Makefile:53: get_stochy_pattern.o] Error 1
stochy_data_mod.F90(80): error #6683: A kind type parameter must be a compile-time constant.   [KIND_PHYS]
   real(kind=kind_phys), intent(in) :: delt
-------------^
stochy_data_mod.F90(82): error #6683: A kind type parameter must be a compile-time constant.   [KIND_DBL_PREC]
   real(kind=kind_dbl_prec) :: ones(6)
-------------^
stochy_data_mod.F90(89): error #6683: A kind type parameter must be a compile-time constant.   [KIND_DBL_PREC]
   real(kind_dbl_prec),allocatable :: noise_e(:,:),noise_o(:,:)
--------^
stochy_data_mod.F90(534): error #6683: A kind type parameter must be a compile-time constant.   [KIND_DBL_PREC]
   real(kind=kind_dbl_prec), intent(in) :: delt
-------------^
stochy_data_mod.F90(541): error #6683: A kind type parameter must be a compile-time constant.   [KIND_DBL_PREC]
   real(kind=kind_dbl_prec) :: gamma_sum,pi
-------------^
stochy_data_mod.F90(543): error #6683: A kind type parameter must be a compile-time constant.   [KIND_DBL_PREC]
   real(kind_dbl_prec),allocatable :: noise_e(:,:),noise_o(:,:)
--------^
stochy_data_mod.F90(827): error #6457: This derived type name has not been declared.   [RANDOM_PATTERN]
   type(random_pattern), intent(inout) :: rpattern
--------^
stochy_data_mod.F90(830): error #6683: A kind type parameter must be a compile-time constant.   [KIND_DBL_PREC]
   real(kind_dbl_prec),allocatable  :: pattern2d(:),pattern2din(:)
--------^
stochy_data_mod.F90(831): error #6683: A kind type parameter must be a compile-time constant.   [KIND_DBL_PREC]
   real(kind_dbl_prec) :: stdevin,varin
--------^
stochy_data_mod.F90(19): error #6580: Name in only-list does not exist or is not accessible.   [RANDOM_PATTERN]
 use stochy_patterngenerator_mod, only: random_pattern, patterngenerator_init,&
----------------------------------------^
stochy_data_mod.F90(19): error #6580: Name in only-list does not exist or is not accessible.   [PATTERNGENERATOR_INIT]
 use stochy_patterngenerator_mod, only: random_pattern, patterngenerator_init,&
--------------------------------------------------------^
stochy_data_mod.F90(20): error #6580: Name in only-list does not exist or is not accessible.   [GETNOISE]
 getnoise, getnoise_un, patterngenerator_advance, patterngenerator_advance_jb, ndimspec, &
-^
stochy_data_mod.F90(20): error #6580: Name in only-list does not exist or is not accessible.   [GETNOISE_UN]
 getnoise, getnoise_un, patterngenerator_advance, patterngenerator_advance_jb, ndimspec, &
-----------^
stochy_data_mod.F90(20): error #6580: Name in only-list does not exist or is not accessible.   [PATTERNGENERATOR_ADVANCE]
 getnoise, getnoise_un, patterngenerator_advance, patterngenerator_advance_jb, ndimspec, &
------------------------^
stochy_data_mod.F90(20): error #6580: Name in only-list does not exist or is not accessible.   [PATTERNGENERATOR_ADVANCE_JB]
 getnoise, getnoise_un, patterngenerator_advance, patterngenerator_advance_jb, ndimspec, &
--------------------------------------------------^
stochy_data_mod.F90(20): error #6580: Name in only-list does not exist or is not accessible.   [NDIMSPEC]
 getnoise, getnoise_un, patterngenerator_advance, patterngenerator_advance_jb, ndimspec, &
-------------------------------------------------------------------------------^
stochy_data_mod.F90(21): error #6580: Name in only-list does not exist or is not accessible.   [CHGRES_PATTERN]
 chgres_pattern, computevarspec_r
-^
/tmp/ifortGqBQFK.i90(6413): catastrophic error: Too many errors, exiting
compilation aborted for stochy_data_mod.F90 (code 1)
make[4]: *** [Makefile:53: stochy_data_mod.o] Error 1
make[4]: Leaving directory '/tmp/gge/MPAS-Model/src/core_atmosphere/stochastic_physics'
make[3]: *** [Makefile:69: physcore] Error 2
make[3]: Leaving directory '/tmp/gge/MPAS-Model/src/core_atmosphere'
make[2]: *** [Makefile:35: dycore] Error 2
make[2]: Leaving directory '/tmp/gge/MPAS-Model/src'
make[1]: *** [Makefile:1711: mpas_main] Error 2
make[1]: Leaving directory '/tmp/gge/MPAS-Model'
make: *** [Makefile:516: intel-mpi-ursa] Error 2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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