Skip to content

Fix build#160

Merged
akrherz merged 8 commits intoconda-forge:mainfrom
bouweandela:fix-build
Apr 9, 2025
Merged

Fix build#160
akrherz merged 8 commits intoconda-forge:mainfrom
bouweandela:fix-build

Conversation

@bouweandela
Copy link
Copy Markdown
Contributor

@bouweandela bouweandela commented Apr 4, 2025

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.

Closes #154
Closes #156
Closes #157
Closes #158

Fix the build

@conda-forge-admin
Copy link
Copy Markdown
Contributor

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/meta.yaml) and found it was in an excellent condition.

@bouweandela
Copy link
Copy Markdown
Contributor Author

bouweandela commented Apr 4, 2025

@conda-forge-admin, please rerender

conda-forge-webservices[bot] and others added 3 commits April 4, 2025 17:31
Comment thread recipe/meta.yaml Outdated
- udunits2
- zlib
- esmf <8.6.0
- esmf * mpi_*
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

If I understand it correctly, loading a grid from file is done using this function which requires parallelio which is only available in the mpi builds.

;---Checking if the user specifies that source grid is ESMF
if (isatt_logical_true(opt2,"SrcESMF")) then
- ESMFCMD = ESMFCMD + " --src_type ESMF"
+ ESMFCMD = ESMFCMD + " --src_type ESMFMESH"
Copy link
Copy Markdown
Contributor Author

@bouweandela bouweandela Apr 8, 2025

Choose a reason for hiding this comment

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

The --src_type and --dst_type flags were ignored in older ESMF versions and reinstated with different values in v8.4 (compare v8.3 vs v8.4).

Comment thread recipe/comparison.patch

- if [[ $compare_ret -eq 0 ]]; then
+ if [[ $(echo "$METRIC < 10^-5" | sed 's/e-0*/*10^-/' |bc -l) -eq 1 ]]; then
+ if [[ $(echo "$METRIC < 10^-5" | sed -E 's/.*\((.+)\)/\1/' | sed 's/e-0*/*10^-/' |bc -l) -eq 1 ]]; then
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Output format of compare -metric DSSIM has changed from 9.8793e-07 to 0.064744 (9.8793e-07) on recent versions of imagemagick

Comment thread recipe/meta.yaml
- coreutils
- git
- imagemagick
- imagemagick !=7.1.1_47
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@bouweandela bouweandela marked this pull request as ready for review April 9, 2025 07:53
@bouweandela bouweandela changed the title Attempt at fixing build Fix build Apr 9, 2025
Copy link
Copy Markdown
Contributor

@akrherz akrherz left a comment

Choose a reason for hiding this comment

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

Thank you!

@akrherz akrherz merged commit 03724e0 into conda-forge:main Apr 9, 2025
5 checks passed
@bouweandela bouweandela deleted the fix-build branch April 9, 2025 11:38
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 this pull request may close these issues.

Unpin esmf to free from esmf <8.6.0

3 participants