dashline
Member
when I compile the grid_rotate, I get the error as followed:
I think it's the problem of FFLAGS = -m64 -O2 -ffree-line-length-none -ffree-form -Wall, but I don't konw how to configure.
Code:
[tianxj@ln1%tianhe grid_rotate]$ make
mpif90 grid_rotate.f90 -o grid_rotate -m64 -O2 -ffree-line-length-none -ffree-form -Wall -I/vol6/software/io_tools/netcdf/mpi/4.4/include -L/vol6/software/io_tools/netcdf/mpi/4.4/lib -lnetcdff -L/vol6/software/io_tools/hdf5/mpi/1.8.11/lib -L/vol6/software/io_tools/pnetcdf/1.6.1/lib -L/vol6/software/io_tools/netcdf/mpi/4.4/lib -lnetcdf -lnetcdf
ifort: command line warning #10006: ignoring unknown option '-ffree-line-length-none'
ifort: command line warning #10006: ignoring unknown option '-ffree-form'
ifort: command line warning #10157: ignoring option '-W'; argument is of wrong type
grid_rotate.f90(102): error #6632: Keyword arguments are invalid without an explicit interface. [EXITSTAT]
call execute_command_line(copyCmd, exitstat=copyStat)
-----------------------------------------^
compilation aborted for grid_rotate.f90 (code 1)
make: *** [grid_rotate] Error 1