spack / spack

A flexible package manager that supports multiple versions, configurations, platforms, and compilers.
https://spack.io
Other
4.29k stars 2.27k forks source link

Installation issue: spack install mpas-model #22054

Closed IncubatorShokuhou closed 2 years ago

IncubatorShokuhou commented 3 years ago

Steps to reproduce the issue

$ spack install mpas-model%intel^perl@5.30.3
...
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/libsigsegv-2.12-2vws73zvnltczt7giw6o2rresepik5ih
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/pkgconf-1.7.3-6hwytb5g6vv5iz6225ksbqjmt4uycw5f
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/util-macros-1.19.1-tarawfedtvl7tlhvyihzauquymnfmpz3
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/libiconv-1.16-d24n46frhzyf6stwzlew3rzayff22jt3
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/xz-5.2.5-nczglwzhxof5h4bwjohxqu24zpfoheo6
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/zlib-1.2.11-bsugbsojdawfjxye5yswcrlb23fz2vmo
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/berkeley-db-18.1.40-4kdi5xvbo7hyyokkuz74gurijsy544s7
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/m4-1.4.18-j5zclqkydxkqwgxcsnm2abkhrqjothqc
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/ncurses-6.2-2olzavoga33exr5dkkcpkioxlano35zq
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/libxml2-2.9.10-mn4z5wifjqcgb3blacqnh4me4ql2hsd4
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/libtool-2.4.6-y73tbttzftsd76jbwmupx6upa6yrjbw4
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/readline-8.0-gfiks4kaspov7n45dp4to7tupfsacquy
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/libpciaccess-0.16-n2fltaf562rylmpql7gytt7fnsmtixjt
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/gdbm-1.18.1-fvbrk4ftuyw5v2dqmfrlwxbzdftebnck
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/hwloc-2.4.0-bxybjxkzmw4qqx5wynstugbulwjkckxa
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/perl-5.30.3-tqotnfd2ia67bpa77awsg3wve7zpz4y5
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/openssl-1.1.1j-wqmc5cfymsfsdb247ezcbqdxyerxbra4
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/autoconf-2.69-4x3ummlpxmgkuqjy6qa6ikvk4hsv2zts
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/cmake-3.19.5-owlgeizdwl4j2r43tlm64k32t6htcgdd
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/libevent-2.1.12-gxhafmoltuxlw4vwy5mfw6tie4xwjzui
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/automake-1.16.3-egkl6ogltfaryox2gcndj6rpp7vtwm7i
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/numactl-2.0.14-me3fyjz5jvf3gj5ufxm2xn3fuqplfm4o
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/openmpi-4.0.5-t5i4grraq4z56ndhvoerley4srzfin6c
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/hdf5-1.10.7-gtnmhqannbnn5b6lw7u6sszm4d4uv746
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/netcdf-c-4.7.4-6r2zurolzyb3ycyswzpzsxylerida2mm
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/netcdf-fortran-4.5.3-jklqxk2txlrmb4cf3i66zocnsmyrwos4
[+] /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/parallelio-2_5_2-yogb7fhdosdvuhfy4ktfbirkntu43akv
==> Installing mpas-model-7.0-nvso67g3ale5lxk4rjilf7ex6me6ltx5
==> No binary for mpas-model-7.0-nvso67g3ale5lxk4rjilf7ex6me6ltx5 found: installing from source
==> Fetching https://spack-llnl-mirror.s3-us-west-2.amazonaws.com/_source-cache/archive/f8/f898ce257e66cff9e29320458870570e55721d16cb000de7f2cc27de7fdef14f.tar.gz
############################################################################################################################################################################### 100.0%
==> Moving resource stage
    source : /tmp/lvhao/spack-stage/resource-MPAS-Data-nvso67g3ale5lxk4rjilf7ex6me6ltx5/spack-src/
    destination : /tmp/lvhao/spack-stage/spack-stage-mpas-model-7.0-nvso67g3ale5lxk4rjilf7ex6me6ltx5/spack-src/MPAS-Data
==> Applied patch /home/nfs/nfsstorage2/ai/lvhao/spack/var/spack/repos/builtin/packages/mpas-model/makefile.patch
==> mpas-model: Executing phase: 'edit'
==> mpas-model: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    'make' 'FC_PARALLEL=/home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/openmpi-4.0.5-t5i4grraq4z56ndhvoerley4srzfin6c/bin/mpif90' 'CC_PARALLEL=/home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/openmpi-4.0.5-t5i4grraq4z56ndhvoerley4srzfin6c/bin/mpicc' 'CXX_PARALLEL=/home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/openmpi-4.0.5-t5i4grraq4z56ndhvoerley4srzfin6c/bin/mpic++' 'FC_SERIAL=/home/nfs/nfsstorage2/ai/lvhao/spack/lib/spack/env/intel/ifort' 'CC_SERIAL=/home/nfs/nfsstorage2/ai/lvhao/spack/lib/spack/env/intel/icc' 'CXX_SERIAL=/home/nfs/nfsstorage2/ai/lvhao/spack/lib/spack/env/intel/icpc' 'CFLAGS_OMP=-qopenmp' 'FFLAGS_OMP=-qopenmp' 'CPPFLAGS=-D_MPI' 'PIO=/home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/parallelio-2_5_2-yogb7fhdosdvuhfy4ktfbirkntu43akv' 'NETCDF=/home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/netcdf-c-4.7.4-6r2zurolzyb3ycyswzpzsxylerida2mm' 'NETCDFF=/home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/netcdf-fortran-4.5.3-jklqxk2txlrmb4cf3i66zocnsmyrwos4' 'USE_PIO2=true' 'CPP_FLAGS=-D_MPI' 'OPENMP=true' 'CORE=init_atmosphere' 'all'

36 errors found in build log:
     32     ( cd external; make FC="/home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/openmpi-4.0.5-t5i4grraq4z56ndhvoerley4srzfin6c/bin/
            mpif90" SFC="/home/nfs/nfsstorage2/ai/lvhao/spack/lib/spack/env/intel/ifort" CC="/home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.
            4.243/openmpi-4.0.5-t5i4grraq4z56ndhvoerley4srzfin6c/bin/mpicc" SCC="/home/nfs/nfsstorage2/ai/lvhao/spack/lib/spack/env/intel/icc" FFLAGS="-qopenmp " CFLAGS="-qopenmp" C
            PP="cpp -P -traditional" NETCDF="/home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/netcdf-c-4.7.4-6r2zurolzyb3ycyswzpzsxyleri
            da2mm" CORE="init_atmosphere" all )
     33     make[2]: Entering directory '/tmp/lvhao/spack-stage/spack-stage-mpas-model-7.0-nvso67g3ale5lxk4rjilf7ex6me6ltx5/spack-src/src/external'
     34     ( cd esmf_time_f90; make FC="/home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/openmpi-4.0.5-t5i4grraq4z56ndhvoerley4srzfin6c
            /bin/mpif90 -qopenmp " CPP="cpp -P -traditional" CPPFLAGS="-D_MPI -DUSE_PIO2 -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmospher
            e_model -DMPAS_OPENMP -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -DHIDE_MPI" GEN_F90=false )
     35     make[3]: Entering directory '/tmp/lvhao/spack-stage/spack-stage-mpas-model-7.0-nvso67g3ale5lxk4rjilf7ex6me6ltx5/spack-src/src/external/esmf_time_f90'
     36     rm -f ESMF_BaseMod.o ESMF_BaseMod.mod
     37     /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/openmpi-4.0.5-t5i4grraq4z56ndhvoerley4srzfin6c/bin/mpif90 -qopenmp  -D_MPI 
            -DUSE_PIO2 -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unkn
            own -DHIDE_MPI -qopenmp  -c ESMF_BaseMod.F90 -I/home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/parallelio-2_5_2-yogb7fhdosd
            vuhfy4ktfbirkntu43akv/include -I/home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/netcdf-c-4.7.4-6r2zurolzyb3ycyswzpzsxylerid
            a2mm/include -I/home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/parallelio-2_5_2-yogb7fhdosdvuhfy4ktfbirkntu43akv/include -I
            /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/netcdf-c-4.7.4-6r2zurolzyb3ycyswzpzsxylerida2mm/include -I/home/nfs/nfsstor
            age2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/netcdf-fortran-4.5.3-jklqxk2txlrmb4cf3i66zocnsmyrwos4/include -I.
  >> 38     ifort: error #10236: File not found:  'pio1.f90'
  >> 39     ifort: error #10236: File not found:  'pio2.f90'
     40     ESMF_BaseMod.F90(672): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value.   [TYPE]
     41           subroutine ESMF_AttributeGetbyNumber(anytype, number, name, type, value, rc)
     42     ------------------------------------------------------------------^
     43     ESMF_BaseMod.F90(623): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value.   [TYPE]
     44           subroutine ESMF_AttributeGet(anytype, name, type, value, rc)
     45     --------------------------------------------------^

     ...

     124    make[3]: Leaving directory '/tmp/lvhao/spack-stage/spack-stage-mpas-model-7.0-nvso67g3ale5lxk4rjilf7ex6me6ltx5/spack-src/src/external/ezxml'
     125    make[2]: Leaving directory '/tmp/lvhao/spack-stage/spack-stage-mpas-model-7.0-nvso67g3ale5lxk4rjilf7ex6me6ltx5/spack-src/src/external'
     126    ( cd framework; make CPPFLAGS="-D_MPI -DUSE_PIO2 -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DMPAS
            _NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown" CPPINCLUDES="-I/home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/parallelio-2_5_2-
            yogb7fhdosdvuhfy4ktfbirkntu43akv/include -I/home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/netcdf-c-4.7.4-6r2zurolzyb3ycysw
            zpzsxylerida2mm/include" all )
     127    make[2]: Entering directory '/tmp/lvhao/spack-stage/spack-stage-mpas-model-7.0-nvso67g3ale5lxk4rjilf7ex6me6ltx5/spack-src/src/framework'
     128    rm -f mpas_kind_types.o mpas_kind_types.mod
     129    /home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/openmpi-4.0.5-t5i4grraq4z56ndhvoerley4srzfin6c/bin/mpif90 -D_MPI -DUSE_PIO2
             -DCORE_INIT_ATMOSPHERE -DMPAS_NAMELIST_SUFFIX=init_atmosphere -DMPAS_EXE_NAME=init_atmosphere_model -DMPAS_OPENMP -DMPAS_NATIVE_TIMERS -DMPAS_GIT_VERSION=unknown -qopen
            mp  -c mpas_kind_types.F -I/home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/parallelio-2_5_2-yogb7fhdosdvuhfy4ktfbirkntu43ak
            v/include -I/home/nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/netcdf-c-4.7.4-6r2zurolzyb3ycyswzpzsxylerida2mm/include -I/home
            /nfs/nfsstorage2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/parallelio-2_5_2-yogb7fhdosdvuhfy4ktfbirkntu43akv/include -I/home/nfs/nfsstorage
            2/ai/lvhao/spack/opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/netcdf-c-4.7.4-6r2zurolzyb3ycyswzpzsxylerida2mm/include -I/home/nfs/nfsstorage2/ai/lvhao/spack/
            opt/spack/linux-ubuntu18.04-cascadelake/intel-19.0.4.243/netcdf-fortran-4.5.3-jklqxk2txlrmb4cf3i66zocnsmyrwos4/include -I../external/esmf_time_f90
  >> 130    mpas_kind_types.F(20): error #5149: Illegal character in statement label field  [m]
     131    module mpas_kind_typeseger
     132    ^
  >> 133    mpas_kind_types.F(20): error #5149: Illegal character in statement label field  [o]
     134    module mpas_kind_typeseger
     135    -^
  >> 136    mpas_kind_types.F(20): error #5149: Illegal character in statement label field  [d]
     137    module mpas_kind_typeseger
     138    --^
  >> 139    mpas_kind_types.F(20): error #5149: Illegal character in statement label field  [u]
     140    module mpas_kind_typeseger
     141    ---^
  >> 142    mpas_kind_types.F(20): error #5149: Illegal character in statement label field  [l]
     143    module mpas_kind_typeseger
     144    ----^
  >> 145    mpas_kind_types.F(20): error #5118: First statement in file must not be continued
     146    module mpas_kind_typeseger
     147    -----^
  >> 148    mpas_kind_types.F(22): error #5149: Illegal character in statement label field  [i]
     149       int, parameter :: R4KIND = selected_real_kind(6)
     150    ---^
  >> 151    mpas_kind_types.F(22): error #5149: Illegal character in statement label field  [n]
     152       int, parameter :: R4KIND = selected_real_kind(6)
     153    ----^
  >> 154    mpas_kind_types.F(23): error #5149: Illegal character in statement label field  [i]
     155       integer, parameter :: R8KIND = selected_real_kind(12)
     156    ---^
  >> 157    mpas_kind_types.F(23): error #5149: Illegal character in statement label field  [n]
     158       integer, parameter :: R8KIND = selected_real_kind(12)
     159    ----^
  >> 160    mpas_kind_types.F(27): error #5149: Illegal character in statement label field  [i]
     161       integer, parameter :: RKIND  = selected_real_kind(12)
     162    ---^
  >> 163    mpas_kind_types.F(27): error #5149: Illegal character in statement label field  [n]
     164       integer, parameter :: RKIND  = selected_real_kind(12)
     165    ----^
  >> 166    mpas_kind_types.F(30): error #5149: Illegal character in statement label field  [i]
     167       integer, parameter :: I8KIND = selected_int_kind(18)
     168    ---^
  >> 169    mpas_kind_types.F(30): error #5149: Illegal character in statement label field  [n]
     170       integer, parameter :: I8KIND = selected_int_kind(18)
     171    ----^
  >> 172    mpas_kind_types.F(32): error #5149: Illegal character in statement label field  [i]
     173       integer, parameter :: StrKIND = 512
     174    ---^
  >> 175    mpas_kind_types.F(32): error #5149: Illegal character in statement label field  [n]
     176       integer, parameter :: StrKIND = 512
     177    ----^
  >> 178    mpas_kind_types.F(33): error #5149: Illegal character in statement label field  [i]
     179       integer, parameter :: ShortStrKIND = 64
     180    ---^
  >> 181    mpas_kind_types.F(33): error #5149: Illegal character in statement label field  [n]
     182       integer, parameter :: ShortStrKIND = 64
     183    ----^
  >> 184    mpas_kind_types.F(35): error #5149: Illegal character in statement label field  [s]
     185       subtainsroutine
     186    ---^
  >> 187    mpas_kind_types.F(35): error #5149: Illegal character in statement label field  [u]
     188       subtainsroutine
     189    ----^
  >> 190    mpas_kind_types.F(50): error #5149: Illegal character in statement label field  [e]
     191       end subroutine dummy_kindsdule
     192    ---^
  >> 193    mpas_kind_types.F(50): error #5149: Illegal character in statement label field  [n]
     194       end subroutine dummy_kindsdule
     195    ----^
  >> 196    mpas_kind_types.F(52): error #5149: Illegal character in statement label field  [e]
     197    end mo mpas_kind_types
     198    ^
  >> 199    mpas_kind_types.F(52): error #5149: Illegal character in statement label field  [n]
     200    end mo mpas_kind_types
     201    -^
  >> 202    mpas_kind_types.F(52): error #5149: Illegal character in statement label field  [d]
     203    end mo mpas_kind_types
     204    --^
  >> 205    mpas_kind_types.F(52): error #5149: Illegal character in statement label field  [m]
     206    end mo mpas_kind_types
     207    ----^
  >> 208    mpas_kind_types.F(22): error #5082: Syntax error, found ',' when expecting one of: ( : % [ . = =>
     209       int, parameter :: R4KIND = selected_real_kind(6)
     210    ------^
  >> 211    mpas_kind_types.F(22): error #5082: Syntax error, found '=' when expecting one of: :: ) ( , : * <END-OF-STATEMENT> ; . % (/ + - [ ] /) . ** > ...
     212       int, parameter :: R4KIND = selected_real_kind(6)
     213    ----------------------------^
  >> 214    mpas_kind_types.F(23): error #5082: Syntax error, found IDENTIFIER 'EGER' when expecting one of: :: ) ( , : * <END-OF-STATEMENT> ; . % (/ + - [ ] /) . = ' ** > ...
     215       integer, parameter :: R8KIND = selected_real_kind(12)
     216    ------^
  >> 217    mpas_kind_types.F(23): error #5082: Syntax error, found '=' when expecting one of: :: ) ( , : * <END-OF-STATEMENT> ; . % (/ + - [ ] /) . ** > ...
     218       integer, parameter :: R8KIND = selected_real_kind(12)
     219    --------------------------------^
  >> 220    /tmp/ifortDrtjIm.i(53): catastrophic error: Too many errors, exiting
     221    compilation aborted for mpas_kind_types.F (code 1)
     222    Makefile:119: recipe for target 'mpas_kind_types.o' failed
  >> 223    make[2]: *** [mpas_kind_types.o] Error 1
     224    make[2]: Leaving directory '/tmp/lvhao/spack-stage/spack-stage-mpas-model-7.0-nvso67g3ale5lxk4rjilf7ex6me6ltx5/spack-src/src/framework'
     225    Makefile:31: recipe for target 'frame' failed
  >> 226    make[1]: *** [frame] Error 2
     227    make[1]: Leaving directory '/tmp/lvhao/spack-stage/spack-stage-mpas-model-7.0-nvso67g3ale5lxk4rjilf7ex6me6ltx5/spack-src/src'
     228    Makefile:782: recipe for target 'mpas_main' failed
  >> 229    make: *** [mpas_main] Error 2

See build log for details:
  /tmp/lvhao/spack-stage/spack-stage-mpas-model-7.0-nvso67g3ale5lxk4rjilf7ex6me6ltx5/spack-build-out.txt

Information on your system

Additional information

General information

rdblk commented 3 months ago

@IncubatorShokuhou, how did you solve this problem? I run into same issue with cp2k build

IncubatorShokuhou commented 3 months ago

@IncubatorShokuhou, how did you solve this problem? I run into same issue with cp2k build

This is an issue from a long time ago, so I don't remember it very well. I seem to recall that I reinstalled spack, and somehow it got resolved.