Running unimake to create Makefile for solve
System name: Linux linux-cvw0 2.6.37.1-1.2-default #1 SMP 2011-02-21 10:34:10 +0100 i686 i686 i386 GNU/Linux
System release number translated to 2637
No i86 compiler specification--assuming gfortran (gcc 4.2x)
Makefile for solve remade by unimake
gfortran -c -O3 -Wuninitialized -Wunused -fno-f2c -ffast-math -m64 abnew.f
f951: sorry, unimplemented: 64-bit mode not compiled in
make: *** [solve_lib.a(abnew.o)] 错误 1
Failure in make_gamit -- install_software terminated
zhao@linux-cvw0:~/programs/gamit105>
——————————————解决方法——————————————————————————
(我的linux版本是opensuse11.4)需要修改
libraries目录下的Makefile.config 中的为(需要根据linux发行版本确定)
### GCC V4 gfortran flags ###
FTN = gfortran
FFLAGS = -O3 -Wuninitialized -fno-f2c -ffast-math -fno-automatic -fno-backslash
-m32
CC = gcc
# For 64-bit machines:
CFLAGS = -g -m32 -DADD64BIT
gamit/solve 目录下的Makefile.generic 中的为
FFLAGS = -O3 -Wuninitialized -Wunused -fno-f2c -ffast-math
-m32 #gftn
主要是把-m64 ,修改为-m32