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

build MPI #133

Merged
merged 38 commits into from
May 3, 2024
Merged

build MPI #133

merged 38 commits into from
May 3, 2024

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented Dec 12, 2023

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

Fix #132.

@njzjz
Copy link
Member Author

njzjz commented Dec 12, 2023

@conda-forge-admin, please rerender

@conda-forge-webservices
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.

Here's what I've got...

For recipe:

  • The source section contained an unexpected subsection name. string is not a valid subsection name.

@njzjz
Copy link
Member Author

njzjz commented Dec 12, 2023

@conda-forge-admin, please rerender

@conda-forge-webservices
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

conda-forge-webservices[bot] and others added 3 commits December 12, 2023 02:29
recipe/meta.yaml Outdated Show resolved Hide resolved
recipe/meta.yaml Outdated Show resolved Hide resolved
Copy link
Member Author

@njzjz njzjz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it passes on my computer after multiple retries. I am going to see if it passes here

recipe/meta.yaml Outdated Show resolved Hide resolved
@njzjz
Copy link
Member Author

njzjz commented Jan 3, 2024

Got this error for osx-arm64:

2024-01-03T08:16:13.8739220Z + conda install --yes --no-deps --force-reinstall -p /Users/runner/miniforge3/conda-bld/ambertools_1704269182095/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol xorg-xproto xorg-libx11
2024-01-03T08:16:13.8769280Z + local cmd=install
2024-01-03T08:16:13.8842690Z + case "$cmd" in
2024-01-03T08:16:13.8871280Z + __conda_exe install --yes --no-deps --force-reinstall -p /Users/runner/miniforge3/conda-bld/ambertools_1704269182095/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol xorg-xproto xorg-libx11
2024-01-03T08:16:13.8873080Z + /Users/runner/miniforge3/bin/conda install --yes --no-deps --force-reinstall -p /Users/runner/miniforge3/conda-bld/ambertools_1704269182095/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol xorg-xproto xorg-libx11
2024-01-03T08:16:16.5440100Z Channels:
2024-01-03T08:16:16.5440880Z  - conda-forge
2024-01-03T08:16:16.5441260Z Platform: osx-64
2024-01-03T08:16:50.9159540Z Collecting package metadata (repodata.json): ...working... done
2024-01-03T08:16:51.2541850Z Solving environment: ...working... failed
2024-01-03T08:16:51.2545380Z 
2024-01-03T08:16:51.2546940Z InvalidSpec: The package "conda-forge/osx-arm64::python_abi==3.9=4_cp39" is not available for the specified platform

It's not related to this PR but should be resolved.

@jaimergp, could you please clarify why they need to be reinstalled? Should they be installed for the host or target platform? Thanks!

@njzjz
Copy link
Member Author

njzjz commented Jan 5, 2024

Oh, I see these comments:

# Workarounds for issue #20
# In MacOS, `tk` ships some X11 headers that interfere with the X11 libraries
# 1) delete clobbered X11 headers (mix of tk and xorg)
rm -rf ${PREFIX}/include/X11/{DECkeysym,HPkeysym,Sunkeysym,X,XF86keysym,Xatom,Xfuncproto}.h
rm -rf ${PREFIX}/include/X11/{ap_keysym,keysym,keysymdef,Xlib,Xutil,cursorfont}.h
# 2) Reinstall Xorg dependencies
# We temporarily disable the (de)activation scripts because they fail otherwise

I think it should be reinstalled for the host platform.

@njzjz
Copy link
Member Author

njzjz commented Jan 5, 2024

All builds pass. Now I'll build for other Python versions.

@njzjz
Copy link
Member Author

njzjz commented Jan 5, 2024

@conda-forge-admin, please rerender

recipe/build.sh Outdated
conda install --yes --no-deps --force-reinstall -p ${PREFIX} xorg-xproto xorg-libx11
CONDA_SUBDIR="$target_platform" conda install --yes --no-deps --force-reinstall -p ${PREFIX} xorg-xproto xorg-libx11
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand why this change is needed - could you help me out?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got this error: #133 (comment)

@njzjz
Copy link
Member Author

njzjz commented Jan 14, 2024

Hi @conda-forge/ambertools, could someone take a review and merge the PR? Everything should be fine.

@njzjz
Copy link
Member Author

njzjz commented May 2, 2024

openmpi tests encounter the same error as conda-forge/openmpi-feedstock#152

@mattwthompson
Copy link
Member

That's weird. Any ideas besides bringing down openssh ... ?

@njzjz
Copy link
Member Author

njzjz commented May 2, 2024

I set export OMPI_MCA_plm_ssh_agent=false as suggested by conda-forge/openmpi-feedstock#152 (comment).

@njzjz
Copy link
Member Author

njzjz commented May 3, 2024

I set export OMPI_MCA_plm_ssh_agent=false as suggested by conda-forge/openmpi-feedstock#152 (comment).

Oh, it doesn't work :(

@mattwthompson mattwthompson added the automerge Merge the PR when CI passes label May 3, 2024
@github-actions github-actions bot merged commit d87173b into conda-forge:main May 3, 2024
29 checks passed
Copy link
Contributor

github-actions bot commented May 3, 2024

Hi! This is the friendly conda-forge automerge bot!

I considered the following status checks when analyzing this PR:

  • linter: passed
  • azure: passed

Thus the PR was passing and merged! Have a great day!

@mattwthompson
Copy link
Member

Works well enough for us 🙃

Thanks for your work and patience @njzjz - I think people will like this addition

@mattwthompson mattwthompson mentioned this pull request May 29, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge the PR when CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MPI builds
6 participants