[petsc-users] Installation issue of 3.18.* and 3.19.0 on Apple systems

Kaus, Boris kaus at uni-mainz.de
Wed Apr 5 15:17:30 CDT 2023


Hi everyone,

I’m trying to install precompiled binaries for PETSc 3.18.5 & 3.19.0 using the BinaryBuilder cross-compilation:
https://github.com/JuliaPackaging/Yggdrasil/pull/6533, which mostly works fine: https://buildkite.com/julialang/yggdrasil/builds/2093).

Yet, on apple systems I receive a somewhat weird bug during the configure step:

[22:08:49] *******************************************************************************
[22:08:49]     TypeError or ValueError possibly related to ERROR in COMMAND LINE ARGUMENT while running ./configure
[22:08:49] -------------------------------------------------------------------------------
[22:08:49] invalid literal for int() with base 10: ''
[22:08:49] *******************************************************************************
[22:08:49]
[22:08:49]
[22:08:49] /workspace/srcdir/petsc-3.18.0/lib/petsc/conf/rules:860: /workspace/srcdir/petsc-3.18.0//lib/petsc/conf/petscrules: No such file or directory
[22:08:49] make[1]: *** No rule to make target '/workspace/srcdir/petsc-3.18.0//lib/petsc/conf/petscrules'.  Stop.
[22:08:49] /workspace/srcdir/petsc-3.18.0/lib/petsc/conf/rules:860: /workspace/srcdir/petsc-3.18.0//lib/petsc/conf/petscrules: No such file or directory
[22:08:49] make[1]: *** No rule to make target '/workspace/srcdir/petsc-3.18.0//lib/petsc/conf/petscrules'.  Stop.
[22:08:49] make: *** [GNUmakefile:17: /workspace/srcdir/petsc-3.18.0//lib/petsc/conf/petscvariables] Error 2
[22:08:49] make: *** Waiting for unfinished jobs....
[22:08:49] make: *** [GNUmakefile:17: lib/petsc/conf/petscvariables] Error 2

The log file is rather brief:

sandbox:${WORKSPACE}/srcdir/petsc-3.18.0 # more configure.log
Executing: uname -s
stdout: Darwin

It works fine for PETSc 3.16.5/3.17.5, and this first occurs in 3.18.0.
Is there something that changed between 3.17 & 3.18 that could cause this?

The build system seems to use python3.9 (3.4+ as required)

Thanks!
Boris




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230405/d22bd12d/attachment.html>


More information about the petsc-users mailing list