NOTE: The netcdf-porting
mailing list is no longer active. The list archives are made available for historical reasons.
Hi, all I would like to install WRFV3 on my HP Itanium machine with intel fortran compiler. For installing WRFV3 , I know I must have netcdf which also complied with intel compiler. When I tried to install netcdf 3.6.2 with gfortran there's no problem. But compiling with ifort command these error massage shows... =========================================================================================== make[1]: Entering directory `/util/netcdf-3.6.2/f90' /bin/sh ../libtool --mode=compile ifort -I../libsrc -I. -g -c -o typeSizes.lo typeSizes.f90 libtool: compile: ifort -I../libsrc -I. -g -c typeSizes.f90 -o typeSizes.o /bin/sh ../libtool --mode=compile ifort -I../libsrc -I. -g -c -o netcdf.lo netcdf.f90 libtool: compile: ifort -I../libsrc -I. -g -c netcdf.f90 -o netcdf.o/bin/sh ../libtool --mode=link ifort -I../libsrc -I. -g -o libnetcdff90.la typeSizes.lo netcdf.lo libtool: link: ar cru .libs/libnetcdff90.a typeSizes.o netcdf.o
libtool: link: ranlib .libs/libnetcdff90.a libtool: link: creating libnetcdff90.la libtool: link: ( cd ".libs" && rm -f "libnetcdff90.la" && ln -s "../libnetcdff90.la" "libnetcdff90.la" ) make[1]: Leaving directory `/util/netcdf-3.6.2/f90' Making check in fortran make[1]: Entering directory `/util/netcdf-3.6.2/fortran' depbase=`echo fort-attio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-attio.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-attio.lo fort-attio.c; \ then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-attio.lo -MD -MP -MF .deps/fort-attio.Tpo -c fort-attio.c -o fort-attio.o In file included from fort-attio.c:7: ncfortran.h:26:42: error: NF_INT_IS_C_... not defined: No such file or directory fort-attio.c: In function 'NF_INT_cfF': fort-attio.c:13: error: expected declaration specifiers before 'NF_INTEGER' fort-attio.c:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NF_INTEGER' fort-attio.c:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NF_INTEGER' fort-attio.c:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NF_INTEGER' fort-attio.c:141: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NF_INTEGER' fort-attio.c:148: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NF_INTEGER' fort-attio.c:148: error: expected '{' at end of input make[1]: *** [fort-attio.lo] Error 1 make[1]: Leaving directory `/util/netcdf-3.6.2/fortran' make: *** [check-recursive] Error 1 ======================================================================================================================================================================= I really don't know what the problem is... Plase help me!!! I'd grateful if you give me some advice!!! Thank you!!! 안녕하세요.
netcdf-porting
archives: