From a233b64bedc3af92420167a9d5acf04e764a58aa Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 24 Nov 2023 09:08:44 +0100 Subject: [PATCH 1/7] Test lower limits of dependencies --- .ci_support/environment-old.yml | 10 ++++++++ .github/workflows/unittests-old.yml | 36 +++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 .ci_support/environment-old.yml create mode 100644 .github/workflows/unittests-old.yml diff --git a/.ci_support/environment-old.yml b/.ci_support/environment-old.yml new file mode 100644 index 00000000..9e1996db --- /dev/null +++ b/.ci_support/environment-old.yml @@ -0,0 +1,10 @@ +channels: +- conda-forge +dependencies: +- python +- numpy +- openmpi =4.0.3 +- cloudpickle =1.4.0 +- mpi4py =3.1.2 +- tqdm =4.44.0 +- pyzmq =18.1.1 \ No newline at end of file diff --git a/.github/workflows/unittests-old.yml b/.github/workflows/unittests-old.yml new file mode 100644 index 00000000..3074bd74 --- /dev/null +++ b/.github/workflows/unittests-old.yml @@ -0,0 +1,36 @@ +# This workflow is used to run the unittest of pyiron + +name: Unittest Lower Bound + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: conda-incubator/setup-miniconda@v2.2.0 + with: + python-version: '3.9' + mamba-version: "*" + channels: conda-forge + miniforge-variant: Mambaforge + channel-priority: strict + auto-update-conda: true + environment-file: .ci_support/environment-old.yml + - name: Setup + shell: bash -l {0} + run: pip install --no-deps . + - name: Test + shell: bash -l {0} + timeout-minutes: 5 + run: cd tests; python -m unittest discover . + env: + OMPI_MCA_plm: 'isolated' + OMPI_MCA_rmaps_base_oversubscribe: 'yes' + OMPI_MCA_btl_vader_single_copy_mechanism: 'none' From 480d27fcb583c2914d120331d7af41ab35e3c7bc Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 24 Nov 2023 09:11:59 +0100 Subject: [PATCH 2/7] mpi4py restricts the openmpi version --- .ci_support/environment-old.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci_support/environment-old.yml b/.ci_support/environment-old.yml index 9e1996db..56d12433 100644 --- a/.ci_support/environment-old.yml +++ b/.ci_support/environment-old.yml @@ -3,7 +3,7 @@ channels: dependencies: - python - numpy -- openmpi =4.0.3 +- openmpi =4.1.0 - cloudpickle =1.4.0 - mpi4py =3.1.2 - tqdm =4.44.0 From 21671e5b1e46b2e270ce3dabbb46bde4d57813c5 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 24 Nov 2023 09:17:17 +0100 Subject: [PATCH 3/7] update communication interface --- .ci_support/environment-old.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci_support/environment-old.yml b/.ci_support/environment-old.yml index 56d12433..857795c2 100644 --- a/.ci_support/environment-old.yml +++ b/.ci_support/environment-old.yml @@ -7,4 +7,4 @@ dependencies: - cloudpickle =1.4.0 - mpi4py =3.1.2 - tqdm =4.44.0 -- pyzmq =18.1.1 \ No newline at end of file +- pyzmq =25.0.0 \ No newline at end of file From ea03c37ec4e88cbffec268342f55f88e3eb4ef3e Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 24 Nov 2023 09:27:24 +0100 Subject: [PATCH 4/7] more recent versions --- .ci_support/environment-old.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci_support/environment-old.yml b/.ci_support/environment-old.yml index 857795c2..4ce39086 100644 --- a/.ci_support/environment-old.yml +++ b/.ci_support/environment-old.yml @@ -4,7 +4,7 @@ dependencies: - python - numpy - openmpi =4.1.0 -- cloudpickle =1.4.0 -- mpi4py =3.1.2 -- tqdm =4.44.0 +- cloudpickle =2.2.1 +- mpi4py =3.1.4 +- tqdm =4.64.1 - pyzmq =25.0.0 \ No newline at end of file From 8b1352d8664e907a22f53846dd50b4761702875a Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 24 Nov 2023 09:29:06 +0100 Subject: [PATCH 5/7] fix openmpi version --- .ci_support/environment-old.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci_support/environment-old.yml b/.ci_support/environment-old.yml index 4ce39086..51c78b43 100644 --- a/.ci_support/environment-old.yml +++ b/.ci_support/environment-old.yml @@ -3,7 +3,7 @@ channels: dependencies: - python - numpy -- openmpi =4.1.0 +- openmpi =4.1.4 - cloudpickle =2.2.1 - mpi4py =3.1.4 - tqdm =4.64.1 From b55e58579b013641067cb93678c36de5c5e079d6 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 24 Nov 2023 09:31:50 +0100 Subject: [PATCH 6/7] test old tqdm version --- .ci_support/environment-old.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci_support/environment-old.yml b/.ci_support/environment-old.yml index 51c78b43..49d490e8 100644 --- a/.ci_support/environment-old.yml +++ b/.ci_support/environment-old.yml @@ -6,5 +6,5 @@ dependencies: - openmpi =4.1.4 - cloudpickle =2.2.1 - mpi4py =3.1.4 -- tqdm =4.64.1 +- tqdm =4.44.0 - pyzmq =25.0.0 \ No newline at end of file From c7f3c640268a2db6e89e55c777871b2f5d1283f3 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 24 Nov 2023 09:34:28 +0100 Subject: [PATCH 7/7] downgrade cloudpickle --- .ci_support/environment-old.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci_support/environment-old.yml b/.ci_support/environment-old.yml index 49d490e8..161f7ae1 100644 --- a/.ci_support/environment-old.yml +++ b/.ci_support/environment-old.yml @@ -4,7 +4,7 @@ dependencies: - python - numpy - openmpi =4.1.4 -- cloudpickle =2.2.1 +- cloudpickle =2.0.0 - mpi4py =3.1.4 - tqdm =4.44.0 - pyzmq =25.0.0 \ No newline at end of file