Use fortran compilers for preprocessing instead of cpp#83
Use fortran compilers for preprocessing instead of cpp#83anton-seaice merged 6 commits intomasterfrom
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.
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)