From e54447662c53039cb23c037dfcae15ced44d0c68 Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Wed, 30 Aug 2023 18:53:47 +0000 Subject: [PATCH 1/9] Rebuild for CUDA 12 w/arch support The transition to CUDA 12 SDK includes new packages for all CUDA libraries and build tools. Notably, the cudatoolkit package no longer exists, and packages should depend directly on the specific CUDA libraries (libcublas, libcusolver, etc) as needed. For an in-depth overview of the changes and to report problems [see this issue]( https://github.com/conda-forge/conda-forge.github.io/issues/1963 ). Please feel free to raise any issues encountered there. Thank you! :pray: --- .ci_support/migrations/cuda120.yaml | 56 +++++++++++++++++++---------- recipe/conda_build_config.yaml | 2 +- 2 files changed, 38 insertions(+), 20 deletions(-) diff --git a/.ci_support/migrations/cuda120.yaml b/.ci_support/migrations/cuda120.yaml index 25f0f88..49da33d 100644 --- a/.ci_support/migrations/cuda120.yaml +++ b/.ci_support/migrations/cuda120.yaml @@ -3,7 +3,7 @@ __migrator: kind: version migration_number: - 1 + 2 build_number: 1 paused: false @@ -37,36 +37,54 @@ __migrator: - quay.io/condaforge/linux-anvil-cuda:11.0 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] - quay.io/condaforge/linux-anvil-cuda:11.1 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] - quay.io/condaforge/linux-anvil-cuda:11.2 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] + # case: native compilation (build == target) + - quay.io/condaforge/linux-anvil-ppc64le-cuda:11.2 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] + - quay.io/condaforge/linux-anvil-aarch64-cuda:11.2 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-aarch64"] + # case: cross-compilation (build != target) + - quay.io/condaforge/linux-anvil-cuda:11.2 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-64"] + - quay.io/condaforge/linux-anvil-cuda:11.2 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] + # case: non-CUDA builds - quay.io/condaforge/linux-anvil-cos7-x86_64 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] cuda_compiler_version: - None - 10.2 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - 11.0 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - 11.1 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 11.2 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 12.0 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - commit_message: "Rebuild for CUDA 12" - -cuda_compiler: # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - cuda-nvcc # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 11.2 # [(linux or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 12.0 # [(linux or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + commit_message: | + Rebuild for CUDA 12 w/arch support + + The transition to CUDA 12 SDK includes new packages for all CUDA libraries and + build tools. Notably, the cudatoolkit package no longer exists, and packages + should depend directly on the specific CUDA libraries (libcublas, libcusolver, + etc) as needed. For an in-depth overview of the changes and to report problems + [see this issue]( https://github.com/conda-forge/conda-forge.github.io/issues/1963 ). + Please feel free to raise any issues encountered there. Thank you! :pray: -cuda_compiler_version: # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 12.0 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] +cuda_compiler: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - cuda-nvcc # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -c_compiler_version: # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 12 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] +cuda_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 12.0 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -cxx_compiler_version: # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 12 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] +c_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 12 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -fortran_compiler_version: # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 12 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] +cxx_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 12 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -cudnn: # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 8 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] +fortran_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - 12 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] -cdt_name: # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - cos7 # [linux64 and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] +cdt_name: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + - cos7 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] docker_image: # [os.environ.get("BUILD_PLATFORM", "").startswith("linux-") and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - quay.io/condaforge/linux-anvil-cos7-x86_64 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64" and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] + # case: native compilation (build == target) + - quay.io/condaforge/linux-anvil-ppc64le # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] + - quay.io/condaforge/linux-anvil-aarch64 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-aarch64"] + # case: cross-compilation (build != target) + - quay.io/condaforge/linux-anvil-cos7-x86_64 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-64"] + - quay.io/condaforge/linux-anvil-cos7-x86_64 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index bb34a37..d4671b9 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -9,4 +9,4 @@ mpi: # it has nothing to do with MPI. We better make sure we have colliding hashes, so that only # 1 unique upload would be done by the CI. ignore_version: - - mpi + - mpi \ No newline at end of file From 77137f7b950ba754a2b2117c3e7d7bf4dc8d818a Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Wed, 30 Aug 2023 18:55:03 +0000 Subject: [PATCH 2/9] MNT: Re-rendered with conda-build 3.26.1, conda-smithy 3.24.1, and conda-forge-pinning 2023.08.30.17.25.59 --- .../migrations/cuda_112_ppc64le_aarch64.yaml | 47 ------------------- 1 file changed, 47 deletions(-) delete mode 100644 .ci_support/migrations/cuda_112_ppc64le_aarch64.yaml diff --git a/.ci_support/migrations/cuda_112_ppc64le_aarch64.yaml b/.ci_support/migrations/cuda_112_ppc64le_aarch64.yaml deleted file mode 100644 index 1012567..0000000 --- a/.ci_support/migrations/cuda_112_ppc64le_aarch64.yaml +++ /dev/null @@ -1,47 +0,0 @@ -migrator_ts: 1645421738 -__migrator: - kind: - version - migration_number: - 1 - build_number: - 1 - paused: false - override_cbc_keys: - - cuda_compiler_stub - operation: key_add - check_solvable: false - primary_key: cuda_compiler_version - wait_for_migrators: - - aarch64 and ppc64le addition - exclude_pinned_pkgs: False - commit_message: "Rebuild for cuda for ppc64le and aarch64" - -arm_variant_type: # [aarch64] - - sbsa # [aarch64] - -c_compiler_version: # [ppc64le or aarch64] - - 10 # [ppc64le or aarch64] -cxx_compiler_version: # [ppc64le or aarch64] - - 10 # [ppc64le or aarch64] -fortran_compiler_version: # [ppc64le or aarch64] - - 10 # [ppc64le or aarch64] - -cuda_compiler: # [ppc64le or aarch64] - - nvcc # [ppc64le or aarch64] -cuda_compiler_version: # [ppc64le or aarch64] - - 11.2 # [ppc64le or aarch64] - -cudnn: # [ppc64le or aarch64] - - 8 # [ppc64le or aarch64] - -cdt_name: # [ppc64le or aarch64] - - cos7 # [ppc64le or aarch64] - -docker_image: # [os.environ.get("BUILD_PLATFORM", "").startswith("linux") and (ppc64le or aarch64)] - # case: native compilation (build == target) - - quay.io/condaforge/linux-anvil-ppc64le-cuda:11.2 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] - - quay.io/condaforge/linux-anvil-aarch64-cuda:11.2 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-aarch64"] - # case: cross-compilation (build != target) - - quay.io/condaforge/linux-anvil-cuda:11.2 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-64"] - - quay.io/condaforge/linux-anvil-cuda:11.2 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] From 298ef4fe65a9c0aae287095c6df479566583935c Mon Sep 17 00:00:00 2001 From: Leo Fang Date: Thu, 31 Aug 2023 04:04:20 +0800 Subject: [PATCH 3/9] enable aarch64/ppc64le + cuda 12 --- recipe/meta.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index a6d8df7..43f8c51 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -10,7 +10,7 @@ {% endif %} # prioritize nompi variant via build number -{% set build_num = 0 %} +{% set build_num = 1 %} {% if mpi == 'nompi' %} {% set cutn_build = build_num + 100 %} {% else %} @@ -48,7 +48,7 @@ source: build: number: {{ build_num }} - skip: true # [not linux or cuda_compiler_version not in ("11.2", "12.0") or ((aarch64 or ppc64le) and (cuda_compiler_version or "").startswith("12"))] + skip: true # [not linux or cuda_compiler_version not in ("11.2", "12.0")] outputs: @@ -135,7 +135,7 @@ outputs: Software License Agreement (EULA). By downloading and using the packages, you accept the terms and conditions of the NVIDIA cuQuantum EULA - https://docs.nvidia.com/cuda/cuquantum/license.html - doc_url: https://docs.nvidia.com/cuda/custatevec/index.html + doc_url: https://docs.nvidia.com/cuda/cuquantum/latest/custatevec/ dev_url: https://github.com/NVIDIA/cuQuantum - name: cutensornet @@ -228,7 +228,7 @@ outputs: Software License Agreement (EULA). By downloading and using the packages, you accept the terms and conditions of the NVIDIA cuQuantum EULA - https://docs.nvidia.com/cuda/cuquantum/license.html - doc_url: https://docs.nvidia.com/cuda/cutensornet/index.html + doc_url: https://docs.nvidia.com/cuda/cuquantum/latest/cutensornet/ dev_url: https://github.com/NVIDIA/cuQuantum - name: cuquantum-python @@ -297,7 +297,7 @@ outputs: description: | NVIDIA cuQuantum Python provides Python bindings and high-level object-oriented models for accessing the full functionalities of NVIDIA cuQuantum SDK from Python. - doc_url: https://docs.nvidia.com/cuda/cuquantum/python/index.html + doc_url: https://docs.nvidia.com/cuda/cuquantum/latest/python/ dev_url: https://github.com/NVIDIA/cuQuantum about: From 5897304f8243dea9a214e8bf148a2c6ec421dd9e Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Wed, 30 Aug 2023 20:09:07 +0000 Subject: [PATCH 4/9] MNT: Re-rendered with conda-build 3.26.1, conda-smithy 3.24.1, and conda-forge-pinning 2023.08.30.17.25.59 --- .azure-pipelines/azure-pipelines-linux.yml | 24 +++++++++ ...ion12.0cxx_compiler_version12mpimpich.yaml | 50 +++++++++++++++++++ ...ion12.0cxx_compiler_version12mpinompi.yaml | 50 +++++++++++++++++++ ...n12.0cxx_compiler_version12mpiopenmpi.yaml | 50 +++++++++++++++++++ ...ion12.0cxx_compiler_version12mpimpich.yaml | 46 +++++++++++++++++ ...ion12.0cxx_compiler_version12mpinompi.yaml | 46 +++++++++++++++++ ...n12.0cxx_compiler_version12mpiopenmpi.yaml | 46 +++++++++++++++++ README.md | 48 ++++++++++++++++-- 8 files changed, 357 insertions(+), 3 deletions(-) create mode 100644 .ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich.yaml create mode 100644 .ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi.yaml create mode 100644 .ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi.yaml create mode 100644 .ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich.yaml create mode 100644 .ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi.yaml create mode 100644 .ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi.yaml diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 4d5b838..791f9f7 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -44,6 +44,18 @@ jobs: CONFIG: linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpiopenmpi UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64-cuda:11.2 + linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich: + CONFIG: linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64 + linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi: + CONFIG: linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64 + linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi: + CONFIG: linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64 linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpimpich: CONFIG: linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpimpich UPLOAD_PACKAGES: 'True' @@ -56,6 +68,18 @@ jobs: CONFIG: linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpiopenmpi UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le-cuda:11.2 + linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich: + CONFIG: linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le + linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi: + CONFIG: linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le + linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi: + CONFIG: linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le timeoutInMinutes: 360 steps: diff --git a/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich.yaml b/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich.yaml new file mode 100644 index 0000000..3cd169b --- /dev/null +++ b/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich.yaml @@ -0,0 +1,50 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +c_compiler: +- gcc +c_compiler_version: +- '12' +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- cuda-nvcc +cuda_compiler_version: +- '12.0' +cutensor: +- '1' +cxx_compiler: +- gxx +cxx_compiler_version: +- '12' +docker_image: +- quay.io/condaforge/linux-anvil-aarch64 +mpi: +- mpich +mpich: +- '4' +openmpi: +- '4' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +- 3.11.* *_cpython +- 3.8.* *_cpython +- 3.9.* *_cpython +target_platform: +- linux-aarch64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - cuda_compiler + - cuda_compiler_version + - cdt_name + - docker_image diff --git a/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi.yaml b/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi.yaml new file mode 100644 index 0000000..244d231 --- /dev/null +++ b/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi.yaml @@ -0,0 +1,50 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +c_compiler: +- gcc +c_compiler_version: +- '12' +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- cuda-nvcc +cuda_compiler_version: +- '12.0' +cutensor: +- '1' +cxx_compiler: +- gxx +cxx_compiler_version: +- '12' +docker_image: +- quay.io/condaforge/linux-anvil-aarch64 +mpi: +- nompi +mpich: +- '4' +openmpi: +- '4' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +- 3.11.* *_cpython +- 3.8.* *_cpython +- 3.9.* *_cpython +target_platform: +- linux-aarch64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - cuda_compiler + - cuda_compiler_version + - cdt_name + - docker_image diff --git a/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi.yaml b/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi.yaml new file mode 100644 index 0000000..5b406cd --- /dev/null +++ b/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi.yaml @@ -0,0 +1,50 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +c_compiler: +- gcc +c_compiler_version: +- '12' +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- cuda-nvcc +cuda_compiler_version: +- '12.0' +cutensor: +- '1' +cxx_compiler: +- gxx +cxx_compiler_version: +- '12' +docker_image: +- quay.io/condaforge/linux-anvil-aarch64 +mpi: +- openmpi +mpich: +- '4' +openmpi: +- '4' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +- 3.11.* *_cpython +- 3.8.* *_cpython +- 3.9.* *_cpython +target_platform: +- linux-aarch64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - cuda_compiler + - cuda_compiler_version + - cdt_name + - docker_image diff --git a/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich.yaml b/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich.yaml new file mode 100644 index 0000000..b15f805 --- /dev/null +++ b/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich.yaml @@ -0,0 +1,46 @@ +c_compiler: +- gcc +c_compiler_version: +- '12' +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- cuda-nvcc +cuda_compiler_version: +- '12.0' +cutensor: +- '1' +cxx_compiler: +- gxx +cxx_compiler_version: +- '12' +docker_image: +- quay.io/condaforge/linux-anvil-ppc64le +mpi: +- mpich +mpich: +- '4' +openmpi: +- '4' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +- 3.11.* *_cpython +- 3.8.* *_cpython +- 3.9.* *_cpython +target_platform: +- linux-ppc64le +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - cuda_compiler + - cuda_compiler_version + - cdt_name + - docker_image diff --git a/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi.yaml b/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi.yaml new file mode 100644 index 0000000..32a700b --- /dev/null +++ b/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi.yaml @@ -0,0 +1,46 @@ +c_compiler: +- gcc +c_compiler_version: +- '12' +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- cuda-nvcc +cuda_compiler_version: +- '12.0' +cutensor: +- '1' +cxx_compiler: +- gxx +cxx_compiler_version: +- '12' +docker_image: +- quay.io/condaforge/linux-anvil-ppc64le +mpi: +- nompi +mpich: +- '4' +openmpi: +- '4' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +- 3.11.* *_cpython +- 3.8.* *_cpython +- 3.9.* *_cpython +target_platform: +- linux-ppc64le +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - cuda_compiler + - cuda_compiler_version + - cdt_name + - docker_image diff --git a/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi.yaml b/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi.yaml new file mode 100644 index 0000000..43daade --- /dev/null +++ b/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi.yaml @@ -0,0 +1,46 @@ +c_compiler: +- gcc +c_compiler_version: +- '12' +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- cuda-nvcc +cuda_compiler_version: +- '12.0' +cutensor: +- '1' +cxx_compiler: +- gxx +cxx_compiler_version: +- '12' +docker_image: +- quay.io/condaforge/linux-anvil-ppc64le +mpi: +- openmpi +mpich: +- '4' +openmpi: +- '4' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +- 3.11.* *_cpython +- 3.8.* *_cpython +- 3.9.* *_cpython +target_platform: +- linux-ppc64le +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - cuda_compiler + - cuda_compiler_version + - cdt_name + - docker_image diff --git a/README.md b/README.md index 743c2dd..f3053be 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Summary: cuStateVec: A High-Performance Library for State Vector Quantum Simulat Development: https://github.com/NVIDIA/cuQuantum -Documentation: https://docs.nvidia.com/cuda/custatevec/index.html +Documentation: https://docs.nvidia.com/cuda/cuquantum/latest/custatevec/ NVIDIA cuStateVec is a high-performance GPU library dedicated to operations with state vectors for expressing quantum algorithms. cuStateVec is a component of the NVIDIA cuQuantum SDK. @@ -64,7 +64,7 @@ Summary: cuTensorNet: A High-Performance Library for Tensor Network Computations Development: https://github.com/NVIDIA/cuQuantum -Documentation: https://docs.nvidia.com/cuda/cutensornet/index.html +Documentation: https://docs.nvidia.com/cuda/cuquantum/latest/cutensornet/ NVIDIA cuTensorNet is a high-performance GPU library for tensor network computations, a component of the NVIDIA cuQuantum SDK. @@ -86,7 +86,7 @@ Summary: cuQuantum Python: Python APIs for NVIDIA cuQuantum SDK Development: https://github.com/NVIDIA/cuQuantum -Documentation: https://docs.nvidia.com/cuda/cuquantum/python/index.html +Documentation: https://docs.nvidia.com/cuda/cuquantum/latest/python/ NVIDIA cuQuantum Python provides Python bindings and high-level object-oriented models for accessing the full functionalities of NVIDIA cuQuantum SDK from Python. @@ -172,6 +172,27 @@ Current build status variant + + linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich + + + variant + + + + linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi + + + variant + + + + linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi + + + variant + + linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpimpich @@ -193,6 +214,27 @@ Current build status variant + + linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich + + + variant + + + + linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi + + + variant + + + + linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi + + + variant + + From b51cc4fea22eae968545036b3509265f246693af Mon Sep 17 00:00:00 2001 From: Leo Fang Date: Thu, 31 Aug 2023 13:29:55 +0800 Subject: [PATCH 5/9] Update meta.yaml --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 43f8c51..9139ef3 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -81,7 +81,7 @@ outputs: # and ppc64le, while conda-forge is still on 2.17. However, given that powf is # the only offending symbol that needs a newer glibc, it is the easiest if we # just patch it. - - patchelf --clear-symbol-version powf $PREFIX/lib/libcustatevec.so # [aarch64 or ppc64le] + #- patchelf --clear-symbol-version powf $PREFIX/lib/libcustatevec.so # [aarch64 or ppc64le] run_exports: - {{ pin_subpackage('custatevec', max_pin='x') }} ignore_run_exports_from: From 85cb3b2d35e29fd70c606df674eaa9772858f14a Mon Sep 17 00:00:00 2001 From: Leo Fang Date: Thu, 31 Aug 2023 03:17:56 -0700 Subject: [PATCH 6/9] recognize glibc 2.27 and turn on cross compilation MNT: Re-rendered with conda-build 3.23.1, conda-smithy 3.24.1, and conda-forge-pinning 2023.08.30.17.25.59 --- .azure-pipelines/azure-pipelines-linux.yml | 24 +++++++++---------- ...ion11.2cxx_compiler_version10mpimpich.yaml | 2 +- ...ion11.2cxx_compiler_version10mpinompi.yaml | 2 +- ...n11.2cxx_compiler_version10mpiopenmpi.yaml | 2 +- ...ion12.0cxx_compiler_version12mpimpich.yaml | 2 +- ...ion12.0cxx_compiler_version12mpinompi.yaml | 2 +- ...n12.0cxx_compiler_version12mpiopenmpi.yaml | 2 +- ...ion11.2cxx_compiler_version10mpimpich.yaml | 2 +- ...ion11.2cxx_compiler_version10mpinompi.yaml | 2 +- ...n11.2cxx_compiler_version10mpiopenmpi.yaml | 2 +- ...ion12.0cxx_compiler_version12mpimpich.yaml | 2 +- ...ion12.0cxx_compiler_version12mpinompi.yaml | 2 +- ...n12.0cxx_compiler_version12mpiopenmpi.yaml | 2 +- .scripts/build_steps.sh | 4 +++- conda-forge.yml | 4 ++++ recipe/meta.yaml | 12 ++++------ 16 files changed, 36 insertions(+), 32 deletions(-) diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 791f9f7..1f32c19 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -35,51 +35,51 @@ jobs: linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpimpich: CONFIG: linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpimpich UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64-cuda:11.2 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpinompi: CONFIG: linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpinompi UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64-cuda:11.2 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpiopenmpi: CONFIG: linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpiopenmpi UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64-cuda:11.2 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich: CONFIG: linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi: CONFIG: linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi: CONFIG: linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpimpich: CONFIG: linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpimpich UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le-cuda:11.2 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpinompi: CONFIG: linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpinompi UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le-cuda:11.2 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpiopenmpi: CONFIG: linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpiopenmpi UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le-cuda:11.2 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich: CONFIG: linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi: CONFIG: linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi: CONFIG: linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 timeoutInMinutes: 360 steps: diff --git a/.ci_support/linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpimpich.yaml b/.ci_support/linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpimpich.yaml index 9e7752e..b035feb 100644 --- a/.ci_support/linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpimpich.yaml +++ b/.ci_support/linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpimpich.yaml @@ -23,7 +23,7 @@ cxx_compiler: cxx_compiler_version: - '10' docker_image: -- quay.io/condaforge/linux-anvil-aarch64-cuda:11.2 +- quay.io/condaforge/linux-anvil-cuda:11.2 mpi: - mpich mpich: diff --git a/.ci_support/linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpinompi.yaml b/.ci_support/linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpinompi.yaml index 1d96bbf..5ee5f76 100644 --- a/.ci_support/linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpinompi.yaml +++ b/.ci_support/linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpinompi.yaml @@ -23,7 +23,7 @@ cxx_compiler: cxx_compiler_version: - '10' docker_image: -- quay.io/condaforge/linux-anvil-aarch64-cuda:11.2 +- quay.io/condaforge/linux-anvil-cuda:11.2 mpi: - nompi mpich: diff --git a/.ci_support/linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpiopenmpi.yaml b/.ci_support/linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpiopenmpi.yaml index f50428c..fb48e58 100644 --- a/.ci_support/linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpiopenmpi.yaml +++ b/.ci_support/linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpiopenmpi.yaml @@ -23,7 +23,7 @@ cxx_compiler: cxx_compiler_version: - '10' docker_image: -- quay.io/condaforge/linux-anvil-aarch64-cuda:11.2 +- quay.io/condaforge/linux-anvil-cuda:11.2 mpi: - openmpi mpich: diff --git a/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich.yaml b/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich.yaml index 3cd169b..b6c5f67 100644 --- a/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich.yaml +++ b/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich.yaml @@ -23,7 +23,7 @@ cxx_compiler: cxx_compiler_version: - '12' docker_image: -- quay.io/condaforge/linux-anvil-aarch64 +- quay.io/condaforge/linux-anvil-cos7-x86_64 mpi: - mpich mpich: diff --git a/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi.yaml b/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi.yaml index 244d231..4c4b97f 100644 --- a/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi.yaml +++ b/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi.yaml @@ -23,7 +23,7 @@ cxx_compiler: cxx_compiler_version: - '12' docker_image: -- quay.io/condaforge/linux-anvil-aarch64 +- quay.io/condaforge/linux-anvil-cos7-x86_64 mpi: - nompi mpich: diff --git a/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi.yaml b/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi.yaml index 5b406cd..95978f2 100644 --- a/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi.yaml +++ b/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi.yaml @@ -23,7 +23,7 @@ cxx_compiler: cxx_compiler_version: - '12' docker_image: -- quay.io/condaforge/linux-anvil-aarch64 +- quay.io/condaforge/linux-anvil-cos7-x86_64 mpi: - openmpi mpich: diff --git a/.ci_support/linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpimpich.yaml b/.ci_support/linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpimpich.yaml index 8105a66..adb42c1 100644 --- a/.ci_support/linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpimpich.yaml +++ b/.ci_support/linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpimpich.yaml @@ -19,7 +19,7 @@ cxx_compiler: cxx_compiler_version: - '10' docker_image: -- quay.io/condaforge/linux-anvil-ppc64le-cuda:11.2 +- quay.io/condaforge/linux-anvil-cuda:11.2 mpi: - mpich mpich: diff --git a/.ci_support/linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpinompi.yaml b/.ci_support/linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpinompi.yaml index 619bf74..f831edf 100644 --- a/.ci_support/linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpinompi.yaml +++ b/.ci_support/linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpinompi.yaml @@ -19,7 +19,7 @@ cxx_compiler: cxx_compiler_version: - '10' docker_image: -- quay.io/condaforge/linux-anvil-ppc64le-cuda:11.2 +- quay.io/condaforge/linux-anvil-cuda:11.2 mpi: - nompi mpich: diff --git a/.ci_support/linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpiopenmpi.yaml b/.ci_support/linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpiopenmpi.yaml index c10b645..3d97d17 100644 --- a/.ci_support/linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpiopenmpi.yaml +++ b/.ci_support/linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10mpiopenmpi.yaml @@ -19,7 +19,7 @@ cxx_compiler: cxx_compiler_version: - '10' docker_image: -- quay.io/condaforge/linux-anvil-ppc64le-cuda:11.2 +- quay.io/condaforge/linux-anvil-cuda:11.2 mpi: - openmpi mpich: diff --git a/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich.yaml b/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich.yaml index b15f805..a4d80bf 100644 --- a/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich.yaml +++ b/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpimpich.yaml @@ -19,7 +19,7 @@ cxx_compiler: cxx_compiler_version: - '12' docker_image: -- quay.io/condaforge/linux-anvil-ppc64le +- quay.io/condaforge/linux-anvil-cos7-x86_64 mpi: - mpich mpich: diff --git a/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi.yaml b/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi.yaml index 32a700b..d67b47a 100644 --- a/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi.yaml +++ b/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpinompi.yaml @@ -19,7 +19,7 @@ cxx_compiler: cxx_compiler_version: - '12' docker_image: -- quay.io/condaforge/linux-anvil-ppc64le +- quay.io/condaforge/linux-anvil-cos7-x86_64 mpi: - nompi mpich: diff --git a/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi.yaml b/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi.yaml index 43daade..0555d00 100644 --- a/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi.yaml +++ b/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12mpiopenmpi.yaml @@ -19,7 +19,7 @@ cxx_compiler: cxx_compiler_version: - '12' docker_image: -- quay.io/condaforge/linux-anvil-ppc64le +- quay.io/condaforge/linux-anvil-cos7-x86_64 mpi: - openmpi mpich: diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 595f8b5..7bc6afb 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -45,7 +45,9 @@ source run_conda_forge_build_setup # make the build number clobber make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" - +if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]] && [[ "${BUILD_WITH_CONDA_DEBUG:-0}" != 1 ]]; then + EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test" +fi ( endgroup "Configuring conda" ) 2> /dev/null diff --git a/conda-forge.yml b/conda-forge.yml index 5a7d53b..df188b1 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -12,3 +12,7 @@ provider: idle_timeout_minutes: 60 conda_build: pkg_format: '2' +build_platform: + linux_ppc64le: linux_64 + linux_aarch64: linux_64 +test: native diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 9139ef3..c802feb 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -75,13 +75,6 @@ outputs: - mv include/custatevec.h $PREFIX/include/ # [linux] - mkdir -p $PREFIX/lib # [linux] - mv lib/libcustatevec.so* $PREFIX/lib/ # [linux] - - # Patch for conda-forge: - # According to the CUDA support matrix, we require glibc 2.27+ on aarch64-sbsa - # and ppc64le, while conda-forge is still on 2.17. However, given that powf is - # the only offending symbol that needs a newer glibc, it is the easiest if we - # just patch it. - #- patchelf --clear-symbol-version powf $PREFIX/lib/libcustatevec.so # [aarch64 or ppc64le] run_exports: - {{ pin_subpackage('custatevec', max_pin='x') }} ignore_run_exports_from: @@ -105,6 +98,8 @@ outputs: - cudatoolkit # [(cuda_compiler_version or "").startswith("11")] - {{ pin_compatible('libcublas', max_pin='x') }} # [(cuda_compiler_version or "").startswith("12")] - {{ pin_compatible('cuda-version', max_pin='x') }} + run_constrained: + - __glibc >=2.27 # [aarch64 or ppc64le] # apparently conda-build supports full test section spec, the document is super outdated test: requires: @@ -260,6 +255,9 @@ outputs: - {{ compiler('cxx') }} - {{ compiler('cuda') }} - sysroot_{{ target_platform }} 2.17 # [linux] + - cross-python_{{ target_platform }} # [build_platform != target_platform] + - python # [build_platform != target_platform] + - cython # [build_platform != target_platform] host: - python - pip From 61913f71eea276190c483111a87fb0bb280257b8 Mon Sep 17 00:00:00 2001 From: Leo Fang Date: Thu, 31 Aug 2023 20:44:38 +0800 Subject: [PATCH 7/9] relax glibc constraint for now --- recipe/meta.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index c802feb..dfa3316 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -90,16 +90,16 @@ outputs: - {{ compiler('cuda') }} - sysroot_{{ target_platform }} 2.17 # [linux] host: - # https://github.com/NixOS/patchelf/issues/492 - - patchelf !=0.18 - libcublas # [(cuda_compiler_version or "").startswith("12")] - cuda-version {{ cuda_major }}.0 run: - cudatoolkit # [(cuda_compiler_version or "").startswith("11")] - {{ pin_compatible('libcublas', max_pin='x') }} # [(cuda_compiler_version or "").startswith("12")] - {{ pin_compatible('cuda-version', max_pin='x') }} - run_constrained: - - __glibc >=2.27 # [aarch64 or ppc64le] + # this should be set once conda-forge supports newer glibc + # https://github.com/conda-forge/conda-forge.github.io/issues/1941 + # run_constrained: + # - __glibc >=2.27 # [aarch64 or ppc64le] # apparently conda-build supports full test section spec, the document is super outdated test: requires: @@ -169,8 +169,6 @@ outputs: - {{ compiler('cuda') }} - sysroot_{{ target_platform }} 2.17 # [linux] host: - # https://github.com/NixOS/patchelf/issues/492 - - patchelf !=0.18 - {{ mpi }} # [mpi != 'nompi'] - cutensor - libcublas # [(cuda_compiler_version or "").startswith("12")] @@ -267,8 +265,8 @@ outputs: - packaging run: - python - - numpy >=1.19 - - cupy >=9.5 + - numpy >=1.21,<2 + - cupy >=10.0 - {{ pin_subpackage('custatevec', max_pin='x') }} - {{ pin_subpackage('cutensornet', max_pin='x') }} - cuda-version >=11.0.*,<13.a0 # again, cuQuantum Python is "CUDA agnostic" From 5c287119882607d95c9321ee5288853b933e45b1 Mon Sep 17 00:00:00 2001 From: Leo Fang Date: Thu, 31 Aug 2023 21:20:41 +0800 Subject: [PATCH 8/9] Update conda-forge.yml --- conda-forge.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/conda-forge.yml b/conda-forge.yml index df188b1..53415e7 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -13,6 +13,8 @@ idle_timeout_minutes: 60 conda_build: pkg_format: '2' build_platform: - linux_ppc64le: linux_64 - linux_aarch64: linux_64 + linux_ppc64le: linux_64 + linux_aarch64: linux_64 test: native +azure: + free_disk_space: true From 11a82d6df9ec147396147d4e51452a9f13c668b5 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Thu, 31 Aug 2023 13:24:07 +0000 Subject: [PATCH 9/9] MNT: Re-rendered with conda-build 3.26.1, conda-smithy 3.24.1, and conda-forge-pinning 2023.08.31.12.59.55 --- .azure-pipelines/azure-pipelines-linux.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 1f32c19..0a9cda1 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -83,6 +83,28 @@ jobs: timeoutInMinutes: 360 steps: + - script: | + sudo mkdir -p /opt/empty_dir || true + for d in \ + /opt/ghc \ + /opt/hostedtoolcache \ + /usr/lib/jvm \ + /usr/local/.ghcup \ + /usr/local/lib/android \ + /usr/local/share/powershell \ + /usr/share/dotnet \ + /usr/share/swift \ + ; do + sudo rsync --stats -a --delete /opt/empty_dir/ $d || true + done + sudo apt-get purge -y -f firefox \ + google-chrome-stable \ + microsoft-edge-stable + sudo apt-get autoremove -y >& /dev/null + sudo apt-get autoclean -y >& /dev/null + sudo docker image prune --all --force + df -h + displayName: Manage disk space # configure qemu binfmt-misc running. This allows us to run docker containers # embedded qemu-static - script: |