ADIOS2
ADIOS2 copied to clipboard
Anaconda adios2 failed for arm64 osx
One of my collaborators in ANL is trying to install adios2 through conda-forge (https://anaconda.org/conda-forge/adios2) but failed. He is using arm64 Mac laptop.
He said, the following command went ok without saying any error (downloading, installing, etc went ok):
conda install -c conda-forge adios2
But, got the error when using:
python -c "import adios2; print(adios2.__file__); print(adios2.__version__)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'adios2'
I downloaded the tar file (https://anaconda.org/conda-forge/adios2/2.8.0/download/osx-arm64/adios2-2.8.0-nompi_py310hab51d57_100.tar.bz2) and found there are some missing files.
@ax3l Can you check if there is any issues in the conda-forge?
For M1, we cross compile for x86_64 macOS runners on conda-forge.
I think we can switch the Python hint from this: https://github.com/conda-forge/adios2-feedstock/blob/1721fd424c39ed0038c59cfafc6c53acd274abd2/recipe/build.sh#L79
To something I do here: https://github.com/conda-forge/openpmd-api-feedstock/blob/3b83eb97a1c5263d67794ef2563b6585b9ee3de9/recipe/build.sh
It probably picks the system Python right now.
@jychoi-hpc what is the exact Python flavor and version your collaborator uses? PyPy? CPython 3.10?
I pushed a potential fix to https://github.com/conda-forge/adios2-feedstock/pull/47, but this info would help me to reproduce the issue first.
I think he installed python with miniconda3:
$ python
Python 3.8.11 (default, Jul 29 2021, 14:57:32)
[Clang 12.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
Thanks for the details!
I could now reproduce and fix the issue :+1: