-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oneAPI compiler errors when building ACCESS-ESM1.6 with Spack #46
Comments
[esm1p6-dev] [~/codes/access-nri/ACCESS-ESM1.6 @gadi09] time spack install &> spack_install_with_oneapi_reuse_and_unify_are_false.log
real 10m54.319s
user 12m18.929s
sys 5m5.433s |
Building error for ==> Installing oasis3-mct-git.access-esm1.5_2024.05.24=access-esm1.5-yces7kewopaua25b7nipy2ynlgyon7bh [16/22]
==> No binary for oasis3-mct-git.access-esm1.5_2024.05.24=access-esm1.5-yces7kewopaua25b7nipy2ynlgyon7bh found: installing from source
==> No patches needed for oasis3-mct
==> oasis3-mct: Executing phase: 'edit'
==> oasis3-mct: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
'make' '-f' 'TopMakefileOasis3'
23 errors found in build log:
84 <scratch space>:14:1: note: expanded from here
85 14 | get_ztick_
86 | ^
87 2 warnings generated.
88 mpifort -c -I. -I../ -DSYSLINUX -DCPRINTEL -O2 -fp-model precise -fp-model source -align all -g3 -O2 -xCORE-AVX512 -debug all -check none -traceback -ip -diag-disable 10010 m_mpif.F90
89 ifx: command line warning #10148: option '-ip' not supported
>> 90 m_mpif.F90(60): error #5102: Cannot open include file 'mpif.h'
91 include "mpif.h"
92 ------------------^
>> 93 m_mpif.F90(35): error #6404: This name does not have a type, and must have an explicit type. [MPI_INTEGER]
94 public :: MPI_INTEGER
95 --------------------^
>> 96 m_mpif.F90(36): error #6404: This name does not have a type, and must have an explicit type. [MPI_REAL]
97 public :: MPI_REAL
98 --------------------^
>> 99 m_mpif.F90(37): error #6404: This name does not have a type, and must have an explicit type. [MPI_DOUBLE_PRECISION]
100 public :: MPI_DOUBLE_PRECISION
101 --------------------^
>> 102 m_mpif.F90(38): error #6404: This name does not have a type, and must have an explicit type. [MPI_LOGICAL]
103 public :: MPI_LOGICAL
104 --------------------^
>> 105 m_mpif.F90(39): error #6404: This name does not have a type, and must have an explicit type. [MPI_CHARACTER]
106 public :: MPI_CHARACTER
107 --------------------^
>> 108 m_mpif.F90(41): error #6404: This name does not have a type, and must have an explicit type. [MPI_REAL4]
109 public :: MPI_REAL4
110 --------------------^
>> 111 m_mpif.F90(42): error #6404: This name does not have a type, and must have an explicit type. [MPI_REAL8]
112 public :: MPI_REAL8
113 --------------------^
>> 114 m_mpif.F90(44): error #6404: This name does not have a type, and must have an explicit type. [MPI_COMM_WORLD]
115 public :: MPI_COMM_WORLD
116 --------------------^
>> 117 m_mpif.F90(45): error #6404: This name does not have a type, and must have an explicit type. [MPI_COMM_NULL]
118 public :: MPI_COMM_NULL
119 --------------------^
>> 120 m_mpif.F90(47): error #6404: This name does not have a type, and must have an explicit type. [MPI_SUM]
121 public :: MPI_SUM
122 --------------------^
>> 123 m_mpif.F90(48): error #6404: This name does not have a type, and must have an explicit type. [MPI_PROD]
124 public :: MPI_PROD
125 --------------------^
>> 126 m_mpif.F90(49): error #6404: This name does not have a type, and must have an explicit type. [MPI_MIN]
127 public :: MPI_MIN
128 --------------------^
>> 129 m_mpif.F90(50): error #6404: This name does not have a type, and must have an explicit type. [MPI_MAX]
130 public :: MPI_MAX
131 --------------------^
>> 132 m_mpif.F90(52): error #6404: This name does not have a type, and must have an explicit type. [MPI_MAX_ERROR_STRING]
133 public :: MPI_MAX_ERROR_STRING
134 --------------------^
>> 135 m_mpif.F90(53): error #6404: This name does not have a type, and must have an explicit type. [MPI_STATUS_SIZE]
136 public :: MPI_STATUS_SIZE
137 --------------------^
>> 138 m_mpif.F90(54): error #6404: This name does not have a type, and must have an explicit type. [MPI_ANY_SOURCE]
139 public :: MPI_ANY_SOURCE
140 --------------------^
141 compilation aborted for m_mpif.F90 (code 1)
>> 142 make[3]: *** [Makefile:71: m_mpif.o] Error 1
143 make[3]: Leaving directory '/scratch/tm70/ms2335/tmp/restricted/spack-stage/spack-stage-oasis3-mct-git.access-esm1.5_2024.05.24_access-esm1.5-yces7kewopaua25b7nipy2ynlgyon7bh/spack-src/compile_oa3-mct/build/lib/mctdir/
mpeu'
>> 144 make[2]: *** [Makefile:10: subdirs] Error 2
145 make[2]: Leaving directory '/scratch/tm70/ms2335/tmp/restricted/spack-stage/spack-stage-oasis3-mct-git.access-esm1.5_2024.05.24_access-esm1.5-yces7kewopaua25b7nipy2ynlgyon7bh/spack-src/compile_oa3-mct/build/lib/mctdir'
>> 146 cp: cannot stat './*/lib*.a': No such file or directory
>> 147 cp: cannot stat './*/*.mod': No such file or directory
>> 148 make[1]: *** [TopMakefileOasis3:55: makemct] Error 1
149 make[1]: Leaving directory '/scratch/tm70/ms2335/tmp/restricted/spack-stage/spack-stage-oasis3-mct-git.access-esm1.5_2024.05.24_access-esm1.5-yces7kewopaua25b7nipy2ynlgyon7bh/spack-src/util/make_dir'
>> 150 make: *** [TopMakefileOasis3:28: default] Error 2
See build log for details:
/scratch/tm70/ms2335/tmp/restricted/spack-stage/spack-stage-oasis3-mct-git.access-esm1.5_2024.05.24_access-esm1.5-yces7kewopaua25b7nipy2ynlgyon7bh/spack-build-out.txt
==> Warning: Skipping build of cice4-git.2024.05.21=access-esm1.5-wtgw6xz233i7p464uea75yapxlmlw6oa since oasis3-mct-git.access-esm1.5_2024.05.24=access-esm1.5-yces7kewopaua25b7nipy2ynlgyon7bh failed
|
Building error for ==> Installing access-fms-git.dev_2024.12.0=2024.12.1-izwsq76qdybbelrmf5hqvn2cnddwwxrz [17/22]
==> No binary for access-fms-git.dev_2024.12.0=2024.12.1-izwsq76qdybbelrmf5hqvn2cnddwwxrz found: installing from source
==> No patches needed for access-fms
==> access-fms: Executing phase: 'cmake'
==> Error: ProcessError: Command exited with status 1:
'/apps/cmake/3.24.2/bin/cmake' '-G' 'Unix Makefiles' '-DCMAKE_INSTALL_PREFIX:STRING=/g/data/tm70/ms2335/spack/0.22/restricted/ukmo/release/linux-rocky8-x86_64_v4/oneapi-2024.2.1/access-fms-git.dev_2024.12.0_2024.12.1-izwsq76qdybbelrmf5hqvn2cnddwwxrz' '-DCMAKE_BUILD_TYPE:STRING=Release' '-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON' '-DCMAKE_INTERPROCEDURAL_OPTIMIZATION:BOOL=OFF' '-DCMAKE_POLICY_DEFAULT_CMP0090:STRING=NEW' '-DCMAKE_FIND_USE_PACKAGE_REGISTRY:BOOL=OFF' '-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON' '-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON' '-DCMAKE_INSTALL_RPATH:STRING=/g/data/tm70/ms2335/spack/0.22/restricted/ukmo/release/linux-rocky8-x86_64_v4/oneapi-2024.2.1/access-fms-git.dev_2024.12.0_2024.12.1-izwsq76qdybbelrmf5hqvn2cnddwwxrz/lib;/g/data/tm70/ms2335/spack/0.22/restricted/ukmo/release/linux-rocky8-x86_64_v4/oneapi-2024.2.1/access-fms-git.dev_2024.12.0_2024.12.1-izwsq76qdybbelrmf5hqvn2cnddwwxrz/lib64;/g/data/tm70/ms2335/spack/0.22/restricted/ukmo/release/linux-rocky8-x86_64_v4/oneapi-2024.2.1/intel-oneapi-runtime-2024.2.1-e77bzfloyijfih7lb5gqaoxq73mqjyul/lib;/g/data/tm70/ms2335/spack/0.22/restricted/ukmo/release/linux-rocky8-x86_64_v4/gcc-14.1.0/gcc-runtime-14.1.0-tgv3p3aaw6n6r6uw5v2zdwztxxbimasr/lib;/g/data/tm70/ms2335/spack/0.22/restricted/ukmo/release/linux-rocky8-x86_64_v4/oneapi-2024.2.1/netcdf-c-4.7.4-mbj7iwszazqcgf5zpiqnndcicokcvaum/lib;/g/data/tm70/ms2335/spack/0.22/restricted/ukmo/release/linux-rocky8-x86_64_v4/oneapi-2024.2.1/hdf5-1.10.11-ocbyjtxheur5zzayydbgaww2j6in6nwt/lib;/apps/openmpi/4.0.2/lib;/g/data/tm70/ms2335/spack/0.22/restricted/ukmo/release/linux-rocky8-x86_64_v4/oneapi-2024.2.1/zlib-ng-2.1.6-al4knrktgnaem2iz6dvobjmuz2t3mygp/lib;/g/data/tm70/ms2335/spack/0.22/restricted/ukmo/release/linux-rocky8-x86_64_v4/oneapi-2024.2.1/netcdf-fortran-4.5.2-o4m647gx43thtkyclxs53spajkxkml35/lib' '-DCMAKE_PREFIX_PATH:STRING=/g/data/tm70/ms2335/spack/0.22/restricted/ukmo/release/linux-rocky8-x86_64_v4/oneapi-2024.2.1/netcdf-fortran-4.5.2-o4m647gx43thtkyclxs53spajkxkml35;/g/data/tm70/ms2335/spack/0.22/restricted/ukmo/release/linux-rocky8-x86_64_v4/oneapi-2024.2.1/netcdf-c-4.7.4-mbj7iwszazqcgf5zpiqnndcicokcvaum;/g/data/tm70/ms2335/spack/0.22/restricted/ukmo/release/linux-rocky8-x86_64_v4/oneapi-2024.2.1/hdf5-1.10.11-ocbyjtxheur5zzayydbgaww2j6in6nwt;/g/data/tm70/ms2335/spack/0.22/restricted/ukmo/release/linux-rocky8-x86_64_v4/oneapi-2024.2.1/zlib-ng-2.1.6-al4knrktgnaem2iz6dvobjmuz2t3mygp;/g/data/tm70/ms2335/spack/0.22/restricted/ukmo/release/linux-rocky8-x86_64_v4/oneapi-2024.2.1/gmake-4.4.1-wjn2zyjqr6a4sr4k4pvwa3mvqg3zsizn;/g/data/tm70/ms2335/spack/0.22/restricted/ukmo/release/linux-rocky8-x86_64_v4/oneapi-2024.2.1/intel-oneapi-runtime-2024.2.1-e77bzfloyijfih7lb5gqaoxq73mqjyul;/g/data/tm70/ms2335/spack/0.22/restricted/ukmo/release/linux-rocky8-x86_64_v4/gcc-14.1.0/gcc-runtime-14.1.0-tgv3p3aaw6n6r6uw5v2zdwztxxbimasr;/apps/openmpi/4.0.2;/apps/cmake/3.24.2' '-DGFS_PHYS:BOOL=ON' '-DLARGEFILE:BOOL=OFF' '-DINTERNAL_FILE_NML:BOOL=ON' '/scratch/tm70/ms2335/tmp/restricted/spack-stage/spack-stage-access-fms-git.dev_2024.12.0_2024.12.1-izwsq76qdybbelrmf5hqvn2cnddwwxrz/spack-src'
1 error found in build log:
7 -- Check for working C compiler: /g/data/tm70/ms2335/spack/0.22/spack/lib/spack/env/oneapi/icx - skipped
8 -- Detecting C compile features
9 -- Detecting C compile features - done
10 -- Detecting Fortran compiler ABI info
11 -- Detecting Fortran compiler ABI info - done
12 -- Check for working Fortran compiler: /g/data/tm70/ms2335/spack/0.22/spack/lib/spack/env/oneapi/ifx - skipped
>> 13 CMake Error at CMakeLists.txt:86 (message):
14 Fortran compiler IntelLLVM is unsupported
15
16
17 -- Configuring incomplete, errors occurred!
18 See also "/scratch/tm70/ms2335/tmp/restricted/spack-stage/spack-stage-access-fms-git.dev_2024.12.0_2024.12.1-izwsq76qdybbelrmf5hqvn2cnddwwxrz/spack-build-izwsq76/CMakeFiles/CMakeOutput.log".
See build log for details:
/scratch/tm70/ms2335/tmp/restricted/spack-stage/spack-stage-access-fms-git.dev_2024.12.0_2024.12.1-izwsq76qdybbelrmf5hqvn2cnddwwxrz/spack-build-out.txt
==> Error: access-esm1p6-git.dev_2024.12.0=2024.12.0-t2phgn2r45bwtudmuaqzugd6wk25sgxp: Package was not installed
==> Error: Installation request failed. Refer to reported errors for failing package(s).
==> Updating view at /g/data/tm70/ms2335/spack/0.22/environments/esm1p6-dev/.spack-env/view |
Hi @manodeep ,
|
@harshula Are you compiling these packages separately or as a part of a ESM1.6 config? |
Hi @manodeep , Yes, I'm building each of these packages separately. That's the first step to debugging build failures. Try again with |
Resulted in the following concretization:
The next step for
spack install
fails with multiple compilation errors.The text was updated successfully, but these errors were encountered: