-
Notifications
You must be signed in to change notification settings - Fork 0
Use fortran compilers for preprocessing instead of cpp #83
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
Conversation
|
|
@manodeep - do you have any ideas why this change fails for gcc and not for intel? The -P flag is there, this is failing trying to do preprocessing This doesn't impact when using CMake, maybe I should just not worry about the Makefile build ? |
|
|
Yes - the Can you manually run that line and see what it does? |
|
hmm |
|
works however
does not, it writes output to the terminal (See IFX manual) |
|
This changes closes #51 by setting different arguments to conduct preprocessing for intel and gfortran compilers. intel needs "-fpp -P" whilst gfortran needs "-cpp -E" Using the intel compiler for preprocessing defines some compiler specific directives (e.g. |
dougiesquire
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Does the compiler detection also need to be added to the access-esm1.6 branch?
Planning to fix this by merging the branches in #68 :) |
First I run some experiments and then change is finalised, see
#83 (comment)