Open lxavier opened 8 years ago
removing the line in the pp/ folder solves the problem
@lxavier It means that the PGI compiler does not execute a preprocessing pass ?
either that or due to the include the spacing is not correct (I think it needs to have no space before the #ifdef). The problem is only for included files, the other files are fine.
@lxavier Is this still an issue? Can you provide an example to reproduce?
I have not seen that recently, but I assume it could still be an issue, I think we should not add the "#define ACC_PREFIX !$acc" in a Fortran include file (so pp_ser should ignore them), because the ACC_PREFIX is set in the file which is doing the incule already
@lxavier Should I copy the issue over to serialbox2 or we wait until it reappears?
move it over for now (in case someone triggered it again)
Error with PGI because of #define ACC_PREFIX !$acc in the beginning of an included file: ''' PGF90-S-0021-Label field of continuation line is not blank (/project/c01/lapixa/PGI/20160211_sdeldon/cosmo_gpu/pp/statement_functs.incf: 1) 0 inform, 0 warnings, 1 severes, 0 fatal for turbdiff make[1]: *\ [turbulence_diff.o] Error 2 make[1]: Leaving directory `/project/c01/lapixa/PGI/20160211_sdeldon/cosmo_gpu/obj' '''