Hi MPAS Community,
I tried to install convert_mpas on IBM HPC, follow the README.md, I typed 'make', then the error arised as follow,
Which type should 'nf90_inq_varids' be implicted? Or, any other ideas?
Thanks!
---------------------------------------------------------------------------------------------------------------------------------------------------
the gfortran version is
--------------------------------------------------------------------------------------------------------------------
I tried to install convert_mpas on IBM HPC, follow the README.md, I typed 'make', then the error arised as follow,
Which type should 'nf90_inq_varids' be implicted? Or, any other ideas?
Thanks!
Code:
jshu@login01 convert_mpas]$ make
( cd src; make FC="gfortran" FFLAGS="-O2 -ffree-form -Wall -DHAVE_NF90_INQ_VARIDS" FCINCLUDES="-g -O2 -I/data/home/jshu/Build_WRF/LIBRARIES/netcdf/include" FCLIBS="-L/data/home/jshu/Build_WRF/LIBRARIES/netcdf/lib -lnetcdff -lnetcdf -lm" )
make[1]: Entering directory `/data/home/jshu/MPAS/MPAS_tools/convert_mpas/src'
rm -f scan_input.o scan_input.mod
gfortran -O2 -ffree-form -Wall -DHAVE_NF90_INQ_VARIDS -c scan_input.F -g -O2 -I/data/home/jshu/Build_WRF/LIBRARIES/netcdf/include
scan_input.F:80.15:
stat = nf90_inq_varids(handle % ncid, handle % num_vars, handle % varid
1
Error: Function 'nf90_inq_varids' at (1) has no IMPLICIT type
make[1]: *** [scan_input.o] Error 1
make[1]: Leaving directory `/data/home/jshu/MPAS/MPAS_tools/convert_mpas/src'
make: *** [all] Error 2
the gfortran version is
Code:
$ gfortran --version
GNU Fortran (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
Copyright (C) 2015 Free Software Foundation, Inc.
GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING