[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 20051031: Please, help me with netCDF..



Unidata Support <address@hidden> writes:

> ------- Forwarded Message
>
>>To: address@hidden
>>From: address@hidden
>>Subject: Please, help me with netCDF..
>>Organization: University of South Carolina
>>Keywords: 200510312236.j9VMah7s017789 netCDF 3.6.0-p1 ifort
>
> Hi, my name is Seungbum and I've been tried to install netCDF on ifort
> compiler so many times, but failed.
>
> My system is Linux Redhat 9(i686-pc-lunux-gnu) and I have to install netCDF
> on Intel Fortran 8.1.
>
> All suggestions that you provide in the web site didn't work to me.
>
> This is what I got even though I set the environment as your suggestion.
> Please, help me to fix it. Please.
>
> make[1]: Entering directory `/home/shong/WRF/netcdf-3.6.0-p1/src'
>
> Making `all' in directory /home/shong/WRF/netcdf-3.6.0-p1/src/fortran
>
> make[2]: Entering directory `/home/shong/WRF/netcdf-3.6.0-p1/src/fortran'
> cc -c -g -I../libsrc  -DNDEBUG -DpgiFortran fort-attio.c
> In file included from fort-attio.c:6:
> ncfortran.h:27:42: NF_INT_IS_C_... not defined: No such file or directory
> fort-attio.c:13: parse error before "NF_INTEGER"
> fort-attio.c:13: parse error before '*' token
> fort-attio.c:13: parse error before numeric constant
> fort-attio.c:13: warning: data definition has no type or storage class
> fort-attio.c:13: parse error before numeric constant
> fort-attio.c:13: parse error before '!' token
> fort-attio.c:13: parse error before numeric constant
> fort-attio.c:20: parse error before numeric constant
> fort-attio.c:20: warning: data definition has no type or storage class
> fort-attio.c:20: parse error before numeric constant
> fort-attio.c:20: parse error before '!' token
> fort-attio.c:20: parse error before numeric constant
> fort-attio.c:121: parse error before numeric constant
> fort-attio.c:121: warning: data definition has no type or storage class
> fort-attio.c:121: parse error before numeric constant
> fort-attio.c:121: parse error before '!' token
> fort-attio.c:121: parse error before numeric constant
> fort-attio.c:133: parse error before numeric constant
> fort-attio.c:133: warning: data definition has no type or storage class
> fort-attio.c:133: parse error before numeric constant
> fort-attio.c:133: parse error before '!' token
> fort-attio.c:133: parse error before numeric constant
> fort-attio.c:141: parse error before numeric constant
> fort-attio.c:141: warning: data definition has no type or storage class
> fort-attio.c:141: parse error before numeric constant
> fort-attio.c:141: parse error before '!' token
> fort-attio.c:141: parse error before numeric constant
> fort-attio.c:148: parse error before numeric constant
> fort-attio.c:148: warning: data definition has no type or storage class
> fort-attio.c:148: parse error before numeric constant
> fort-attio.c:148: parse error before '!' token
> fort-attio.c:148: parse error before numeric constant
> make[2]: *** [fort-attio.o] Error 1
> make[2]: Leaving directory `/home/shong/WRF/netcdf-3.6.0-p1/src/fortran'
> make[1]: *** [subdir_target] Error 1
> make[1]: Leaving directory `/home/shong/WRF/netcdf-3.6.0-p1/src'
> make: *** [fortran/all] Error 2
>
> - Seungbum Hong
> University of South Carolina
>

This is an intel compiler configuration problem. See the note here:

http://www.unidata.ucar.edu/software/netcdf/docs/known_symptoms.html#NF_INT_IS_C

Please let me know if this doesn't help.

Thanks,

Ed
-- 
Ed Hartnett  -- address@hidden