[AMBER] Compiling Ambertools 1.4 on MacBook SnowLeopard10.6.4

From: Dean Cuebas <deancuebas.missouristate.edu>
Date: Thu, 11 Nov 2010 10:19:03 -0600

Dear users,

I've tried to install Ambertools1.4 and have a compiler problem.
I followed the instructions on amberonmac.blogspot.com SATURDAY, MAY 15,
2010 post.


1) Dowloaded and installed gcc-snwleo-intel-bin.tar.gz
2) type gcc -v and I get:
++++++++++++++++++++++++
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin10/4.6.0/lto-w
rapper
Target: x86_64-apple-darwin10
Configured with: ../gcc-4.6-20100703/configure
--enable-languages=fortran,c++ --host=x86_64-apple-darwin10
--build=x86_64-apple-darwin10
Thread model: posix
gcc version 4.6.0 20100703 (experimental) (GCC)
++++++++++++++++++++++++++++++++++
Which is a higher version of gcc than in the amberonmac demo.

3) Type gfortran -v and I get:

+++++++++++++++++++++++++++++
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin10/4.6.0/lto-w
rapper
Target: x86_64-apple-darwin10
Configured with: ../gcc-4.6-20100703/configure
--enable-languages=fortran,c++ --host=x86_64-apple-darwin10
--build=x86_64-apple-darwin10
Thread model: posix
gcc version 4.6.0 20100703 (experimental) (GCC)
++++++++++++++++++++++++++++++++++++

4) I cd to the src directory of Ambertools and type
./configure -macAccelerate gnu

+++++++++++++++++++++++++++++++++++++++++++++
Your AMBERHOME environment variable should be set to /usr/local/amber11
 

Obtaining the gnu suite version:
      gcc -v
The version is 4.6.0

Testing the gcc compiler:
     gcc -DUSE_AMBER_C9XCOMPLEX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-o testp testp.c
testp.c:1:19: fatal error: stdio.h: No such file or directory
compilation terminated.
./configure: line 967: ./testp: No such file or directory
Error: Unable to compile a C program using gcc -DUSE_AMBER_C9XCOMPLEX
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    Please check your compiler settings or configure flags.
++++++++++++++++++++++++++++++++++++++++++++++

Any help would be appreciated!

Thanks in advance.

Dean
-- 
Dr. Dean Cuebas, Associate Prof of Chemistry
deancuebas.missouristate.edu, Ph 417-836-8567 FAX 417-836-5507
Dept. of Chemistry, Missouri State University
Springfield, Missouri 65897
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Nov 11 2010 - 08:30:03 PST
Custom Search