syntax error on 4.9.2
Mahmood Naderan
mahmood.nt@gmail.com
Tue Nov 15 05:30:00 GMT 2016
Hi
I am running the following command to compile a fortran code
gfortran -ffree-form -ffree-line-length-0 -ff2c
-fno-second-underscore -I/opt/fftw-3.3.5/include -O3 -c xml.f90
-I/opt/openmpi-2.0.1/include -pthread -I/opt/openmpi-2.0.1/lib
xml.F:641.46:
CALL XML_TAG("set", comment="spin "
1
Error: Syntax error in argument list at (1)
That line is
CALL XML_TAG("set", comment="spin "//TRIM(ADJUSTL(strcounter)))
It seems that the code is compatible fortran. I don't know which
version, but currently, gfortran is 4.9.2 (ubuntu 15.04). How can I
fix that?
Regards,
Mahmood
More information about the Fortran
mailing list