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

Conda-based testing #25

Closed
lmoresi opened this issue May 20, 2020 · 15 comments · Fixed by #27 or #28
Closed

Conda-based testing #25

lmoresi opened this issue May 20, 2020 · 15 comments · Fixed by #27 or #28
Assignees

Comments

@lmoresi
Copy link
Member

lmoresi commented May 20, 2020

The updated petsc etc (#10) has broken the old conda-based build and test workflow. Should be simple to update but does need to be done.

@rbeucher
Copy link
Contributor

I am working on it

@brmather brmather linked a pull request May 28, 2020 that will close this issue
@brmather
Copy link
Member

brmather commented May 28, 2020

The tests are still failing, and from the error messages it looks like conda must be installing some version of quagmire without QuagMesh. I think we should have separate actions for testing with pytest and building a Quagmire binary to upload to the cloud. The former should run on every push, the latter on every push to the master branch.

@lmoresi
Copy link
Member Author

lmoresi commented May 28, 2020 via email

@rbeucher
Copy link
Contributor

All right, my bad, it was still getting quagmire from my branch.
I have made the changes.

@brmather brmather linked a pull request May 28, 2020 that will close this issue
@brmather
Copy link
Member

I can't seem to install petsc binaries with a fresh conda install (using a miniconda3 docker container).

conda install -c underworldcode petsc
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: - 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

@lmoresi
Copy link
Member Author

lmoresi commented May 29, 2020 via email

@underworldcode underworldcode deleted a comment from lmoresi May 29, 2020
@brmather
Copy link
Member

That's right. More output:

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package _libgcc_mutex conflicts for:
petsc -> libgcc-ng[version='>=7.5.0'] -> _libgcc_mutex=[build=main]
python=3.7 -> libgcc-ng[version='>=7.3.0'] -> _libgcc_mutex=[build=main]

Package libstdcxx-ng conflicts for:
petsc -> metis[version='>=5.1.0,<5.2.0a0'] -> libstdcxx-ng[version='>=7.2.0|>=7.3.0']
petsc -> libstdcxx-ng[version='>=7.5.0']

Package libgcc-ng conflicts for:
petsc -> libgcc-ng[version='>=7.5.0']
petsc -> metis[version='>=5.1.0,<5.2.0a0'] -> libgcc-ng[version='>=7.2.0|>=7.3.0']

@rbeucher
Copy link
Contributor

Yeah... I can't either. Well I can install petsc fine. But I struggle with quagmire. !!!!!

@rbeucher
Copy link
Contributor

I think I need to build it with more flexible settings.

@lmoresi
Copy link
Member Author

lmoresi commented May 29, 2020 via email

@brmather
Copy link
Member

What I don't understand is that installing the conda-forge petsc pulls in hdf5, but petsc doesn't compile against it.

@rbeucher
Copy link
Contributor

rbeucher commented Jun 2, 2020

Looking at it now. QUAG-3 QUAG-4

@rbeucher
Copy link
Contributor

rbeucher commented Jun 3, 2020

OK comes from h5py that does not have a build with HDF5 1.10.6.
They seem to have some issues with windows. We can build our own h5py in our channel for now.

@brmather
Copy link
Member

brmather commented Jun 3, 2020

Fingers crossed PR conda-forge/h5py-feedstock#72 is merged soon!

@brmather
Copy link
Member

#28 has been merged into dev. Thanks @rbeucher for all your hard work getting conda to work with Quagmire! I'm closing this issue...

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