Remember that mpifort is just a wrapper over your underlying fortran compiler. If your fortran compiler can't compile your Fortran code, then neither can mpifort.
You can use the "--showme" option to mpifort to show you the command line that it is invoking under the coverts. E.g.: mpifort -ffree-form -ffree-line-length-0 -ff2c -fno-second-underscore -I/opt/fftw-3.3.5/include -O3 -c xml.f90 --showme > On Nov 14, 2016, at 9:08 AM, Mahmood Naderan <mahmood...@gmail.com> wrote: > > 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))) > > > Regards, > Mahmood > > > _______________________________________________ > users mailing list > users@lists.open-mpi.org > https://rfd.newmexicoconsortium.org/mailman/listinfo/users -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/ _______________________________________________ users mailing list users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/users