dashline
Member
hello,
I am trting to compile convert_mpas downloaded from github. And I met some problems.
When I simply use command "make", I get errors below:
[tianxj@ln1%tianhe convert_mpas-master]$ make
( cd src; make FC="mpif90" FFLAGS="-O2 -ffree-form -Wall -DHAVE_NF90_INQ_VARIDS" FCINCLUDES="-I/vol6/software/io_tools/netcdf/mpi/4.4/include" FCLIBS="-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" )
make[1]: Entering directory `/vol6/home/tianxj/yhluo/mpas/convert_mpas-master/src'
rm -f scan_input.o scan_input.mod
mpif90 -O2 -ffree-form -Wall -DHAVE_NF90_INQ_VARIDS -c scan_input.F -I/vol6/software/io_tools/netcdf/mpi/4.4/include
ifort: command line warning #10006: ignoring unknown option '-ffree-form'
ifort: command line warning #10157: ignoring option '-W'; argument is of wrong type
scan_input.F(1): error #5149: Illegal character in statement label field [m]
module scan_inpute
^
scan_input.F(1): error #5149: Illegal character in statement label field [o]
module scan_inpute
-^
...
/tmp/ifortzcsGNj.i(138): catastrophic error: Too many errors, exiting
compilation aborted for scan_input.F (code 1)
make[1]: *** [scan_input.o] Error 1
make[1]: Leaving directory `/vol6/home/tianxj/yhluo/mpas/convert_mpas-master/src'
make: *** [all] Error 2
I am trting to compile convert_mpas downloaded from github. And I met some problems.
When I simply use command "make", I get errors below:
[tianxj@ln1%tianhe convert_mpas-master]$ make
( cd src; make FC="mpif90" FFLAGS="-O2 -ffree-form -Wall -DHAVE_NF90_INQ_VARIDS" FCINCLUDES="-I/vol6/software/io_tools/netcdf/mpi/4.4/include" FCLIBS="-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" )
make[1]: Entering directory `/vol6/home/tianxj/yhluo/mpas/convert_mpas-master/src'
rm -f scan_input.o scan_input.mod
mpif90 -O2 -ffree-form -Wall -DHAVE_NF90_INQ_VARIDS -c scan_input.F -I/vol6/software/io_tools/netcdf/mpi/4.4/include
ifort: command line warning #10006: ignoring unknown option '-ffree-form'
ifort: command line warning #10157: ignoring option '-W'; argument is of wrong type
scan_input.F(1): error #5149: Illegal character in statement label field [m]
module scan_inpute
^
scan_input.F(1): error #5149: Illegal character in statement label field [o]
module scan_inpute
-^
...
/tmp/ifortzcsGNj.i(138): catastrophic error: Too many errors, exiting
compilation aborted for scan_input.F (code 1)
make[1]: *** [scan_input.o] Error 1
make[1]: Leaving directory `/vol6/home/tianxj/yhluo/mpas/convert_mpas-master/src'
make: *** [all] Error 2