Closed minrk closed 9 months ago
Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe
) and found it was in an excellent condition.
Confirmed with a local build that this fixes #180, at least with these two envs:
before:
# packages in environment at /Users/minrk/conda/envs/petsc-before:
#
# Name Version Build Channel
bzip2 1.0.8 h93a5062_5 conda-forge
c-ares 1.23.0 h93a5062_0 conda-forge
ca-certificates 2023.11.17 hf0a4a13_0 conda-forge
fftw 3.3.10 mpi_openmpi_haef8dc3_8 conda-forge
gmp 6.3.0 h965bd2d_0 conda-forge
hdf5 1.14.3 mpi_openmpi_h20f603a_0 conda-forge
hypre 2.28.0 mpi_openmpi_haba3941_0 conda-forge
icu 73.2 hc8870d7_0 conda-forge
krb5 1.21.2 h92f50d5_0 conda-forge
libaec 1.1.2 h13dd4ca_1 conda-forge
libblas 3.9.0 20_osxarm64_openblas conda-forge
libcblas 3.9.0 20_osxarm64_openblas conda-forge
libcurl 8.5.0 h2d989ff_0 conda-forge
libcxx 16.0.6 h4653b0c_0 conda-forge
libedit 3.1.20191231 hc8eb9b7_2 conda-forge
libev 4.33 h93a5062_2 conda-forge
libexpat 2.5.0 hb7217d7_1 conda-forge
libffi 3.4.2 h3422bc3_5 conda-forge
libgfortran 5.0.0 13_2_0_hd922786_1 conda-forge
libgfortran5 13.2.0 hf226fd6_1 conda-forge
libhwloc 2.9.3 default_h4394839_1009 conda-forge
libiconv 1.17 he4db4b2_0 conda-forge
liblapack 3.9.0 20_osxarm64_openblas conda-forge
libnghttp2 1.58.0 ha4dd798_1 conda-forge
libopenblas 0.3.25 openmp_h6c19121_0 conda-forge
libptscotch 7.0.2 h4ec5e76_0 conda-forge
libscotch 7.0.2 h80c162b_0 conda-forge
libsqlite 3.44.2 h091b4b1_0 conda-forge
libssh2 1.11.0 h7a5bd25_0 conda-forge
libxml2 2.11.6 h0d0cfa8_0 conda-forge
libzlib 1.2.13 h53f4e23_5 conda-forge
llvm-openmp 17.0.6 hcd81f8e_0 conda-forge
metis 5.1.1 h965bd2d_2 conda-forge
mpfr 4.2.1 h9546428_0 conda-forge
mpi 1.0 openmpi conda-forge
mumps-include 5.2.1 hce30654_13 conda-forge
mumps-mpi 5.2.1 h00b355f_13 conda-forge
ncurses 6.4 h463b476_2 conda-forge
numpy 1.26.2 py312h5d55045_0 conda-forge
openmpi 4.1.6 h526c993_101 conda-forge
openssl 3.2.0 h0d3ecfb_1 conda-forge
parmetis 4.0.3 h6eb5794_1005 conda-forge
petsc 3.20.2 real_hccb9628_102 conda-forge
petsc4py 3.20.1 real_h17b5e51_100 conda-forge
pip 23.3.1 pyhd8ed1ab_0 conda-forge
ptscotch 7.0.2 hc1c4572_0 conda-forge
python 3.12.0 h47c9636_0_cpython conda-forge
python_abi 3.12 4_cp312 conda-forge
readline 8.2 h92ec313_1 conda-forge
scalapack 2.2.0 h515df86_1 conda-forge
scotch 7.0.2 hc1c4572_0 conda-forge
setuptools 68.2.2 pyhd8ed1ab_0 conda-forge
suitesparse 5.10.1 h88be0ae_2 conda-forge
superlu 5.2.2 hc615359_0 conda-forge
tbb 2021.11.0 h6aa02a4_0 conda-forge
tk 8.6.13 h5083fa2_1 conda-forge
tzdata 2023c h71feb2d_0 conda-forge
wheel 0.42.0 pyhd8ed1ab_0 conda-forge
xz 5.2.6 h57fd34a_0 conda-forge
yaml 0.2.5 h3422bc3_2 conda-forge
zlib 1.2.13 h53f4e23_5 conda-forge
zstd 1.5.5 h4f39d0f_0 conda-forge
after:
# packages in environment at /Users/minrk/conda/envs/petsc-after:
#
# Name Version Build Channel
bzip2 1.0.8 h93a5062_5 conda-forge
c-ares 1.23.0 h93a5062_0 conda-forge
ca-certificates 2023.11.17 hf0a4a13_0 conda-forge
fftw 3.3.10 mpi_mpich_h0cb5807_8 conda-forge
gmp 6.3.0 h965bd2d_0 conda-forge
hdf5 1.14.3 mpi_mpich_h754b83b_0 conda-forge
hypre 2.28.0 mpi_mpich_hd226f01_0 conda-forge
icu 73.2 hc8870d7_0 conda-forge
krb5 1.21.2 h92f50d5_0 conda-forge
libaec 1.1.2 h13dd4ca_1 conda-forge
libblas 3.9.0 20_osxarm64_openblas conda-forge
libcblas 3.9.0 20_osxarm64_openblas conda-forge
libcurl 8.5.0 h2d989ff_0 conda-forge
libcxx 16.0.6 h4653b0c_0 conda-forge
libedit 3.1.20191231 hc8eb9b7_2 conda-forge
libev 4.33 h93a5062_2 conda-forge
libexpat 2.5.0 hb7217d7_1 conda-forge
libffi 3.4.2 h3422bc3_5 conda-forge
libgfortran 5.0.0 13_2_0_hd922786_1 conda-forge
libgfortran5 13.2.0 hf226fd6_1 conda-forge
libhwloc 2.9.3 default_h4394839_1009 conda-forge
libiconv 1.17 h0d3ecfb_1 conda-forge
liblapack 3.9.0 20_osxarm64_openblas conda-forge
libnghttp2 1.58.0 ha4dd798_1 conda-forge
libopenblas 0.3.25 openmp_h6c19121_0 conda-forge
libptscotch 7.0.4 h5340af2_0 conda-forge
libscotch 7.0.4 hc938e73_0 conda-forge
libsqlite 3.44.2 h091b4b1_0 conda-forge
libssh2 1.11.0 h7a5bd25_0 conda-forge
libxml2 2.11.6 h0d0cfa8_0 conda-forge
libzlib 1.2.13 h53f4e23_5 conda-forge
llvm-openmp 17.0.6 hcd81f8e_0 conda-forge
metis 5.1.1 h965bd2d_2 conda-forge
mpfr 4.2.1 h9546428_0 conda-forge
mpi 1.0 mpich conda-forge
mpich 4.1.2 hd4b5bf3_100 conda-forge
mumps-include 5.2.1 hce30654_14 conda-forge
mumps-mpi 5.2.1 hfea86b6_14 conda-forge
ncurses 6.4 h463b476_2 conda-forge
numpy 1.26.2 py312h5d55045_0 conda-forge
openssl 3.2.0 h0d3ecfb_1 conda-forge
parmetis 4.0.3 hefa2a9d_1005 conda-forge
petsc 3.20.2 real_he7031e6_104 local
petsc4py 3.20.1 real_ha8516f6_100 conda-forge
pip 23.3.1 pyhd8ed1ab_0 conda-forge
ptscotch 7.0.4 heaa5b5c_0 conda-forge
python 3.12.0 h47c9636_0_cpython conda-forge
python_abi 3.12 4_cp312 conda-forge
readline 8.2 h92ec313_1 conda-forge
scalapack 2.2.0 hb170938_1 conda-forge
scotch 7.0.4 heaa5b5c_0 conda-forge
setuptools 68.2.2 pyhd8ed1ab_0 conda-forge
suitesparse 5.10.1 h88be0ae_2 conda-forge
superlu 5.2.2 hc615359_0 conda-forge
superlu_dist 8.2.1 h6be7e34_0 conda-forge
tbb 2021.11.0 h6aa02a4_0 conda-forge
tk 8.6.13 h5083fa2_1 conda-forge
tzdata 2023c h71feb2d_0 conda-forge
wheel 0.42.0 pyhd8ed1ab_0 conda-forge
xz 5.2.6 h57fd34a_0 conda-forge
yaml 0.2.5 h3422bc3_2 conda-forge
zlib 1.2.13 h53f4e23_5 conda-forge
zstd 1.5.5 h4f39d0f_0 conda-forge
with output:
> conda run -n petsc-before python3 -c 'from petsc4py import PETSc; print("OK")'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/minrk/conda/envs/petsc-before/lib/python3.12/site-packages/petsc4py/PETSc.py", line 3, in <module>
PETSc = ImportPETSc(ARCH)
^^^^^^^^^^^^^^^^^
File "/Users/minrk/conda/envs/petsc-before/lib/python3.12/site-packages/petsc4py/lib/__init__.py", line 29, in ImportPETSc
return Import('petsc4py', 'PETSc', path, arch)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/minrk/conda/envs/petsc-before/lib/python3.12/site-packages/petsc4py/lib/__init__.py", line 95, in Import
module = import_module(pkg, name, path, arch)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/minrk/conda/envs/petsc-before/lib/python3.12/site-packages/petsc4py/lib/__init__.py", line 71, in import_module
module = importlib.util.module_from_spec(spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: dlopen(/Users/minrk/conda/envs/petsc-before/lib/python3.12/site-packages/petsc4py/lib/PETSc.cpython-312-darwin.so, 0x0002): symbol not found in flat namespace '_SCOTCH_errorPrint'
ERROR conda.cli.main_run:execute(124): `conda run python3 -c from petsc4py import PETSc; print("OK")` failed. (See above for error)
> conda run -n petsc-after python3 -c 'from petsc4py import PETSc; print("OK")'
OK
I believe this will fix #180