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

Fixes for f2py and imagemagick #62

Merged
merged 3 commits into from
Mar 25, 2020

Conversation

mathomp4
Copy link
Member

@mathomp4 mathomp4 commented Mar 25, 2020

This PR is to add support for systems where f2py and ImageMagick might not be installed or set up correctly. This is useful for things like AWS or laptops as neither of these two features are needed if you are trying to run just GEOSgcm.x.

Obviously, on operational systems we need both.

This should be taken in concert with:

#62
GEOS-ESM/GEOSchem_GridComp#68
GEOS-ESM/GMAO_Shared#84
GEOS-ESM/UMD_Etc#11

That said, if the ESMA_cmake PR/change is not taken, the model will still build, but no f2py will run (as it's missing the F2PY_FOUND variable).

This update fixes some issues where systems do not have
either ImageMagick or F2Py. If F2Py is not found, then F2Py
targets are not built.
This seems to do better. The main issues were because we need to test
the exact f2py that the system finds. This now compiles a test
subroutine with f2py and looks for a output .so or .alksdjfasd.so
@mathomp4
Copy link
Member Author

Adding @sdrabenh as a reviewer mainly to keep him aware of the multi-repo-ness of this change.

@mathomp4 mathomp4 added the enhancement New feature or request label Mar 25, 2020
@mathomp4 mathomp4 merged commit d8ae41e into master Mar 25, 2020
@mathomp4 mathomp4 deleted the feature/mathomp4/f2py-and-latex-cmake-fixes branch April 13, 2020 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants