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

a little problem about preronnie #21

Closed
ghost opened this issue Aug 22, 2018 · 1 comment
Closed

a little problem about preronnie #21

ghost opened this issue Aug 22, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 22, 2018

In usrint.F and termn8.F in ronnie directory, inclusion of mpif.h is:

#if defined DIST_MPI
     include 'mpif.h'
#endif

which is different from source\cfl3d\dist\termn8.F:

#if defined DIST_MPI
#     include "mpif.h"
#endif

It causes some trouble when mingw-w64 gfortran is used with MS-MPI on windows platform, following TUTORIAL: Adapting MS-MPI for MinGW64 .

According to https://docs.oracle.com/cd/E19957-01/805-4939/6j4m0vna1/index.html, it can be explained as:

Files included by the preprocessor #include directive can contain #defines and the like; files included with the compiler INCLUDE statement must contain only FORTRAN statements.

@crumsey
Copy link
Collaborator

crumsey commented Aug 22, 2018

Fix has been committed

@crumsey crumsey closed this as completed Aug 22, 2018
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