Skip to content

build MPI#133

Merged
github-actions[bot] merged 38 commits into
conda-forge:mainfrom
njzjz:mpi
May 3, 2024
Merged

build MPI#133
github-actions[bot] merged 38 commits into
conda-forge:mainfrom
njzjz:mpi

Conversation

@njzjz

@njzjz njzjz commented Dec 12, 2023

Copy link
Copy Markdown
Member

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

njzjz commented Dec 12, 2023

Copy link
Copy Markdown
Member Author

@conda-forge-admin, please rerender

@conda-forge-webservices

Copy link
Copy Markdown

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

njzjz commented Dec 12, 2023

Copy link
Copy Markdown
Member Author

@conda-forge-admin, please rerender

@conda-forge-webservices

Copy link
Copy Markdown

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
Comment thread recipe/meta.yaml Outdated
Comment thread recipe/meta.yaml Outdated
njzjz and others added 2 commits December 21, 2023 13:42
Co-authored-by: jaimergp <jaimergp@users.noreply.github.com>

@njzjz njzjz left a comment

Copy link
Copy Markdown
Member Author

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

Comment thread recipe/meta.yaml Outdated
@njzjz

njzjz commented Jan 3, 2024

Copy link
Copy Markdown
Member Author

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

njzjz commented Jan 5, 2024

Copy link
Copy Markdown
Member Author

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

njzjz commented Jan 5, 2024

Copy link
Copy Markdown
Member Author

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

@njzjz

njzjz commented Jan 5, 2024

Copy link
Copy Markdown
Member Author

@conda-forge-admin, please rerender

Comment thread recipe/build.sh Outdated
mv ${BUILD_PREFIX}/etc/conda/{activate.d,activate.d.bak}
mv ${BUILD_PREFIX}/etc/conda/{deactivate.d,deactivate.d.bak}
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
Copy Markdown
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
Copy Markdown
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

njzjz commented Jan 14, 2024

Copy link
Copy Markdown
Member Author

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

@njzjz

njzjz commented May 2, 2024

Copy link
Copy Markdown
Member Author

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

@mattwthompson

Copy link
Copy Markdown
Member

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

@njzjz

njzjz commented May 2, 2024

Copy link
Copy Markdown
Member Author

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

@njzjz

njzjz commented May 3, 2024

Copy link
Copy Markdown
Member Author

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
@github-actions

github-actions Bot commented May 3, 2024

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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