Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken builds #34

Closed
basnijholt opened this issue Nov 13, 2017 · 5 comments · Fixed by #35
Closed

broken builds #34

basnijholt opened this issue Nov 13, 2017 · 5 comments · Fixed by #35

Comments

@basnijholt
Copy link
Contributor

basnijholt commented Nov 13, 2017

Currently the build is broken.

This build for PR #33 was still working, while after merging this build is broken.

These are the packages that are changed:
screen shot 2017-11-13 at 15 59 33

What I tried:

  • Building sequential MUMPS (based on the current recipe) with scotch from conda-forge, didn't work
    using
docker run -it --rm condaforge/linux-anvil
git clone https://gitlab.kwant-project.org/basnijholt/kwant.git
cd kwant/
git clone https://github.com/basnijholt/mumps-feedstock.git
cd mumps-feedstock/
git checkout seq
conda build .
conda install --use-local --yes mumps
cd ..
git clone https://gitlab.kwant-project.org/kwant/conda-recipes.git
yum install -y devtoolset-2-gcc-gfortran
conda config --add channels kwant
conda build --python 3.6 conda-recipes/kwant-dev
  • Building sequential MUMPS (based on current recipe) with an old version of scotch see this , with (also didn't work):
docker run -it --rm condaforge/linux-anvil
git clone https://gitlab.kwant-project.org/basnijholt/kwant.git
cd kwant/

git clone https://github.com/basnijholt/scotch-feedstock.git
cd scotch-feedstock/
git checkout seq
conda build .
conda install --use-local --yes scotch
cd ..

git clone https://github.com/basnijholt/mumps-feedstock.git
cd mumps-feedstock/
git checkout seq
conda build .
conda install --use-local --yes mumps
cd ..

git clone https://gitlab.kwant-project.org/kwant/conda-recipes.git
yum install -y devtoolset-2-gcc-gfortran
conda config --add channels kwant
conda build --python 3.5 conda-recipes/kwant-dev
  • Building using current MUMPS and edits in the build.conf
docker run -it --rm condaforge/linux-anvil
git clone https://gitlab.kwant-project.org/basnijholt/kwant.git
cd kwant/
git clone https://gitlab.kwant-project.org/kwant/conda-recipes.git
cd conda-recipes
git checkout ptscotch
cd ..
yum install -y devtoolset-2-gcc-gfortran
conda config --add channels kwant
conda build --python 3.6 conda-recipes/kwant-dev

Worked:

  • Building sequential MUMPS (old working recipe) with an old version of scotch see this , with:
docker run -it --rm condaforge/linux-anvil
git clone https://gitlab.kwant-project.org/basnijholt/kwant.git
cd kwant/

git clone https://github.com/basnijholt/scotch-feedstock.git
cd scotch-feedstock/
git checkout seq
conda build .
conda install --use-local --yes scotch
cd ..

git clone https://github.com/basnijholt/mumps-feedstock.git
cd mumps-feedstock/
git checkout old
conda build .
conda install --use-local --yes mumps
cd ..

git clone https://gitlab.kwant-project.org/kwant/conda-recipes.git
yum install -y devtoolset-2-gcc-gfortran
conda config --add channels kwant
conda build --python 3.5 conda-recipes/kwant-dev
  • Building sequential MUMPS (old working recipe) with the current version of scotch on conda-forge, with:
docker run -it --rm condaforge/linux-anvil
git clone https://gitlab.kwant-project.org/basnijholt/kwant.git
cd kwant/

git clone https://github.com/basnijholt/mumps-feedstock.git
cd mumps-feedstock/
git checkout old
conda build .
conda install --use-local --yes mumps
cd ..

git clone https://gitlab.kwant-project.org/kwant/conda-recipes.git
yum install -y devtoolset-2-gcc-gfortran
conda config --add channels kwant
conda build --python 3.5 conda-recipes/kwant-dev
@basnijholt
Copy link
Contributor Author

basnijholt commented Nov 13, 2017

I can confirm that everything worked with mumps=5.0.2=blas_openblas_202:
I build with that version and uploaded it to my anaconda channel:

docker run -it --rm condaforge/linux-anvil
git clone https://gitlab.kwant-project.org/kwant/kwant.git
cd kwant/

git clone https://gitlab.kwant-project.org/kwant/conda-recipes.git
yum install -y devtoolset-2-gcc-gfortran
conda config --add channels kwant
conda config --add channels basnijholt
git reset --hard 92ad0a35b998305276e8963b7dc72cc33f5fcf3f
conda build --python 3.5 conda-recipes/kwant-dev

@basnijholt
Copy link
Contributor Author

basnijholt commented Nov 13, 2017

After hours and hours of testing the problem is completely solved by an extremely trivial change:
change the ?= to = in this line.

To see that this is indeed the case:

docker run -it --rm condaforge/linux-anvil
git clone https://gitlab.kwant-project.org/basnijholt/kwant.git
cd kwant/

git clone https://github.com/basnijholt/mumps-feedstock.git
cd mumps-feedstock/
conda build .
conda install --use-local --yes mumps
cd ..

git clone https://gitlab.kwant-project.org/kwant/conda-recipes.git
yum install -y devtoolset-2-gcc-gfortran
conda build --python 3.5 conda-recipes/kwant-dev

@basnijholt
Copy link
Contributor Author

Reopening since MUMPS is not working in kwant.

@basnijholt basnijholt reopened this Nov 17, 2017
@basnijholt
Copy link
Contributor Author

Trying to get it to work by tweaking the build.conf:

docker run -it --rm condaforge/linux-anvil
git clone https://gitlab.kwant-project.org/kwant/kwant.git
cd kwant/

git clone https://gitlab.kwant-project.org/basnijholt/conda-recipes.git
yum install -y devtoolset-2-gcc-gfortran
conda build --python 3.5 conda-recipes/kwant-dev

@basnijholt
Copy link
Contributor Author

basnijholt commented Nov 21, 2017

Reverting to MUMPS build without MPI on the conda-forge/mumps-feedstock channel fixed the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant