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

Add CMake FortranCInterface to detect Fortran name mangling #4

Merged
merged 1 commit into from
Feb 14, 2018

Conversation

junkudo
Copy link

@junkudo junkudo commented Jan 29, 2018

This commit modifies the CMake build scripts to use the FortranCInterface module to figure out the Fortran name mangling pattern during configuration. This commit modifies the corresponding source code to use the CMake generated macros.

@cnpetra
Copy link
Collaborator

cnpetra commented Jan 29, 2018

thanks! looks good, minimal changes. Will test and merge it once I get back from DC.

@cnpetra cnpetra merged commit 100e484 into LLNL:master Feb 14, 2018
@cnpetra
Copy link
Collaborator

cnpetra commented Feb 14, 2018

@junkudo : is there any reason to require CMake 3.0 ? It is not present on quartz for example. I've changed it to 2.8. Other than that, everything worked fine and it is merged in the master now. Thanks again!

@junkudo
Copy link
Author

junkudo commented Feb 16, 2018

I was under the assumption that FortranCInterface was only available on cmake v 3.0.2: https://cmake.org/cmake/help/v3.0/module/FortranCInterface.html. Apparently they back-ported it to 2.8? No idea. Glad it worked.

ashermancinelli pushed a commit that referenced this pull request Jun 22, 2021
Shri/scopflow major refactor

Closes #1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11, #12, #14, #17, #18, and #15

See merge request exasgd/frameworks/scopflow!2
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.

2 participants