Great! I created MR for this change
https://gitlab.com/petsc/petsc/-/merge_requests/6289
Satish
On Thu, 6 Apr 2023, Kaus, Boris wrote:
> Apologies, mistake on my side. Yes this works - thanks a lot for your help!
>
> Boris
>
> On 6. Apr 2023, at 00:56, Satish Balay wrote:
>
> This is strang
Apologies, mistake on my side. Yes this works - thanks a lot for your help!
Boris
On 6. Apr 2023, at 00:56, Satish Balay wrote:
This is strange. I can trigger the error with:
- v = tuple([int(a) for a in platform.mac_ver()[0].split('.')])
+ v = tuple([int('')])
and this fix
This is strange. I can trigger the error with:
- v = tuple([int(a) for a in platform.mac_ver()[0].split('.')])
+ v = tuple([int('')])
and this fix is able to overcome it.
I pushed this change to `balay/fix-macos-version-check` branch - can you try
from it?
Satish
On Wed, 5
I don’t understand why this keeps giving the same error (shouldn’t):
sandbox:${WORKSPACE}/srcdir/petsc-3.18.0 # ./configure
--prefix=/workspace/destdir/lib/petsc/double_real_Int32/
***
TypeError or ValueError possibl
Ah - my patch was buggy.
> +except RuntimeError:
should be: 'except:' i.e:
diff --git a/config/BuildSystem/config/setCompilers.py
b/config/BuildSystem/config/setCompilers.py
index 57848e736e3..e191c1e1b4d 100644
--- a/config/BuildSystem/config/setCompilers.py
+++ b/config/BuildSystem/co
Perhaps python is broken, or perhaps this is because it is not a real Mac OS,
but an emulated one.
Seems a similar error now occurs a bit down the line:
---
sandbox:${WORKSPACE}/srcdir/petsc-3.18.0 # ./configure
--prefix=/workspace/destdir/lib/petsc/double_real_Int32/
Hm - broken python? Either way configure should not fail. Perhaps the following
fix:
Satish
---
diff --git a/config/BuildSystem/config/setCompilers.py
b/config/BuildSystem/config/setCompilers.py
index e4d13bea58f..ae53d1e397e 100644
--- a/config/BuildSystem/config/setCompilers.py
+++ b/config/
The documentation does say
Entries which cannot be determined are set to ''
so I guess we need a guard.
Matt
On Wed, Apr 5, 2023 at 5:04 PM Kaus, Boris wrote:
> That indeed seems to be the issue:
>
> sandbox:${WORKSPACE}/srcdir/petsc-3.18.0 # python3
> Python 3.9.7 (default, Nov 24 2021,
That indeed seems to be the issue:
sandbox:${WORKSPACE}/srcdir/petsc-3.18.0 # python3
Python 3.9.7 (default, Nov 24 2021, 21:15:59)
[GCC 10.3.1 20211027] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.mac_ver()
('', ('', '', ''), ''
Sorry, Was looking at the wrong place.
> v = tuple([int(a) for a in platform.mac_ver()[0].split('.')])
Can you try:
balay@ypro petsc % python3
Python 3.9.6 (default, Mar 10 2023, 20:16:38)
[Clang 14.0.3 (clang-1403.0.22.14.1)] on darwin
Type "help", "copyright", "credits" or "license" for mor
In case anyone wants to reproduce this:
$julia build_tarballs.jl --debug --verbose
aarch64-apple-darwin-libgfortran5-mpi+openmpi
Here build_tarballs.jl is given here:
https://github.com/JuliaPackaging/Yggdrasil/blob/46a609970e3236610804a66903936ea1d6fa3759/P/PETSc/build_tarballs.jl
It requires
Don’t think so:
sandbox:${WORKSPACE}/srcdir/petsc-3.18.0 # env
_=/usr/bin/env
VERBOSE=true
BUILD_LD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-ld
OLDPWD=/workspace/srcdir/petsc-3.18.0
host_libdir=/workspace/x86_64-linux-musl-cxx11/destdir/lib
nproc=8
target=aarch64-apple-darwin20
bindir=/w
Well this doesn't trigger the error for me. Do you have any env variables set
with unicode [non-ascii] chars?
Satish
---
balay@ypro petsc-3.19.0 % sw_vers
ProductName:macOS
ProductVersion: 13.3
BuildVersion: 22E252
balay@ypro petsc-3.19.0 % ./configure --wi
That gives this:
sandbox:${WORKSPACE}/srcdir/petsc-3.18.0 # ./configure
--prefix=/workspace/destdir/lib/petsc/double_real_Int32/
['--prefix=/workspace/destdir/lib/petsc/double_real_Int32/']
***
TypeError or ValueError
Is it possible some unicode chars are in configure options?
Perhaps debug with:
diff --git a/config/configure.py b/config/configure.py
index e00a7a9617c..a95483b61a5 100755
--- a/config/configure.py
+++ b/config/configure.py
@@ -455,6 +455,7 @@ def petsc_configure(configure_options):
tbo = Non
It can be reproduced with this:
sandbox:${WORKSPACE}/srcdir/petsc-3.18.0 # ./configure
--prefix=/workspace/destdir/lib/petsc/double_real_Int32/
***
TypeError or ValueError possibly related to ERROR in COMMAND LINE ARGU
It seems there's some typo/error in the configure command that is being
executed. Can you post it here?
Il giorno mer 5 apr 2023 alle ore 23:18 Kaus, Boris ha
scritto:
> Hi everyone,
>
> I’m trying to install precompiled binaries for PETSc 3.18.5 & 3.19.0 using
> the BinaryBuilder cross-compilat
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
18 matches
Mail list logo