Package Details: pastix 6.4.0-1

Git Clone URL: https://aur.archlinux.org/pastix.git (read-only, click to copy)
Package Base: pastix
Description: High performance parallel solver for very large sparse linear systems based on direct methods
Upstream URL: https://gitlab.inria.fr/solverstack/pastix
Keywords: computing scientific
Licenses: LGPL-3.0-only
Provides: libpastix.so, libpastix_kernels.so, libspm.so, libspmf.so
Submitter: myles
Maintainer: lahwaacz
Last Packager: lahwaacz
Votes: 1
Popularity: 0.000000
First Submitted: 2015-10-03 13:29 (UTC)
Last Updated: 2024-07-14 20:21 (UTC)

Latest Comments

1 2 Next › Last »

MartinDiehl commented on 2023-09-19 08:53 (UTC)

@lahwaacz: thanks for the quick reply.

I can compile it on a different system, where the CFLags look like yours. I don't understand fully why C options influence the compilation of Fortran code, but it seems that the options on my other system lead to the issue. I'll investigate that later.

Another thing I noticed is that it finds an oneAPI BLAS even though I don't have blas-mkl installed, only intel-oneapi-mkl:

Found LAPACKE: /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_gf_lp64.so;/opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_sequential.so;/opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_core.so;-lm;-ldl

lahwaacz commented on 2023-09-19 07:26 (UTC)

@MartinDiehl The CFlags should be like this:

CFlags ..............:  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/pastix/src=/usr/src/debug/pastix -flto=auto -Wall -Wextra -mcx16 -Drestrict=

Have you modified CFLAGS in your makepkg.conf?

MartinDiehl commented on 2023-09-19 06:24 (UTC)

@lahwaacz

I have gcc version 13.2.1 20230801.

The configuration log is

-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- The Fortran compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - 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/c++ - 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/gfortran - skipped
-- Submodule update
CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/FindMorseCommon.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:34 (include)
  cmake_modules/morse_cmake/modules/MorseInit.cmake:66 (include)
  CMakeLists.txt:76 (include)


CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/LibrariesAbsolutePath.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:40 (include)
  cmake_modules/morse_cmake/modules/MorseInit.cmake:66 (include)
  CMakeLists.txt:76 (include)


-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") 
CMake Deprecation Warning at cmake_modules/morse_cmake/modules/Sanitizer.cmake:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/MorseInit.cmake:70 (include)
  CMakeLists.txt:76 (include)


-- Performing Test HAVE_C_TSAN
-- Performing Test HAVE_C_TSAN - Success
-- Performing Test HAVE_CXX_TSAN
-- Performing Test HAVE_CXX_TSAN - Success
-- Performing Test HAVE_C_ASAN
-- Performing Test HAVE_C_ASAN - Success
-- Performing Test HAVE_CXX_ASAN
-- Performing Test HAVE_CXX_ASAN - Success
-- Performing Test HAVE_C_LSAN
-- Performing Test HAVE_C_LSAN - Success
-- Performing Test HAVE_CXX_LSAN
-- Performing Test HAVE_CXX_LSAN - Success
-- Performing Test HAVE_C_MSAN
-- Performing Test HAVE_C_MSAN - Failed
-- Performing Test HAVE_CXX_MSAN
-- Performing Test HAVE_CXX_MSAN - Failed
-- Performing Test HAVE_C_UBSAN
-- Performing Test HAVE_C_UBSAN - Success
-- Performing Test HAVE_CXX_UBSAN
-- Performing Test HAVE_CXX_UBSAN - Success
CMake Deprecation Warning at cmake_modules/CheckSystem.cmake:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  CMakeLists.txt:89 (include)


-- Building for target x86_64
-- Found target X86_64
-- 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 - 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 HAVE_BUILTIN_EXPECT
-- Performing Test HAVE_BUILTIN_EXPECT - Success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- 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
-- Looking for getline
-- Looking for getline - found
-- Looking for mkdtemp
-- Looking for mkdtemp - found
CMake Deprecation Warning at cmake_modules/CheckSubnormals.cmake:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  CMakeLists.txt:90 (include)


-- Performing Test HAVE_FTZ_MACROS
-- Performing Test HAVE_FTZ_MACROS - Success
-- Performing Test HAVE_DAZ_MACROS
-- Performing Test HAVE_DAZ_MACROS - Success
-- Performing Test HAVE_MATH
-- Performing Test HAVE_MATH - Failed
-- Performing Test LIBM_MATH_WORKS
-- Performing Test LIBM_MATH_WORKS - Success
-- Found M: /usr/lib/libm.so  
CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/FindMorseCommon.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:34 (include)
  cmake_modules/morse_cmake/modules/find/FindCBLAS.cmake:83 (include)
  CMakeLists.txt:264 (find_package)


CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/LibrariesAbsolutePath.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:40 (include)
  cmake_modules/morse_cmake/modules/find/FindCBLAS.cmake:83 (include)
  CMakeLists.txt:264 (find_package)


-- Looking for Fortran sgemm
-- Looking for Fortran sgemm - not found
-- Looking for Fortran sgemm
-- Looking for Fortran sgemm - found
-- Looking for Fortran sgemm
-- Looking for Fortran sgemm - found
-- CBLAS_BLAS BLAS_SEQ
-- Looking for cblas_dscal
-- Looking for cblas_dscal - found
-- Looking for cblas_zgemm3m
-- Looking for cblas_zgemm3m - found
-- Looking for cblas_cgemm3m
-- Looking for cblas_cgemm3m - found
-- CBLAS_WORKS 1
-- Looking for cblas: test with blas succeeded
-- Found CBLAS: /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_gf_lp64.so;/opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_sequential.so;/opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_core.so;-lm;-ldl  
CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/FindMorseCommon.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:34 (include)
  cmake_modules/morse_cmake/modules/find/FindLAPACKE.cmake:78 (include)
  CMakeLists.txt:273 (find_package)


CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/LibrariesAbsolutePath.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:40 (include)
  cmake_modules/morse_cmake/modules/find/FindLAPACKE.cmake:78 (include)
  CMakeLists.txt:273 (find_package)


-- Looking for Fortran cheev
-- Looking for Fortran cheev - found
-- 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 succeeded
-- Found LAPACKE: /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_gf_lp64.so;/opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_sequential.so;/opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_core.so;-lm;-ldl  
CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/FindMorseCommon.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:34 (include)
  cmake_modules/morse_cmake/modules/find/FindHWLOC.cmake:54 (include)
  CMakeLists.txt:279 (find_package)


CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/LibrariesAbsolutePath.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:40 (include)
  cmake_modules/morse_cmake/modules/find/FindHWLOC.cmake:54 (include)
  CMakeLists.txt:279 (find_package)


-- FindHWLOC needs pkg-config program and PKG_CONFIG_PATH set HWLOC.pc file path.
-- 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  
-- Found MPI_C: /usr/lib/libmpi.so (found version "3.1") 
-- Found MPI_CXX: /usr/lib/libmpi_cxx.so (found version "3.1") 
-- Found MPI_Fortran: /usr/lib/libmpi_usempif08.so (found version "3.1") 
-- Found MPI: TRUE (found version "3.1")  
CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/FindMorseCommon.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:34 (include)
  cmake_modules/morse_cmake/modules/find/FindSCOTCH.cmake:60 (include)
  CMakeLists.txt:421 (find_package)


CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/LibrariesAbsolutePath.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:40 (include)
  cmake_modules/morse_cmake/modules/find/FindSCOTCH.cmake:60 (include)
  CMakeLists.txt:421 (find_package)


-- Looking for SCOTCH_graphInit
-- Looking for SCOTCH_graphInit - found
-- Looking for SCOTCH_contextInit
-- Looking for SCOTCH_contextInit - found
-- Performing Test SCOTCH_Num_4
-- Performing Test SCOTCH_Num_4 - Success
-- Performing Test SCOTCH_Num_8
-- Performing Test SCOTCH_Num_8 - Failed
-- Found SCOTCH: /usr/lib/libscotch.so;/usr/lib/libscotcherrexit.so;;/usr/lib/libz.so;/usr/lib/libm.so;/usr/lib/librt.a  
CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/FindMorseCommon.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:34 (include)
  cmake_modules/morse_cmake/modules/find/FindMETIS.cmake:56 (include)
  CMakeLists.txt:444 (find_package)


CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/LibrariesAbsolutePath.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:40 (include)
  cmake_modules/morse_cmake/modules/find/FindMETIS.cmake:56 (include)
  CMakeLists.txt:444 (find_package)


-- Looking for METIS_NodeND
-- Looking for METIS_NodeND - found
-- Performing Test METIS_Idx_4
-- Performing Test METIS_Idx_4 - Success
-- Performing Test METIS_Idx_8
-- Performing Test METIS_Idx_8 - Failed
-- Found METIS: /usr/lib/libmetis.so;/usr/lib/libm.so  
CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/FindMorseCommon.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:34 (include)
  cmake_modules/morse_cmake/modules/find/FindGTG.cmake:54 (include)
  CMakeLists.txt:462 (find_package)


CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/LibrariesAbsolutePath.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:40 (include)
  cmake_modules/morse_cmake/modules/find/FindGTG.cmake:54 (include)
  CMakeLists.txt:462 (find_package)


-- Checking for one of the modules 'gtg'
-- Use internal SPM
CMake Deprecation Warning at spm/CMakeLists.txt:13 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at cmake_modules/CheckSystem.cmake:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  spm/CMakeLists.txt:97 (include)


-- Building for target x86_64
-- Found target X86_64
CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/FindMorseCommon.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:34 (include)
  cmake_modules/morse_cmake/modules/find/FindCBLAS.cmake:83 (include)
  spm/CMakeLists.txt:108 (find_package)


CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/LibrariesAbsolutePath.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:40 (include)
  cmake_modules/morse_cmake/modules/find/FindCBLAS.cmake:83 (include)
  spm/CMakeLists.txt:108 (find_package)


-- CBLAS_BLAS BLAS_SEQ
-- Looking for cblas_dscal
-- Looking for cblas_dscal - found
-- Looking for cblas_zgemm3m
-- Looking for cblas_zgemm3m - found
-- Looking for cblas_cgemm3m
-- Looking for cblas_cgemm3m - found
-- CBLAS_WORKS 1
-- Looking for cblas: test with blas succeeded
CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/FindMorseCommon.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:34 (include)
  cmake_modules/morse_cmake/modules/find/FindLAPACKE.cmake:78 (include)
  spm/CMakeLists.txt:110 (find_package)


CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/LibrariesAbsolutePath.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:40 (include)
  cmake_modules/morse_cmake/modules/find/FindLAPACKE.cmake:78 (include)
  spm/CMakeLists.txt:110 (find_package)


-- 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 succeeded
-- Looking for LAPACKE_zlassq_work
-- Looking for LAPACKE_zlassq_work - not found
-- Add definition LAPACKE_WITH_LASCL
CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/FindMorseCommon.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:34 (include)
  cmake_modules/morse_cmake/modules/find/FindSCOTCH.cmake:60 (include)
  spm/CMakeLists.txt:138 (find_package)


CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/LibrariesAbsolutePath.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:40 (include)
  cmake_modules/morse_cmake/modules/find/FindSCOTCH.cmake:60 (include)
  spm/CMakeLists.txt:138 (find_package)


-- Looking for SCOTCH_graphInit
-- Looking for SCOTCH_graphInit - found
-- Looking for SCOTCH_contextInit
-- Looking for SCOTCH_contextInit - found
-- Performing Test SCOTCH_Num_4
-- Performing Test SCOTCH_Num_4 - Success
-- Performing Test SCOTCH_Num_8
-- Performing Test SCOTCH_Num_8 - Failed
-- Generate precision dependencies in /tmp/pastix/src/pastix/spm
-- Generate precision dependencies in /tmp/pastix/src/pastix/spm - Done
CMake Deprecation Warning at cmake_modules/CheckSystem.cmake:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  spm/src/CMakeLists.txt:15 (include)


-- Building for target x86_64
-- Found target X86_64
-- Generate precision dependencies in /tmp/pastix/src/pastix/spm/src
-- Generate precision dependencies in /tmp/pastix/src/pastix/spm/src - Done
CMake Deprecation Warning at spm/examples/CMakeLists.txt:12 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Generate precision dependencies in /tmp/pastix/src/pastix/spm/tests
-- Generate precision dependencies in /tmp/pastix/src/pastix/spm/tests - Done
CMake Deprecation Warning at spm/wrappers/fortran90/CMakeLists.txt:13 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Generate precision dependencies in /tmp/pastix/src/pastix/kernels
-- Generate precision dependencies in /tmp/pastix/src/pastix/kernels - Done
-- Generate precision dependencies in /tmp/pastix/src/pastix/kernels
-- Generate precision dependencies in /tmp/pastix/src/pastix/kernels - Done
-- Generate precision dependencies in /tmp/pastix/src/pastix/kernels
-- Generate precision dependencies in /tmp/pastix/src/pastix/kernels - Done
-- Generate precision dependencies in /tmp/pastix/src/pastix/kernels
-- Generate precision dependencies in /tmp/pastix/src/pastix/kernels - Done
-- Generate precision dependencies in /tmp/pastix/src/pastix/refinement
-- Generate precision dependencies in /tmp/pastix/src/pastix/refinement - Done
-- Generate precision dependencies in /tmp/pastix/src/pastix
-- Generate precision dependencies in /tmp/pastix/src/pastix - Done
-- Generate precision dependencies in /tmp/pastix/src/pastix
-- Generate precision dependencies in /tmp/pastix/src/pastix - Done
-- Generate precision dependencies in /tmp/pastix/src/pastix
-- Generate precision dependencies in /tmp/pastix/src/pastix - Done
-- Generate precision dependencies in /tmp/pastix/src/pastix
-- Generate precision dependencies in /tmp/pastix/src/pastix - Done
-- Generate precision dependencies in /tmp/pastix/src/pastix
-- Generate precision dependencies in /tmp/pastix/src/pastix - Done
-- Generate precision dependencies in /tmp/pastix/src/pastix
-- Generate precision dependencies in /tmp/pastix/src/pastix - Done
-- Generate precision dependencies in /tmp/pastix/src/pastix
-- Generate precision dependencies in /tmp/pastix/src/pastix - Done
CMake Deprecation Warning at example/CTestLists.txt:14 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  example/CMakeLists.txt:86 (include)


-- Generate precision dependencies in /tmp/pastix/src/pastix/test
-- Generate precision dependencies in /tmp/pastix/src/pastix/test - Done
-- Generate precision dependencies in /tmp/pastix/src/pastix/test
-- Generate precision dependencies in /tmp/pastix/src/pastix/test - Done
CMake Deprecation Warning at wrappers/fortran90/CMakeLists.txt:12 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP_Fortran: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- Found UnixCommands: /usr/bin/bash  
-- Found Doxygen: /usr/bin/doxygen (found version "1.9.8") found components: doxygen dot 

Configuration of Pastix:
       PASTIX_VERSION ......: 6.3.0
       BUILD_TYPE ..........: Release
       BUILDNAME ...........: Linux-amd64-cc-Release-MPI
       SITE ................: quadcore

       Compiler: C .........: /usr/bin/cc (GNU)
       Compiler: Fortran ...: /usr/bin/gfortran (GNU)
       Compiler: MPI .......: /usr/bin/mpicc
       Compiler flags ......: 
       Linker: .............: /usr/bin/ld

       Build type ..........: Release
       Build shared ........: ON
       CFlags ..............:  -march=native -O2 -pipe -fno-plt -Wall -Wextra -Drestrict=
       LDFlags .............: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
       EXE LDFlags .........: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

       Implementation paradigm
       MPI .................: ON
       CUDA ................: OFF

       Ordering selected
       SCOTCH ..............: ON
         Mutithreaded ......: ON
       PTSCOTCH ............: OFF
       METIS ...............: ON

       Runtime specific
       PARSEC ..............: OFF
       STARPU ..............: OFF

       Kernels specific
       CBLAS ...............: TRUE
       LAPACKE .............: TRUE
       HWLOC ...............: TRUE

       Trace ...............: OFF

       Binaries to build
       documentation .......: ON
       testing .............: ON
       precisions ..........: sdcz

       INSTALL_PREFIX ......: /usr

I have SCOTCH and METIS installed and use openBLAS.

Interestingly, spmCheckAxb is an interface to spmCheckAxb_f08 whose type for x is class(*). But spmCheckAxb_f2c has type(c_ptr) as type for x

lahwaacz commented on 2023-08-08 06:41 (UTC)

@MartinDiehl It still builds fine for me. What is your Fortran compiler?

MartinDiehl commented on 2023-08-07 17:42 (UTC)

I can't compile it at the moment:

[ 86%] Built target spmf
[ 86%] Building Fortran object spm/wrappers/fortran90/CMakeFiles/spmf_driver.dir/examples/spmf_driver.F90.o
/tmp/pastix/src/pastix/spm/wrappers/fortran90/examples/spmf_driver.F90:54:74:

   54 |   call spmGenRHS( SpmRhsRndX, nrhs, spm, x0, spm%nexp, b, spm%nexp, info )
      |                                                                          1
Error: Type mismatch in argument ‘x’ at (1); passed REAL(8) to TYPE(c_ptr)
/tmp/pastix/src/pastix/spm/wrappers/fortran90/examples/spmf_driver.F90:54:74:

   54 |   call spmGenRHS( SpmRhsRndX, nrhs, spm, x0, spm%nexp, b, spm%nexp, info )
      |                                                                          1
Error: Type mismatch in argument ‘b’ at (1); passed REAL(8) to TYPE(c_ptr)
/tmp/pastix/src/pastix/spm/wrappers/fortran90/examples/spmf_driver.F90:62:82:

   62 |   call spmCheckAxb( eps, nrhs, spm, x0, spm%nexp, b, spm%nexp, x, spm%nexp, info )
      |                                                                                  1
Error: Type mismatch in argument ‘x0’ at (1); passed REAL(8) to TYPE(c_ptr)
/tmp/pastix/src/pastix/spm/wrappers/fortran90/examples/spmf_driver.F90:62:82:

   62 |   call spmCheckAxb( eps, nrhs, spm, x0, spm%nexp, b, spm%nexp, x, spm%nexp, info )
      |                                                                                  1
Error: Type mismatch in argument ‘b’ at (1); passed REAL(8) to TYPE(c_ptr)
/tmp/pastix/src/pastix/spm/wrappers/fortran90/examples/spmf_driver.F90:62:82:

   62 |   call spmCheckAxb( eps, nrhs, spm, x0, spm%nexp, b, spm%nexp, x, spm%nexp, info )
      |                                                                                  1
Error: Type mismatch in argument ‘x’ at (1); passed REAL(8) to TYPE(c_ptr)
make[2]: *** [spm/wrappers/fortran90/CMakeFiles/spmf_driver.dir/build.make:75: spm/wrappers/fortran90/CMakeFiles/spmf_driver.dir/examples/spmf_driver.F90.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2019: spm/wrappers/fortran90/CMakeFiles/spmf_driver.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

looks like an upstream issue

carlosal1015 commented on 2023-07-30 15:59 (UTC) (edited on 2023-07-30 16:08 (UTC) by carlosal1015)

Thanks, is fixed now. Related with Scotch, upstream says:

For Scotch, you have a compilation option PASTIX_INT64, that you can turn to OFF if you compile with standard version of Scotch, and switch back to 32 bits integers.

PaStiX 6 will integrated within PETSc in the future.

carlosal1015 commented on 2023-07-30 03:14 (UTC) (edited on 2023-07-30 03:57 (UTC) by carlosal1015)

With recent metis upgrade, can not build the package

==> Making package: pastix 6.3.0-1 (Sat Jul 29 22:14:05 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
CMake Deprecation Warning at CMakeLists.txt:19 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 13.1.1
-- The CXX compiler identification is GNU 13.1.1
-- The Fortran compiler identification is GNU 13.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/sbin/cc - 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/sbin/c++ - 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/sbin/gfortran - skipped
-- Submodule update
CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/FindMorseCommon.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:34 (include)
  cmake_modules/morse_cmake/modules/MorseInit.cmake:66 (include)
  CMakeLists.txt:76 (include)


CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/LibrariesAbsolutePath.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:40 (include)
  cmake_modules/morse_cmake/modules/MorseInit.cmake:66 (include)
  CMakeLists.txt:76 (include)


-- Found PkgConfig: /usr/sbin/pkg-config (found version "1.8.1") 
CMake Deprecation Warning at cmake_modules/morse_cmake/modules/Sanitizer.cmake:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/MorseInit.cmake:70 (include)
  CMakeLists.txt:76 (include)


-- Performing Test HAVE_C_TSAN
-- Performing Test HAVE_C_TSAN - Success
-- Performing Test HAVE_CXX_TSAN
-- Performing Test HAVE_CXX_TSAN - Success
-- Performing Test HAVE_C_ASAN
-- Performing Test HAVE_C_ASAN - Success
-- Performing Test HAVE_CXX_ASAN
-- Performing Test HAVE_CXX_ASAN - Success
-- Performing Test HAVE_C_LSAN
-- Performing Test HAVE_C_LSAN - Success
-- Performing Test HAVE_CXX_LSAN
-- Performing Test HAVE_CXX_LSAN - Success
-- Performing Test HAVE_C_MSAN
-- Performing Test HAVE_C_MSAN - Failed
-- Performing Test HAVE_CXX_MSAN
-- Performing Test HAVE_CXX_MSAN - Failed
-- Performing Test HAVE_C_UBSAN
-- Performing Test HAVE_C_UBSAN - Success
-- Performing Test HAVE_CXX_UBSAN
-- Performing Test HAVE_CXX_UBSAN - Success
CMake Deprecation Warning at cmake_modules/CheckSystem.cmake:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  CMakeLists.txt:89 (include)


-- Building for target x86_64
-- Found target X86_64
-- 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 HAVE_BUILTIN_EXPECT
-- Performing Test HAVE_BUILTIN_EXPECT - Success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- 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
-- Looking for getline
-- Looking for getline - found
-- Looking for mkdtemp
-- Looking for mkdtemp - found
CMake Deprecation Warning at cmake_modules/CheckSubnormals.cmake:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  CMakeLists.txt:90 (include)


-- Performing Test HAVE_FTZ_MACROS
-- Performing Test HAVE_FTZ_MACROS - Success
-- Performing Test HAVE_DAZ_MACROS
-- Performing Test HAVE_DAZ_MACROS - Success
-- Performing Test HAVE_MATH
-- Performing Test HAVE_MATH - Failed
-- Performing Test LIBM_MATH_WORKS
-- Performing Test LIBM_MATH_WORKS - Success
-- Found M: /usr/lib/libm.so  
CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/FindMorseCommon.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:34 (include)
  cmake_modules/morse_cmake/modules/find/FindCBLAS.cmake:83 (include)
  CMakeLists.txt:264 (find_package)


CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/LibrariesAbsolutePath.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:40 (include)
  cmake_modules/morse_cmake/modules/find/FindCBLAS.cmake:83 (include)
  CMakeLists.txt:264 (find_package)


-- Looking for Fortran sgemm
-- Looking for Fortran sgemm - not found
-- Looking for Fortran sgemm
-- Looking for Fortran sgemm - found
-- CBLAS_BLAS BLAS_SEQ
-- Looking for cblas_dscal
-- Looking for cblas_dscal - not found
-- CBLAS_WORKS 
-- Looking for cblas : test with blas failed or CBLAS_STANDALONE enabled
-- Checking for one of the modules 'cblas'
-- Looking for CBLAS - found using PkgConfig
-- Looking for cblas_dscal
-- Looking for cblas_dscal - found
-- Looking for cblas_zgemm3m
-- Looking for cblas_zgemm3m - not found
-- Looking for cblas_cgemm3m
-- Looking for cblas_cgemm3m - not found
-- Found CBLAS: /usr/lib/libcblas.so  
CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/FindMorseCommon.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:34 (include)
  cmake_modules/morse_cmake/modules/find/FindLAPACKE.cmake:78 (include)
  CMakeLists.txt:273 (find_package)


CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/LibrariesAbsolutePath.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:40 (include)
  cmake_modules/morse_cmake/modules/find/FindLAPACKE.cmake:78 (include)
  CMakeLists.txt:273 (find_package)


-- Looking for Fortran cheev
-- Looking for Fortran cheev - not found
-- Looking for Fortran cheev
-- Looking for Fortran cheev - found
-- Looking for LAPACKE_dgeqrf
-- Looking for LAPACKE_dgeqrf - not found
-- Looking for lapacke : test with lapack fails
-- Checking for one of the modules 'lapacke'
-- Looking for LAPACKE - found using PkgConfig
-- Looking for LAPACKE_dgeqrf
-- Looking for LAPACKE_dgeqrf - found
-- Looking for LAPACKE_dlascl_work
-- Looking for LAPACKE_dlascl_work - found
-- Found LAPACKE: /usr/lib/liblapacke.so  
CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/FindMorseCommon.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:34 (include)
  cmake_modules/morse_cmake/modules/find/FindHWLOC.cmake:54 (include)
  CMakeLists.txt:279 (find_package)


CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/LibrariesAbsolutePath.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:40 (include)
  cmake_modules/morse_cmake/modules/find/FindHWLOC.cmake:54 (include)
  CMakeLists.txt:279 (find_package)


-- FindHWLOC needs pkg-config program and PKG_CONFIG_PATH set HWLOC.pc file path.
-- 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  
-- Found MPI_C: /usr/lib/libmpi.so (found version "3.1") 
-- Found MPI_CXX: /usr/lib/libmpi_cxx.so (found version "3.1") 
-- Found MPI_Fortran: /usr/lib/libmpi_usempif08.so (found version "3.1") 
-- Found MPI: TRUE (found version "3.1")  
CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/FindMorseCommon.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:34 (include)
  cmake_modules/morse_cmake/modules/find/FindSCOTCH.cmake:60 (include)
  CMakeLists.txt:421 (find_package)


CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/LibrariesAbsolutePath.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:40 (include)
  cmake_modules/morse_cmake/modules/find/FindSCOTCH.cmake:60 (include)
  CMakeLists.txt:421 (find_package)


-- Looking for SCOTCH_graphInit
-- Looking for SCOTCH_graphInit - found
-- Looking for SCOTCH_contextInit
-- Looking for SCOTCH_contextInit - found
-- Performing Test SCOTCH_Num_4
-- Performing Test SCOTCH_Num_4 - Success
-- Performing Test SCOTCH_Num_8
-- Performing Test SCOTCH_Num_8 - Failed
-- Found SCOTCH: /usr/lib/libscotch.so;/usr/lib/libscotcherrexit.so;;/usr/lib/libz.so;/usr/lib/libm.so;/usr/lib/librt.a  
CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/FindMorseCommon.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:34 (include)
  cmake_modules/morse_cmake/modules/find/FindMETIS.cmake:56 (include)
  CMakeLists.txt:444 (find_package)


CMake Deprecation Warning at cmake_modules/morse_cmake/modules/find/LibrariesAbsolutePath.cmake:22 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake_modules/morse_cmake/modules/find/FindMorseInit.cmake:40 (include)
  cmake_modules/morse_cmake/modules/find/FindMETIS.cmake:56 (include)
  CMakeLists.txt:444 (find_package)


-- Looking for METIS_NodeND
-- Looking for METIS_NodeND - not found
-- Looking for METIS : test of METIS_NodeND with METIS library fails
-- CMAKE_REQUIRED_LIBRARIES: -L/usr/lib;/usr/lib/libmetis.so;/usr/lib/libm.so;/usr/lib/libm.so
-- CMAKE_REQUIRED_INCLUDES: /usr/include
-- CMAKE_REQUIRED_FLAGS: 
-- Check in CMakeFiles/CMakeError.log to figure out why it fails
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find METIS (missing: METIS_WORKS)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake_modules/morse_cmake/modules/find/FindMETIS.cmake:170 (find_package_handle_standard_args)
  CMakeLists.txt:444 (find_package)


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: pastix-exit status 4

Edited: Ok, looks like an issue from METIS side (see pastix/build/CMakeFiles/CMakeConfigureLog.yaml)

      variable: "METIS_WORKS"
      cached: true
      stdout: |
        Change Dir: '/tmp/makepkg/pastix/src/pastix/build/CMakeFiles/CMakeScratch/TryCompile-7OfmiV'

        Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/sbin/make -f Makefile cmTC_8c484/fast
        /usr/sbin/make  -f CMakeFiles/cmTC_8c484.dir/build.make CMakeFiles/cmTC_8c484.dir/build
        make[1]: Entering directory '/tmp/makepkg/pastix/src/pastix/build/CMakeFiles/CMakeScratch/TryCompile-7OfmiV'
        Building C object CMakeFiles/cmTC_8c484.dir/CheckFunctionExists.c.o
        /usr/sbin/cc   -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fc
f-protection -Wall -Wextra -mcx16 -DCHECK_FUNCTION_EXISTS=METIS_NodeND -fPIE -o CMakeFiles/cmTC_8c484.dir/CheckFunctionExists.c.o -c /tmp/makepkg/pastix/src/pastix/build
/CMakeFiles/CMakeScratch/TryCompile-7OfmiV/CheckFunctionExists.c
        Linking C executable cmTC_8c484
        /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8c484.dir/link.txt --verbose=1
        /usr/sbin/cc  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf
-protection -Wall -Wextra -mcx16 -DCHECK_FUNCTION_EXISTS=METIS_NodeND -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  -rdynamic CMakeFiles/cmTC_8c484.dir/CheckFunctio
nExists.c.o -o cmTC_8c484  -L/usr/lib /usr/lib/libmetis.so -lm -lm 
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_malloc_cleanup'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_realloc'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_free'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_sigtrap'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_mcorePush'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_randinit'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_idxsmalloc'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_jbufs'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_mcorePop'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_malloc_init'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_mcoreCreate'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_randint64'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_errexit'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_malloc'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_cur_jbufs'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_siguntrap'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_rmpath'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_CPUSeconds'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_mcoreMalloc'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_mcoreDestroy'
        /usr/sbin/ld: /usr/lib/libmetis.so: undefined reference to `gk_log2'
        collect2: error: ld returned 1 exit status
        make[1]: *** [CMakeFiles/cmTC_8c484.dir/build.make:102: cmTC_8c484] Error 1
        make[1]: Leaving directory '/tmp/makepkg/pastix/src/pastix/build/CMakeFiles/CMakeScratch/TryCompile-7OfmiV'
        make: *** [Makefile:127: cmTC_8c484/fast] Error 2

      exitCode: 2

I found this related link, not sure if is a bug from pastix side.

lahwaacz commented on 2020-12-21 12:46 (UTC)

@myles: if petsc provides pastix, why does it still have pastix in optdepends?

myles commented on 2019-03-21 10:26 (UTC)

Pastix is available via PETSc now.

nate commented on 2017-04-15 04:10 (UTC) (edited on 2017-04-15 04:13 (UTC) by nate)

EDIT: This may already be out of date. This was for version 5.2.2.22-3. As of 5.2.3-1, these steps were not necessary for me. ------- To install this package, I needed to follow the steps here (copied below): https://gforge.inria.fr/forum/forum.php?thread_id=33981&forum_id=598&group_id=186 Inside the src repository : - cp config/LINUX-GNU.in ./config.in (any configuration file can be used and not need to be modified) - make murge_up - make sopalin/src/murge_fortran.c Once I had completed these steps, I was able to run makepkg and install the package.