conda-forge / petsc4py-feedstock

A conda-smithy repository for petsc4py.
BSD 3-Clause "New" or "Revised" License
0 stars 15 forks source link

mac arm openmpi builds are actually intel #59

Closed minrk closed 2 years ago

minrk commented 2 years ago

Solution to issue cannot be found in the documentation.

Issue

mac arm builds are actually intel (https://conda.anaconda.org/conda-forge/osx-arm64/petsc4py-3.17.1-real_h275bb75_100.tar.bz2):

 $ file $CONDA_PREFIX/lib/python3.9/site-packages/petsc4py/lib/PETSc.cpython-39-darwin.so
$CONDA_PREFIX/lib/python3.9/site-packages/petsc4py/lib/PETSc.cpython-39-darwin.so: Mach-O 64-bit bundle x86_64

I'm assuming something in the petsc4py custom build config is taking precedence over the cross-compile env. Not sure exactly which, though, or why compilation/linking doesn't fail.

petsc4py and slepc4py have the same issue. petsc/slepc are both fine.

Installed packages

# packages in environment at /Users/minrk/conda/envs/p4p:
#
# Name                    Version                   Build  Channel
bzip2                     1.0.8                h3422bc3_4    conda-forge
c-ares                    1.18.1               h3422bc3_0    conda-forge
ca-certificates           2022.5.18.1          h4653dfc_0    conda-forge
fftw                      3.3.10          mpi_openmpi_he28bfd0_2    conda-forge
gmp                       6.2.1                h9f76cd9_0    conda-forge
hdf5                      1.12.1          mpi_openmpi_hd5758bf_4    conda-forge
hypre                     2.24.0          mpi_openmpi_hcc3ba7f_1    conda-forge
krb5                      1.19.3               he492e65_0    conda-forge
libblas                   3.9.0           14_osxarm64_openblas    conda-forge
libcblas                  3.9.0           14_osxarm64_openblas    conda-forge
libcurl                   7.83.1               h7965298_0    conda-forge
libcxx                    14.0.4               h6a5c8ee_0    conda-forge
libedit                   3.1.20191231         hc8eb9b7_2    conda-forge
libev                     4.33                 h642e427_1    conda-forge
libffi                    3.4.2                h3422bc3_5    conda-forge
libgfortran               5.0.0.dev0      11_0_1_hf114ba7_23    conda-forge
libgfortran5              11.0.1.dev0         hf114ba7_23    conda-forge
liblapack                 3.9.0           14_osxarm64_openblas    conda-forge
libnghttp2                1.47.0               hf30690b_0    conda-forge
libopenblas               0.3.20          openmp_h2209c59_0    conda-forge
libssh2                   1.10.0               h7a5bd25_2    conda-forge
libzlib                   1.2.12               h90dfc92_0    conda-forge
llvm-openmp               14.0.4               hd125106_0    conda-forge
metis                     5.1.0             h9f76cd9_1006    conda-forge
mpfr                      4.1.0                h6d7a090_1    conda-forge
mpi                       1.0                     openmpi    conda-forge
mumps-include             5.2.1               hce30654_11    conda-forge
mumps-mpi                 5.2.1               h51c74a9_11    conda-forge
ncurses                   6.3                  h07bb92c_1    conda-forge
numpy                     1.22.4           py39h7df2422_0    conda-forge
openmpi                   4.1.3              h63a3ee9_105    conda-forge
openssl                   3.0.3                ha287fd2_0    conda-forge
parmetis                  4.0.3             h6eb5794_1005    conda-forge
petsc                     3.17.2          real_h5d98e65_101    conda-forge
petsc4py                  3.17.1          real_h275bb75_100    conda-forge
pip                       22.1.2             pyhd8ed1ab_0    conda-forge
ptscotch                  6.0.9                h1aec651_2    conda-forge
python                    3.9.13          h96fcbfb_0_cpython    conda-forge
python_abi                3.9                      2_cp39    conda-forge
readline                  8.1                  hedafd6a_0    conda-forge
scalapack                 2.2.0                h515df86_1    conda-forge
scotch                    6.0.9                h7537618_2    conda-forge
setuptools                62.3.2           py39h2804cbe_0    conda-forge
sqlite                    3.38.5               h40dfcc0_0    conda-forge
suitesparse               5.10.1               h7cd81ec_1    conda-forge
superlu                   5.2.2                hc615359_0    conda-forge
superlu_dist              7.2.0                hfdb8677_0    conda-forge
tbb                       2021.5.0             h3e96240_1    conda-forge
tk                        8.6.12               he1e0b03_0    conda-forge
tzdata                    2022a                h191b570_0    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
xz                        5.2.5                h642e427_1    conda-forge
yaml                      0.2.5                h3422bc3_2    conda-forge
zlib                      1.2.12               h90dfc92_0    conda-forge

Environment info

active environment : p4p
    active env location : /Users/minrk/conda/envs/p4p
            shell level : 3
       user config file : /Users/minrk/.condarc
 populated config files : /Users/minrk/conda/.condarc
                          /Users/minrk/.condarc
          conda version : 4.13.0
    conda-build version : 3.21.9
         python version : 3.9.10.final.0
       virtual packages : __osx=12.3=0
                          __unix=0=0
                          __archspec=1=arm64
       base environment : /Users/minrk/conda  (writable)
      conda av data dir : /Users/minrk/conda/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/osx-arm64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-arm64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/minrk/conda/pkgs
                          /Users/minrk/.conda/pkgs
       envs directories : /Users/minrk/conda/envs
                          /Users/minrk/.conda/envs
               platform : osx-arm64
             user-agent : conda/4.13.0 requests/2.27.1 CPython/3.9.10 Darwin/21.4.0 OSX/12.3
                UID:GID : 501:20
             netrc file : /Users/minrk/.netrc
           offline mode : False
isuruf commented 2 years ago

@conda-forge-admin, rerender

conda-forge-linter commented 2 years ago

Hi! This is the friendly automated conda-forge-webservice.

I just wanted to let you know that I rerendered the recipe in conda-forge/petsc4py-feedstock#60.