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

Make uses cpp rather than compiler #54

Open
russfiedler opened this issue Feb 18, 2021 · 0 comments
Open

Make uses cpp rather than compiler #54

russfiedler opened this issue Feb 18, 2021 · 0 comments

Comments

@russfiedler
Copy link
Contributor

In the Makefile the .F.o and .F90.o rules consist of 2 steps. The files are preprocessed with cpp and then the .f90 files are compiled.

CICE-Consortium/CICE@17f346b#diff-edcac6da09c9e9a6ee6bdac54c80057dc1ad4d43acb77a6f22b31de5e1dcf129

This means that compiler predefined macros aren't defined. This means that traceback info in mpi/ice_exit.F90 is unavailable.

I think using the compiler with -EP -P is one option if you want to keep the preprocessed files.

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

No branches or pull requests

1 participant