Problem with compiling abinit 6.10.2 on iMac 2011
Posted: Sun Dec 04, 2011 1:40 am
Hi everyone,
I am trying to compile abinit 6.10.2 on an iMac 2011 with a Core i-5 quad core CPU. I did the following steps:
1. Install Xcode
2. Install Gfortran binary from GNU website
3. Download, untar, and configure abinit package with the following options: --with-dft-flavor="none" --with-trio-flavor="none"
4. make
I was able to run configure successfully, however when I type make, it gave me an instant error with the following message:
gfortran -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -ffree-form -J/Users/pzhu/Downloads/abinit-6.10.2/src/mods -O2 -mtune=native -march=native -mfpmath=sse -g -ffree-line-length-none -c -o io.o io.F90
gfortran -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -ffree-form -J/Users/pzhu/Downloads/abinit-6.10.2/src/mods -O2 -mtune=native -march=native -mfpmath=sse -g -ffree-line-length-none -c -o iorho.o iorho.F90
gfortran -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -ffree-form -J/Users/pzhu/Downloads/abinit-6.10.2/src/mods -O2 -mtune=native -march=native -mfpmath=sse -g -ffree-line-length-none -c -o numeric.o numeric.F90
/var/folders/yf/1q2hhgzx1_x1p4w1slhywwvw0000gn/T//cckEZVGR.s:172:no such instruction: `vmovsd LC2(%rip), %xmm0'
/var/folders/yf/1q2hhgzx1_x1p4w1slhywwvw0000gn/T//cckEZVGR.s:174:no such instruction: `vcvtsi2sd %eax, %xmm2,%xmm2'
/var/folders/yf/1q2hhgzx1_x1p4w1slhywwvw0000gn/T//cckEZVGR.s:175:no such instruction: `vdivsd %xmm2, %xmm0,%xmm2'
/var/folders/yf/1q2hhgzx1_x1p4w1slhywwvw0000gn/T//cckEZVGR.s:179:no such instruction: `vmulsd LC3(%rip), %xmm2,%xmm0'
/var/folders/yf/1q2hhgzx1_x1p4w1slhywwvw0000gn/T//cckEZVGR.s:180:no such instruction: `vmovsd %xmm2, (%rsp)'
There are a lot of similar errors.
BTW: when I do the same thing with my 2010 Macbook Air with a C2D processor, it works like a charm.
Does anyone know what problem is about? Thank you so much for answering!
Sincerely,
xiangpisai
I am trying to compile abinit 6.10.2 on an iMac 2011 with a Core i-5 quad core CPU. I did the following steps:
1. Install Xcode
2. Install Gfortran binary from GNU website
3. Download, untar, and configure abinit package with the following options: --with-dft-flavor="none" --with-trio-flavor="none"
4. make
I was able to run configure successfully, however when I type make, it gave me an instant error with the following message:
gfortran -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -ffree-form -J/Users/pzhu/Downloads/abinit-6.10.2/src/mods -O2 -mtune=native -march=native -mfpmath=sse -g -ffree-line-length-none -c -o io.o io.F90
gfortran -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -ffree-form -J/Users/pzhu/Downloads/abinit-6.10.2/src/mods -O2 -mtune=native -march=native -mfpmath=sse -g -ffree-line-length-none -c -o iorho.o iorho.F90
gfortran -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -ffree-form -J/Users/pzhu/Downloads/abinit-6.10.2/src/mods -O2 -mtune=native -march=native -mfpmath=sse -g -ffree-line-length-none -c -o numeric.o numeric.F90
/var/folders/yf/1q2hhgzx1_x1p4w1slhywwvw0000gn/T//cckEZVGR.s:172:no such instruction: `vmovsd LC2(%rip), %xmm0'
/var/folders/yf/1q2hhgzx1_x1p4w1slhywwvw0000gn/T//cckEZVGR.s:174:no such instruction: `vcvtsi2sd %eax, %xmm2,%xmm2'
/var/folders/yf/1q2hhgzx1_x1p4w1slhywwvw0000gn/T//cckEZVGR.s:175:no such instruction: `vdivsd %xmm2, %xmm0,%xmm2'
/var/folders/yf/1q2hhgzx1_x1p4w1slhywwvw0000gn/T//cckEZVGR.s:179:no such instruction: `vmulsd LC3(%rip), %xmm2,%xmm0'
/var/folders/yf/1q2hhgzx1_x1p4w1slhywwvw0000gn/T//cckEZVGR.s:180:no such instruction: `vmovsd %xmm2, (%rsp)'
There are a lot of similar errors.
BTW: when I do the same thing with my 2010 Macbook Air with a C2D processor, it works like a charm.
Does anyone know what problem is about? Thank you so much for answering!
Sincerely,
xiangpisai