[RegCNET] Can't configure RegCM4.3.4
Giuliani Graziano
ggiulian at ictp.it
Sun Sep 30 16:40:50 CEST 2012
> Dear RegCM community,
> Salam
> I am trying to configure RegCM4.3.4 in a linux environment but I couldn't
> make it due to some error. I have the following compiler loaded
> (i-cce/11.1 , i-fce/11.1, i-compilers/11.1(default), netcdf/4.0.1, and
> openmpi/1.4.1-intel).
>
> *Then, I exported the following environment variables:
>
>
> export LDFLAGS='-L/pdc/vol/netcdf/4.0.1/intel/lib
> -I/pdc/vol/netcdf/4.0.1/intel/include'
> export LIBS=-lnetcdf
> export CC=gcc
> export CFLAGS=-O
> export MPIFC=mpif90
> export FCFLAGS='-c -cpp'
> export CPP=cpp
>
>
> *Then I run:
> ./configure
>
> *And the I got the following answer
>
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking how to print strings... printf
> checking for gcc... /usr/bin/gcc
> checking whether the C compiler works... no
> configure: error: in
> `/afs/pdc.kth.se/home/a/abubakr/Regional/RegCM-4.3.4':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
>
> Any one can guess why the C compiler cannot create the executables? Did I
> missed to define something in the flags list?
>
[...]
Using Intel compilers for the required netCDF library, forces you to use
the same compiler also for the model. You should use CC=icc FC=ifort.
Anyway, I also suggest to have a look to the config.log, as suggested by
the configure script. If you cannot solve the problem, send me offlist the
config.log.
More information about the RegCNET
mailing list