Mahmood Naderan <mahmood...@gmail.com> writes: > Hi, > The following mpifort command fails with a syntax error. It seems that the > code is compatible with old gfortran, but I am not aware of that. Any idea > about that? > > mpifort -ffree-form -ffree-line-length-0 -ff2c -fno-second-underscore > -I/opt/fftw-3.3.5/include -O3 -c xml.f90 > xml.F:641.46: > > CALL XML_TAG("set", comment="spin " > 1 > Error: Syntax error in argument list at (1) > > > > > In the source code, that line is > > CALL XML_TAG("set", comment="spin "//TRIM(ADJUSTL(strcounter)))
Apparently that mpifort is running cpp on .f90 files, and without --traditional. I've no idea how it could be set up to do that; gfortran itself won't do it. _______________________________________________ users mailing list users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/users