[AMBER] unsupported GNU version! gcc 4.7 and up are not supported

From: Kanin Wichapong <kanin.wichapong.gmail.com>
Date: Mon, 15 Jul 2013 13:50:34 +0200

Dear Amber Users,

I tried to install amber cuda on my computer. However, I got some error
about gcc and GNU. By first compliling it was fine, no error.

./configure -cuda gnu

 Obtaining the gnu suite version:

gcc -v

The version is 4.7.3

 Testing the gcc compiler:



 Testing the gfortran compiler:

gfortran -O0 -o testp testp.f


 Testing mixed C/Fortran compilation:


gfortran -O0 -c -o testp.f.o testp.f

gcc -DSYSV -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c.o
testp.f.o -lgfortran -w


 Testing pointer size:

gcc -DSYSV -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o test_pointer_size

Detected 64 bit operating system.

 Testing flex: OK

 Configuring NetCDF (may be time-consuming)...

 NetCDF configure succeeded.

 Checking for zlib: OK

 Checking for libbz2: OK

Skipping configuration of FFTW3

 The configuration file, config.h, was successfully created.

 The next step is to type 'make install'

 Cleaning the src directories. This may take a few moments.

Configure complete.

- - - - - - - - - - - - -

However, during installation I got an error as below;

/usr/local/cuda-5.0/include/host_config.h:82:2: error: #error --
unsupported GNU version! gcc 4.7 and up are not supported!
make[4]: *** [kForcesUpdate.o] Error 1
make[4]: Leaving directory
make[3]: *** [cuda/cuda.a] Error 2
make[3]: Leaving directory
make[2]: *** [cuda] Error 2
make[2]: Leaving directory
make[1]: *** [cuda] Error 2
make[1]: Leaving directory `/home/kanin/Softwares/AMBER-12/amber12/src'
make: *** [install] Error 2

Before complie the program I already did *$AMBERHOME/update_amber --update
*to fix some bugs and update. However, I got that error about the gcc as
shown above. Anybody has an idea how to fix this problems?

Thank you so much in advance for any suggestion.

Best Regards,
Kanin Wichapng
AMBER mailing list
Received on Mon Jul 15 2013 - 05:00:02 PDT
Custom Search