Skip to content

Instantly share code, notes, and snippets.

@QiangF
Created June 8, 2024 03:08
Show Gist options
  • Save QiangF/f3a1207be7e39cd134f8bebd276b710c to your computer and use it in GitHub Desktop.
Save QiangF/f3a1207be7e39cd134f8bebd276b710c to your computer and use it in GitHub Desktop.
q@mypc:calculix-build-pastix$ ./07_build_pastix_kabbone.sh
patching file CMakeLists.txt
patching file spm/src/spm.c
patching file bcsc/bcsc_z.h
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- The Fortran compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc13 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++13 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /usr/bin/gfortran13 - skipped
-- Found PythonInterp: /usr/local/bin/python2.7
-- Building for target x86_64
-- Found target X86_64
-- Performing Test C_M32or64
-- Performing Test C_M32or64 - Failed
-- Performing Test HAVE_WALL
-- Performing Test HAVE_WALL - Success
-- Performing Test HAVE_WEXTRA
-- Performing Test HAVE_WEXTRA - Success
-- Performing Test HAVE_G3
-- Performing Test HAVE_G3 - Success
-- Performing Test HAVE_ATOMIC_GCC_32_BUILTINS
-- Performing Test HAVE_ATOMIC_GCC_32_BUILTINS - Success
-- Performing Test HAVE_ATOMIC_GCC_64_BUILTINS
-- Performing Test HAVE_ATOMIC_GCC_64_BUILTINS - Success
-- Performing Test HAVE_ATOMIC_GCC_128_BUILTINS
-- Performing Test HAVE_ATOMIC_GCC_128_BUILTINS - Failed
-- Performing Test HAVE_ATOMIC_GCC_128_BUILTINS
-- Performing Test HAVE_ATOMIC_GCC_128_BUILTINS - Success
-- Performing Test HAVE_ATOMIC_XLC_32_BUILTINS
-- Performing Test HAVE_ATOMIC_XLC_32_BUILTINS - Failed
-- Performing Test HAVE_ATOMIC_MIPOSPRO_32_BUILTINS
-- Performing Test HAVE_ATOMIC_MIPOSPRO_32_BUILTINS - Failed
-- Performing Test HAVE_ATOMIC_SUN_32
-- Performing Test HAVE_ATOMIC_SUN_32 - Failed
-- support for 32 bits atomics - found
-- support for 64 bits atomics - found
-- support for 128 bits atomics - found
-- Performing Test HAVE_FALLTHROUGH
-- Performing Test HAVE_FALLTHROUGH - Success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Looking for sched_setaffinity
-- Looking for sched_setaffinity - found
-- Performing Test HAVE_TIMESPEC_TV_NSEC
-- Performing Test HAVE_TIMESPEC_TV_NSEC - Success
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for include file stdarg.h
-- Looking for include file stdarg.h - found
-- Performing Test HAVE_VA_COPY
-- Performing Test HAVE_VA_COPY - Success
-- Looking for asprintf
-- Looking for asprintf - found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for include file getopt.h
-- Looking for include file getopt.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for getopt_long
-- Looking for getopt_long - found
-- Looking for include file errno.h
-- Looking for include file errno.h - found
-- Looking for include file stddef.h
-- Looking for include file stddef.h - found
-- Looking for include file stdbool.h
-- Looking for include file stdbool.h - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for RUSAGE_THREAD
-- Looking for RUSAGE_THREAD - not found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file libgen.h
-- Looking for include file libgen.h - found
-- Looking for include file complex.h
-- Looking for include file complex.h - found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file syslog.h
-- Looking for include file syslog.h - found
-- A cache variable, namely CBLAS_DIR, has been set to specify the install directory of CBLAS
-- A cache variable, namely BLAS_DIR, has been set to specify the install directory of BLAS
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.1")
-- Checking for one of the modules 'mkl-dynamic-lp64-iomp'
-- Checking for one of the modules 'mkl-dynamic-lp64-seq'
-- Looking for BLAS - found using PkgConfig
-- Looking for cblas_dscal
-- Looking for cblas_dscal - found
-- Looking for cblas_zgemm3m
-- Looking for cblas_zgemm3m - found
-- Looking for cblas: test with blas succeeds
-- Looking for cblas_dscal
-- Looking for cblas_dscal - found
-- Found CBLAS: /opt/intel/oneapi/mkl/latest/lib/libmkl_intel_lp64.so;/opt/intel/oneapi/mkl/latest/lib/libmkl_sequential.so;/opt/intel/oneapi/mkl/latest/lib/libmkl_core.so;/usr/lib/libpthread.a;/usr/lib/libm.so;/usr/lib/libdl.a
-- cblas:
-- A cache variable, namely LAPACKE_DIR, has been set to specify the install directory of LAPACKE
-- A cache variable, namely LAPACK_DIR, has been set to specify the install directory of LAPACK
-- Looking for BLAS - found using PkgConfig
-- Looking for Fortran CHEEV
-- Looking for Fortran CHEEV - found
-- Looking for LAPACK in BLAS: found
-- Checking for one of the modules 'mkl-dynamic-lp64-iomp'
-- Checking for one of the modules 'mkl-dynamic-lp64-seq'
-- Looking for LAPACK - found using PkgConfig
-- A library with LAPACK API found.
-- LAPACK_LIBRARIES /opt/intel/oneapi/mkl/latest/lib/libmkl_intel_lp64.so;/opt/intel/oneapi/mkl/latest/lib/libmkl_sequential.so;/opt/intel/oneapi/mkl/latest/lib/libmkl_core.so;/usr/lib/libpthread.a;/usr/lib/libm.so;/usr/lib/libdl.a
-- Looking for LAPACKE_dgeqrf
-- Looking for LAPACKE_dgeqrf - found
-- Looking for LAPACKE_dlascl_work
-- Looking for LAPACKE_dlascl_work - found
-- Looking for lapacke: test with lapack succeeds
-- Looking for LAPACKE_dgeqrf
-- Looking for LAPACKE_dgeqrf - found
-- Looking for LAPACKE_dlascl_work
-- Looking for LAPACKE_dlascl_work - found
-- Found LAPACKE: /opt/intel/oneapi/mkl/latest/lib/libmkl_intel_lp64.so;/opt/intel/oneapi/mkl/latest/lib/libmkl_sequential.so;/opt/intel/oneapi/mkl/latest/lib/libmkl_core.so;/usr/lib/libpthread.a;/usr/lib/libm.so;/usr/lib/libdl.a
-- lapacke:
-- A cache variable, namely HWLOC_DIR, has been set to specify the install directory of HWLOC
-- Checking for one of the modules 'hwloc'
-- Looking for HWLOC - found using PkgConfig
-- Looking for hwloc_topology_init
-- Looking for hwloc_topology_init - found
-- Found HWLOC: /usr/lib/libhwloc.so
-- Performing Test HAVE_HWLOC_PARENT_MEMBER
-- Performing Test HAVE_HWLOC_PARENT_MEMBER - Success
-- Performing Test HAVE_HWLOC_CACHE_ATTR
-- Performing Test HAVE_HWLOC_CACHE_ATTR - Success
-- Performing Test HAVE_HWLOC_OBJ_PU
-- Performing Test HAVE_HWLOC_OBJ_PU - Success
-- Looking for hwloc_bitmap_free in /usr/lib/libhwloc.so
-- Looking for hwloc_bitmap_free in /usr/lib/libhwloc.so - found
-- A cache variable, namely PARSEC_DIR, has been set to specify the install directory of PARSEC
-- Looking for PARSEC - Try to detect pthread
-- Looking for PARSEC - Try to detect libm
-- Looking for PARSEC - Try to detect librt
-- Looking for PARSEC - Try to detect libdl
-- Looking for HWLOC - found using PkgConfig
-- Looking for hwloc_topology_init
-- Looking for hwloc_topology_init - found
-- Checking for one of the modules 'parsec'
-- Looking for PARSEC - found using PkgConfig
-- Looking for parsec_init
-- Looking for parsec_init - found
-- Found PARSEC: /tmp/my_cache/calculix-build-pastix/lib/libparsec.a;/usr/lib/libexecinfo.so;/usr/lib/libpciaccess.so;/usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0/libatomic.so;/usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0/libgfortran.so;/usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0/libquadmath.so;/usr/lib/libm.so;/usr/lib/libc.so;/usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0/libgcc_s.so;/usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0/libgcc.a;/usr/lib/libhwloc.so
-- A cache variable, namely SCOTCH_DIR, has been set to specify the install directory of SCOTCH
-- Looking for SCOTCH_graphInit
-- Looking for SCOTCH_graphInit - found
-- Performing Test SCOTCH_Num_4
-- Performing Test SCOTCH_Num_4 - Failed
-- Performing Test SCOTCH_Num_8
-- Performing Test SCOTCH_Num_8 - Success
-- Found SCOTCH: /tmp/my_cache/calculix-build-pastix/lib/libscotch.a;/tmp/my_cache/calculix-build-pastix/lib/libscotcherrexit.a;/usr/lib/libz.so;/usr/lib/libm.so;/usr/lib/librt.a
-- Scotch inlude dirs: /tmp/my_cache/calculix-build-pastix/include
-- Checking for one of the modules 'gtg'
-- Building for target x86_64
-- Found target X86_64
-- Looking for BLAS - found using PkgConfig
-- Looking for cblas_dscal
-- Looking for cblas_dscal - found
-- Looking for cblas: test with blas succeeds
-- Looking for cblas_dscal
-- Looking for cblas_dscal - found
-- Looking for BLAS - found using PkgConfig
-- Looking for Fortran CHEEV
-- Looking for Fortran CHEEV - found
-- Looking for LAPACK in BLAS: found
-- Checking for one of the modules 'mkl-dynamic-lp64-iomp'
-- Checking for one of the modules 'mkl-dynamic-lp64-seq'
-- Looking for LAPACK - found using PkgConfig
-- A library with LAPACK API found.
-- LAPACK_LIBRARIES /opt/intel/oneapi/mkl/latest/lib/libmkl_intel_lp64.so;/opt/intel/oneapi/mkl/latest/lib/libmkl_sequential.so;/opt/intel/oneapi/mkl/latest/lib/libmkl_core.so;/usr/lib/libpthread.a;/usr/lib/libm.so;/usr/lib/libdl.a
-- Looking for LAPACKE_dgeqrf
-- Looking for LAPACKE_dgeqrf - found
-- Looking for LAPACKE_dlascl_work
-- Looking for LAPACKE_dlascl_work - found
-- Looking for lapacke: test with lapack succeeds
-- Looking for LAPACKE_dgeqrf
-- Looking for LAPACKE_dgeqrf - found
-- Looking for LAPACKE_dlascl_work
-- Looking for LAPACKE_dlascl_work - found
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/spm
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/spm - Done
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/spm
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/spm - Done
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/spm/tests
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/spm/tests - Done
-- --- Python wrapper is disabled with static libraries
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/kernels
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/kernels - Done
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/kernels
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/kernels - Done
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/refinement
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/refinement - Done
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/sopalin/parsec
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/sopalin/parsec - Done
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/sopalin/parsec
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/sopalin/parsec - Done
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/sopalin/parsec
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/sopalin/parsec - Done
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix - Done
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix - Done
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix - Done
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix - Done
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix - Done
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix - Done
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/test
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/test - Done
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/test
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/test - Done
-- A cache variable, namely TMG_DIR, has been set to specify the install directory of TMG
-- Looking for BLAS - found using PkgConfig
-- Looking for Fortran CHEEV
-- Looking for Fortran CHEEV - found
-- Looking for LAPACK in BLAS: found
-- Checking for one of the modules 'mkl-dynamic-lp64-iomp'
-- Checking for one of the modules 'mkl-dynamic-lp64-seq'
-- Looking for LAPACK - found using PkgConfig
-- A library with LAPACK API found.
-- LAPACK_LIBRARIES /opt/intel/oneapi/mkl/latest/lib/libmkl_intel_lp64.so;/opt/intel/oneapi/mkl/latest/lib/libmkl_sequential.so;/opt/intel/oneapi/mkl/latest/lib/libmkl_core.so;/usr/lib/libpthread.a;/usr/lib/libm.so;/usr/lib/libdl.a
-- Looking for Fortran dlarnv
-- Looking for Fortran dlarnv - found
-- Looking for Fortran dlagsy
-- Looking for Fortran dlagsy - found
-- Looking for tmg: test with lapack succeeds
-- Looking for Fortran dlarnv
-- Looking for Fortran dlarnv - found
-- Looking for Fortran dlagsy
-- Looking for Fortran dlagsy - found
-- Found TMG: /opt/intel/oneapi/mkl/latest/lib/libmkl_intel_lp64.so;/opt/intel/oneapi/mkl/latest/lib/libmkl_sequential.so;/opt/intel/oneapi/mkl/latest/lib/libmkl_core.so;/usr/lib/libpthread.a;/usr/lib/libm.so;/usr/lib/libdl.a
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/test
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/test - Done
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/test
-- Generate precision dependencies in /tmp/my_cache/calculix-build-pastix/source/pastix4calculix/test - Done
-- --- Python wrapper is disabled with static libraries
-- Configuring done (9.5s)
CMake Error at test/CMakeLists.txt:43 (add_library):
No SOURCES given to target: bcsc_test
CMake Error at test/CMakeLists.txt:122 (add_library):
No SOURCES given to target: pastix_tests
CMake Generate step failed. Build files cannot be regenerated correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment