Spack will be used to manage open source software packages on Fugaku.
Fugaku users can easily use pre-installed packages and built packages based on Spack recipes.
The following list shows the results of building/compiling packages for aarch64 according to the Spack recipes.
Note that the results in this list do not guarantee that each package will work properly.
On the other hand, Fujitsu will provide the following packages compiled with Fujitsu compiler on Fugaku as "external" packages, of which Spack can be aware.
|
Compiler | Fujitsu Compiler Fujitsu C/C++ Compiler 4.10.0 tcsds-1.2.38 |
---|---|
Result | Dependency Error |
Failed to install dependency package :
------------------------------------------------
==> Warning: config:terminal_title has been replaced by install_status and is ignored
==> Warning: Failed to initialize repository: '$spack/var/spack/repos/local'.
No repo.yaml found in '$spack/var/spack/repos/local'
To remove the bad repository, run this command:
spack repo rm $spack/var/spack/repos/local
[+] /usr (external curl-7.61.1-qsvgylcys5hkzdnl2pdh4blrprxlsp5m)
[+] /usr (external ncurses-6.1-a6lc7oq2dlgphtibbpp6x72mqgmscros)
[+] /vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/opt/spack/linux-rhel8-a64fx/fj-4.10.0/zlib-ng-2.1.4-m4nsqgrityww4eqljits3svzi4wynus3
[+] /usr (external gmake-4.2.1-eszqmok6vi6wxcmklx6bqloeidbh25kb)
[+] /vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/opt/spack/linux-rhel8-a64fx/fj-4.10.0/ninja-1.11.1-hkoahomauz36ql3b7gyr3bbjctk3swkj
[+] /usr (external pkgconf-1.4.2-mmjuloqcob6vnd6bylwgum67waaa3kht)
[+] /vol0004/apps/oss/spack-v0.19/opt/spack/linux-rhel8-a64fx/fj-4.8.1/python-3.10.8-7q66snjvhvy7im57hncbgpirmddrb5sk (external python-3.10.8-zcbuy6dnhwhmsrco46b6ayaywy4nrfcy)
[+] /vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/opt/spack/linux-rhel8-a64fx/fj-4.10.0/cmake-3.27.7-ussgjuqkqbxi5dcv7kbp6bugdcjc5ph6
[+] /vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/opt/spack/linux-rhel8-a64fx/fj-4.10.0/z3-4.11.2-7o2k67bonqr4dvu7n5z5mlmex4tayhk5
[+] /vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/opt/spack/linux-rhel8-a64fx/fj-4.10.0/rocm-core-5.6.1-7mq6daurkcy4ui2tan2fdrfhc2kpmpsr
==> Installing llvm-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u [11/13]
==> No binary for llvm-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u found: installing from source
==> Using cached archive: /vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/var/spack/cache/_source-cache/archive/04/045e43c0c4a3f4f2f1db9fb603a4f1ea3d56e128147e19ba17909eb57d7f08e5.tar.gz
==> Using cached archive: /vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/var/spack/cache/_source-cache/archive/f0/f0dfab272ff936225bfa1e9dabeb3c5d12ce08b812bf53ffbddd2ddfac49761c.tar.gz
==> Using cached archive: /vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/var/spack/cache/_source-cache/archive/4d/4de9a57c2092edf9398d671c8a2c60626eb7daf358caf710da70d9c105490221.tar.gz
==> Using cached archive: /vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/var/spack/cache/_source-cache/archive/0a/0a85d84619f98be26ca7a32c71f94ed3c4e9866133789eabb451be64ce739300.tar.gz
==> Moving resource stage
source: /data/rccs-sdt/a01008/tmpdir/spack-stage/resource-rocm-device-libs-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/spack-src/
destination: /data/rccs-sdt/a01008/tmpdir/spack-stage/spack-stage-llvm-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/spack-src/rocm-device-libs
==> Moving resource stage
source: /data/rccs-sdt/a01008/tmpdir/spack-stage/resource-hsa-runtime-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/spack-src/
destination: /data/rccs-sdt/a01008/tmpdir/spack-stage/spack-stage-llvm-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/spack-src/hsa-runtime
==> Moving resource stage
source: /data/rccs-sdt/a01008/tmpdir/spack-stage/resource-comgr-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/spack-src/
destination: /data/rccs-sdt/a01008/tmpdir/spack-stage/spack-stage-llvm-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/spack-src/comgr
==> Applied patch /vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/var/spack/repos/builtin/packages/llvm-amdgpu/adjust-openmp-bitcode-directory-for-llvm-link.patch
==> Applied patch /vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/var/spack/repos/builtin/packages/llvm-amdgpu/patch-llvm-5.5.0.patch
==> Applied patch /vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/var/spack/repos/builtin/packages/llvm-amdgpu/001-Add-i1-mul-patterns.patch
==> llvm-amdgpu: Executing phase: 'cmake'
==> Error: ProcessError: Command exited with status 1:
'/vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/opt/spack/linux-rhel8-a64fx/fj-4.10.0/cmake-3.27.7-ussgjuqkqbxi5dcv7kbp6bugdcjc5ph6/bin/cmake' '-G' 'Ninja' '-DCMAKE_INSTALL_PREFIX:STRING=/vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/opt/spack/linux-rhel8-a64fx/fj-4.10.0/llvm-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u' '-DCMAKE_BUILD_TYPE:STRING=Release' '-DCMAKE_INTERPROCEDURAL_OPTIMIZATION:BOOL=OFF' '-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON' '-DCMAKE_INSTALL_RPATH:STRING=/vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/opt/spack/linux-rhel8-a64fx/fj-4.10.0/llvm-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/lib;/vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/opt/spack/linux-rhel8-a64fx/fj-4.10.0/llvm-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/lib64;/vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/opt/spack/linux-rhel8-a64fx/fj-4.10.0/zlib-ng-2.1.4-m4nsqgrityww4eqljits3svzi4wynus3/lib;/vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/opt/spack/linux-rhel8-a64fx/fj-4.10.0/z3-4.11.2-7o2k67bonqr4dvu7n5z5mlmex4tayhk5/lib64' '-DCMAKE_PREFIX_PATH:STRING=/vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/opt/spack/linux-rhel8-a64fx/fj-4.10.0/z3-4.11.2-7o2k67bonqr4dvu7n5z5mlmex4tayhk5;/vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/opt/spack/linux-rhel8-a64fx/fj-4.10.0/ninja-1.11.1-hkoahomauz36ql3b7gyr3bbjctk3swkj;/vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/opt/spack/linux-rhel8-a64fx/fj-4.10.0/cmake-3.27.7-ussgjuqkqbxi5dcv7kbp6bugdcjc5ph6;/vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/opt/spack/linux-rhel8-a64fx/fj-4.10.0/zlib-ng-2.1.4-m4nsqgrityww4eqljits3svzi4wynus3;/vol0004/apps/oss/spack-v0.19/opt/spack/linux-rhel8-a64fx/fj-4.8.1/python-3.10.8-7q66snjvhvy7im57hncbgpirmddrb5sk' '-DLLVM_ENABLE_Z3_SOLVER:STRING=OFF' '-DLLLVM_ENABLE_ZLIB:STRING=ON' '-DCLANG_DEFAULT_LINKER:STRING=lld' '-DLIBCXX_ENABLE_SHARED:STRING=OFF' '-DLIBCXX_ENABLE_STATIC:STRING=ON' '-DLIBCXX_INSTALL_LIBRARY:STRING=OFF' '-DLIBCXX_INSTALL_HEADERS:STRING=OFF' '-DLIBCXXABI_ENABLE_SHARED:STRING=OFF' '-DLIBCXXABI_ENABLE_STATIC:STRING=ON' '-DLIBCXXABI_INSTALL_STATIC_LIBRARY:STRING=OFF' '-DLLVM_ENABLE_RTTI:STRING=ON' '-DLLVM_TARGETS_TO_BUILD:STRING=AMDGPU;X86' '-DLLVM_AMDGPU_ALLOW_NPI_TARGETS:STRING=ON' '-DLLVM_ENABLE_RUNTIMES:STRING=libcxx;libcxxabi' '-DLLVM_ENABLE_PROJECTS:STRING=clang;lld;clang-tools-extra;compiler-rt' '-DPACKAGE_VENDOR:STRING=AMD' '-DCLANG_ENABLE_AMDCLANG:STRING=ON' '-DLLVM_TARGETS_TO_BUILD:STRING=AMDGPU;X86' '-DLLLVM_AMDGPU_ALLOW_NPI_TARGETS:BOOL=ON' '-DLLVM_EXTERNAL_PROJECTS:STRING=device-libs' '-DLLVM_EXTERNAL_DEVICE_LIBS_SOURCE_DIR:STRING=/data/rccs-sdt/a01008/tmpdir/spack-stage/spack-stage-llvm-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/spack-src/rocm-device-libs' '-DCMAKE_INSTALL_LIBDIR=lib' '-DCLANG_DEFAULT_RTLIB=compiler-rt' '-DCLANG_DEFAULT_UNWINDLIB=libgcc' '-DSANITIZER_HSA_INCLUDE_PATH=/data/rccs-sdt/a01008/tmpdir/spack-stage/spack-stage-llvm-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/spack-src/hsa-runtime/src/inc' '-DSANITIZER_COMGR_INCLUDE_PATH=/data/rccs-sdt/a01008/tmpdir/spack-stage/spack-stage-llvm-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/spack-src/comgr/lib/comgr/include' '-DSANITIZER_AMDGPU:Bool=ON' '/vol0003/rccs-sdt/data/a01008/tmpdir/spack-stage/spack-stage-llvm-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/spack-src/llvm'
5 errors found in build log:
298 -- Targeting AMDGPU
299 -- Targeting X86
300 -- Looking for unwind.h
301 -- Looking for unwind.h - found
302 -- Looking for rpc/xdr.h
303 -- Looking for rpc/xdr.h - not found
>> 304 CMake Error at /vol0003/rccs-sdt/data/a01008/tmpdir/spack-stage/spa
ck-stage-llvm-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/spack-s
rc/compiler-rt/cmake/Modules/CompilerRTUtils.cmake:367 (string):
305 string sub-command REPLACE requires at least four arguments.
306 Call Stack (most recent call first):
307 /vol0003/rccs-sdt/data/a01008/tmpdir/spack-stage/spack-stage-llvm
-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/spack-src/compiler-r
t/CMakeLists.txt:129 (construct_compiler_rt_default_triple)
308
309
310 -- Performing Test CXX_SUPPORTS_UNWINDLIB_NONE_FLAG
...
525 -- Performing Test COMPILER_RT_HAS_BFLOAT16
526 -- Performing Test COMPILER_RT_HAS_BFLOAT16 - Failed
527 -- Performing Test COMPILER_RT_HAS_ASM_LSE
528 -- Performing Test COMPILER_RT_HAS_ASM_LSE - Success
529 -- Builtin supported architectures:
530 -- Supported architectures for crt:
>> 531 CMake Error at /vol0003/rccs-sdt/data/a01008/tmpdir/spack-stage/spa
ck-stage-llvm-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/spack-s
rc/compiler-rt/cmake/Modules/AddCompilerRT.cmake:766 (get_compiler_
rt_output_dir):
532 get_compiler_rt_output_dir Function invoked with incorrect argume
nts for
533 function named: get_compiler_rt_output_dir
534 Call Stack (most recent call first):
535 /vol0003/rccs-sdt/data/a01008/tmpdir/spack-stage/spack-stage-llvm
-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/spack-src/compiler-r
t/unittests/CMakeLists.txt:4 (configure_compiler_rt_lit_site_cfg)
536
537
>> 538 CMake Error at /vol0003/rccs-sdt/data/a01008/tmpdir/spack-stage/spa
ck-stage-llvm-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/spack-s
rc/compiler-rt/cmake/Modules/AddCompilerRT.cmake:766 (get_compiler_
rt_output_dir):
539 get_compiler_rt_output_dir Function invoked with incorrect argume
nts for
540 function named: get_compiler_rt_output_dir
541 Call Stack (most recent call first):
542 /vol0003/rccs-sdt/data/a01008/tmpdir/spack-stage/spack-stage-llvm
-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/spack-src/compiler-r
t/test/CMakeLists.txt:15 (configure_compiler_rt_lit_site_cfg)
543
544
...
602 behavior and not rely on setting a policy to OLD.
603 Call Stack (most recent call first):
604 /data/rccs-sdt/a01008/tmpdir/spack-stage/spack-stage-llvm-amdgpu-
5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/spack-src/rocm-device-libs/C
MakeLists.txt:60 (include)
605
606
607 -- Running constant fold tests
>> 608 CMake Error at cmake/modules/LLVMExternalProjectUtils.cmake:86 (is_
msvc_triple):
609 is_msvc_triple Function invoked with incorrect arguments for func
tion
610 named: is_msvc_triple
611 Call Stack (most recent call first):
612 runtimes/CMakeLists.txt:230 (llvm_ExternalProject_Add)
613 runtimes/CMakeLists.txt:394 (runtime_default_target)
614
615
>> 616 CMake Error at runtimes/CMakeLists.txt:514 (add_dependencies):
617 Cannot add target-level dependencies to non-existent target
618 "check-runtimes".
619
620 The add_dependencies works for top-level logical targets created
by the
621 add_executable, add_library, or add_custom_target commands. If y
ou want to
622 add file-level dependencies see the DEPENDS option of the add_cus
tom_target
See build log for details:
/data/rccs-sdt/a01008/tmpdir/spack-stage/spack-stage-llvm-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u/spack-build-out.txt
==> Warning: Skipping build of comgr-5.6.1-jukexfv7mquec5zywdlfrbmqsa7doia7 since llvm-amdgpu-5.6.1-gu3xya5iaryynvwm4ucxylqpoxoc3d7u failed
==> Error: comgr-5.6.1-jukexfv7mquec5zywdlfrbmqsa7doia7: Package was not installed
==> Error: Installation request failed. Refer to reported errors for failing package(s).
[+] /vol0003/rccs-sdt/data/a01008/spack-all-test/env-20240227/spack/opt/spack/linux-rhel8-a64fx/fj-4.10.0/rocm-cmake-5.6.1-upvvxkjkfy77bt43jkal475kxi345wwd