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:
gcc -DSYSV -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c
OK
Testing the gfortran compiler:
gfortran -O0 -o testp testp.f
OK
Testing mixed C/Fortran compilation:
gcc -DSYSV -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o testp.c.o
testp.c
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
OK
Testing pointer size:
gcc -DSYSV -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o test_pointer_size
test_pointer_size.c
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
`/home/kanin/Softwares/AMBER-12/amber12/src/pmemd/src/cuda'
make[3]: *** [cuda/cuda.a] Error 2
make[3]: Leaving directory
`/home/kanin/Softwares/AMBER-12/amber12/src/pmemd/src'
make[2]: *** [cuda] Error 2
make[2]: Leaving directory
`/home/kanin/Softwares/AMBER-12/amber12/src/pmemd'
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
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Jul 15 2013 - 05:00:02 PDT