[RegCNET] Can't configure RegCM4.3.4

abubakr salih abubakr_salih at yahoo.com
Sat Sep 29 16:20:08 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? 


Thanks for any help

Best regards
Abubakr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20120929/69f80ccd/attachment.htm>


More information about the RegCNET mailing list