[AMBER] Error while compiling AT1.4 on OS X

From: Gustaf Olsson <gustaf.olsson.lnu.se>
Date: Thu, 10 Jun 2010 08:54:39 +0200

I followed the instruction at amberonmac bloggspot

I finally managed to "bypass" fink and xcode gcc compilers and confirmed the right versions of gfortran and gcc


I then execute:

./configure -macAccelerate gnu

and pass the test.

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

Testing the gcc compiler:
     gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c
OK

Validating the C++ compiler version:
     g++ -v
The version is 4.2.1
OK

Testing the gfortran compiler:
     gfortran -O0 -o testp testp.f
OK

Testing mixed C/Fortran compilation:
     gcc -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 -o testp testp.c.o testp.f.o -lgfortran -framework Accelerate
OK

Testing pointer size:
     gcc -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.

Configuring fftw-2.1.5; (may be time-consuming)

    fftw-2.1.5 configure succeeded.

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

The next step is to type 'make install'

But as usual there must be something wrong or it wouldn't be right.....

When running:

make install

I recieve this error:

make: *** No rule to make target `install'. Stop.

Please help me solve this.

By the way, what happend to:

make -f Makefile_at

In order to install AT1.3 on my MBP, OS X 10.6.3 I had to install Xcode with gcc first, then FINK with unstable 64-bit versions and install GNU in order to get the right combination of compilers.... I also tried MacPorts and HPC that time, without success. That took quite a while to figure out. I might also add that the Makefile is completely empty.

Best Regards
Gustaf Olsson

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Jun 10 2010 - 00:00:03 PDT
Custom Search