amber-developers: amber-developers - problems with compiling amber11

From: Piotr Cieplak <pcieplak.burnham.org>
Date: Tue, 07 Oct 2008 13:47:48 -0700

Can anyone help with the problem of compiling amber11 - especially:
netcfd, with the problem shown below?
I use RHEnterprise Linux5, with ifort10.1.018 and I checkout the
current version of amber11 today (Oct7,08).
(I still haven't properly(?) installed MKL, so I don't use it).

Thanks for any clue
Piotr



cd ../netcdf/src; make install
make[2]: Entering directory `/home/pcieplak/amber11/src/netcdf/src'
Making install in f90
make[3]: Entering directory `/home/pcieplak/amber11/src/netcdf/src/f90'
make[4]: Entering directory `/home/pcieplak/amber11/src/netcdf/src/f90'
make[4]: Nothing to be done for `install-exec-am'.
test -z "/home/pcieplak/amber11/src/netcdf/share/man/man3" || mkdir -p
-- "/home/pcieplak/amber11/src/netcdf/share/man/man3"
 /usr/bin/install -c -m 644 './netcdf_f90.3'
'/home/pcieplak/amber11/src/netcdf/share/man/man3/netcdf_f90.3'
test -z "/home/pcieplak/amber11/src/netcdf/include" || mkdir -p --
"/home/pcieplak/amber11/src/netcdf/include"
 /usr/bin/install -c -m 644 'typesizes.mod'
'/home/pcieplak/amber11/src/netcdf/include/typesizes.mod'
 /usr/bin/install -c -m 644 'netcdf.mod'
'/home/pcieplak/amber11/src/netcdf/include/netcdf.mod'
make[4]: Leaving directory `/home/pcieplak/amber11/src/netcdf/src/f90'
make[3]: Leaving directory `/home/pcieplak/amber11/src/netcdf/src/f90'
Making install in fortran
make[3]: Entering directory
`/home/pcieplak/amber11/src/netcdf/src/fortran'
depbase=`echo fort-attio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -DNDEBUG
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -m64 -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
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -DNDEBUG
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -m64 -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[3]: *** [fort-attio.lo] Error 1
make[3]: Leaving directory
`/home/pcieplak/amber11/src/netcdf/src/fortran'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/pcieplak/amber11/src/netcdf/src'
make[1]: *** [netcdf.mod] Error 2
make[1]: Leaving directory `/home/pcieplak/amber11/src/sander'
make: *** [serial] Error 2
Received on Wed Oct 08 2008 - 05:11:34 PDT
Custom Search