[Pw_forum] How to install QE on mac

PRATIK DAS pratikdas63 at gmail.com
Sun Apr 30 17:17:16 CEST 2017


Dear sir,
I am trying to install QE on my mac. But every time it failed with the
following libiotk error. I am attaching the error messages herewith.
Please let me know where I am doing wrong.

ERROR MESSAGE:

Last login: Sun Apr 30 18:55:11 on ttys000

Pratiks-MacBook-Air:~ pratikkumardas$ cd Desktop/espresso-5.1.2/

Pratiks-MacBook-Air:espresso-5.1.2 pratikkumardas$

Pratiks-MacBook-Air:espresso-5.1.2 pratikkumardas$

Pratiks-MacBook-Air:espresso-5.1.2 pratikkumardas$ ls

COUPLE README espresso-5.1.2

CPV S3DE espresso-5.1.2.tar.gz

Doc archive flib

License bin include

Makefile clib install

Modules configure make.sys

PP dev-tools pseudo

PW environment_variables upftools

Pratiks-MacBook-Air:espresso-5.1.2 pratikkumardas$ ./configure

checking build system type... i386-apple-darwin15.5.0

detected architecture... mac686

checking for ifort... no

checking for gfortran... gfortran

configure: WARNING: using cross tools not prefixed with host triplet

checking for Fortran compiler default output file name... a.out

checking whether the Fortran compiler works... yes

checking whether we are cross compiling... yes

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU Fortran compiler... yes

checking whether gfortran accepts -g... no

checking for Fortran flag to compile .f90 files... none

checking for mpif90... no

checking for gfortran... gfortran

checking whether we are using the GNU Fortran compiler... yes

checking whether gfortran accepts -g... no

checking version of gfortran... gfortran 4.2.3

setting F90... gfortran

setting MPIF90... gfortran

checking for cc... cc

checking whether we are using the GNU C compiler... yes

checking whether cc accepts -g... yes

checking for cc option to accept ISO C89... none needed

setting CC... cc

checking how to run the C preprocessor... cc -E

checking for grep that handles long lines and -e... /usr/bin/grep

checking for egrep... /usr/bin/grep -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking size of int *... 8

checking malloc.h usability... no

checking malloc.h presence... no

checking for malloc.h... no

checking for gfortran... gfortran

checking whether we are using the GNU Fortran 77 compiler... yes

checking whether gfortran accepts -g... no

setting F77... gfortran

using F90... gfortran

setting FFLAGS... -O3 -g

setting F90FLAGS... $(FFLAGS) -x f95-cpp-input

setting FFLAGS_NOOPT... -O0 -g

setting CFLAGS... -O3

setting CPP... cpp

setting CPPFLAGS... -P -C -traditional

setting LD... gfortran

setting LDFLAGS... -g -pthread

setting AR... ar

setting ARFLAGS... ruv

checking whether make sets $(MAKE)... yes

checking whether Fortran files must be preprocessed... no

checking how to get verbose linking output from gfortran... -v

checking for Fortran 77 libraries of gfortran...
-L/usr/local/lib/gcc/i686-apple-darwin8/4.2.3
-L/usr/local/lib/gcc/i686-apple-darwin8/4.2.3/../../.. -lgfortranbegin
-lgfortran

checking for dummy main to link with Fortran 77 libraries... none

checking for Fortran 77 name-mangling scheme... unknown

configure: WARNING: unknown Fortran name-mangling scheme

checking for library containing dgemm... no

in /usr/local/lib:  checking for library containing dgemm... no

checking for library containing dgemm... no

in /usr/local/lib:  checking for library containing dgemm... no

checking for library containing dspev... no

in /usr/local/lib:  checking for library containing dspev... no

setting BLAS_LIBS...
/Users/pratikkumardas/Desktop/espresso-5.1.2/BLAS/blas.a

setting LAPACK_LIBS...
/Users/pratikkumardas/Desktop/espresso-5.1.2/lapack-3.2/lapack.a

checking for library containing dfftw_execute_dft... no

in /usr/local/lib:  checking for library containing dfftw_execute_dft... no

setting FFT_LIBS...

setting MASS_LIBS...

checking for library containing mpi_init... no

setting MPI_LIBS...

checking for library containing mpi_init... (cached) no

setting SCALAPACK_LIBS...

setting DFLAGS... -D__GFORTRAN -D__STD_F95 -D__FFTW

setting IFLAGS... -I../include

setting FDFLAGS... $(DFLAGS)

checking for ranlib... ranlib

setting RANLIB... ranlib -c

checking for wget... no

checking for curl... curl -o

setting WGET... curl -o

configure: creating ./config.status

config.status: creating include/fft_defs.h

config.status: creating make.sys

config.status: creating configure.msg

config.status: creating install/make_wannier90.sys

config.status: creating install/make_blas.inc

config.status: creating install/make_lapack.inc

config.status: creating include/c_defs.h

config.status: include/c_defs.h is unchanged

--------------------------------------------------------------------

ESPRESSO can take advantage of several optimized numerical libraries

(essl, fftw, mkl...).  This configure script attempts to find them,

but may fail if they have been installed in non-standard locations.

If a required library is not found, the local copy will be compiled.


The following libraries have been found:

  BLAS_LIBS=/Users/pratikkumardas/Desktop/espresso-5.1.2/BLAS/blas.a


LAPACK_LIBS=/Users/pratikkumardas/Desktop/espresso-5.1.2/lapack-3.2/lapack.a

  FFT_LIBS=

Please check if this is what you expect.


If any libraries are missing, you may specify a list of directories

to search and retry, as follows:

  ./configure LIBDIRS="list of directories, separated by spaces"


Parallel environment not detected \(is this a parallel machine?\).\

Configured for compilation of serial executables.


For more info, read the ESPRESSO User's Guide (Doc/users-guide.tex).

--------------------------------------------------------------------

configure: success

Pratiks-MacBook-Air:espresso-5.1.2 pratikkumardas$

Pratiks-MacBook-Air:espresso-5.1.2 pratikkumardas$

Pratiks-MacBook-Air:espresso-5.1.2 pratikkumardas$

Pratiks-MacBook-Air:espresso-5.1.2 pratikkumardas$

Pratiks-MacBook-Air:espresso-5.1.2 pratikkumardas$ make all

test -d bin || mkdir bin

cd install ; /Library/Developer/CommandLineTools/usr/bin/make -f
extlibs_makefile libiotk

if test ! -d ../S3DE; then \

(gzip -dc ../archive/iotk-1.2.beta.tar.gz | (cd ../; tar -xvf -)) ; \

if test -e Makefile_iotk; then \

        (cp Makefile_iotk ../S3DE/iotk/src/Makefile); fi; \

if test -e iotk_config.h; then \

(cp iotk_config.h ../S3DE/iotk/include/iotk_config.h); fi; fi

cd ../S3DE/iotk/src; /Library/Developer/CommandLineTools/usr/bin/make
lib+util;

gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW
-I../include  -c iotk_base.f90

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:1:9: **error:
**unsupported directive '.stabs'*

        .stabs
"/Users/pratikkumardas/Desktop/espresso-5.1.2/S3DE/iotk/src/",100,0,7,Ltext0

*                ^*

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:2:9: **error:
**unsupported directive '.stabs'*

        .stabs  "iotk_base.f90",100,0,7,Ltext0

*                ^*

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:5:9: **error:
**unsupported directive '.stabs'*

        .stabs  "gcc2_compiled.",60,0,0,0

*                ^*

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:55:9: **error:
**unsupported directive '.stabs'*

        .stabs
"iotk_error_pool:G(0,1)=ar(0,2)=r(0,2);-2147483648;2147483647;;0;99;(0,3)=xsiotk_error:",32,0,240,0

*                ^*

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:56:9: **error:
**unsupported directive '.stabs'*

        .stabs  "int4:t(0,2)",128,0,0,0

*                ^*

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:57:9: **error:
**unsupported directive '.stabs'*

        .stabs
"iotk_error:T(0,3)=s24str:(0,4)=xsarray1_unknown:,0,192;;",128,0,0,0

*                ^*

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:58:9: **error:
**unsupported directive '.stabs'*

        .stabs  "iotk_indent:G(0,2)",32,0,284,0

*                ^*

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:59:9: **error:
**unsupported directive '.stabs'*

        .stabs  "iotk_error_warn_overflow:G(0,5)=@s32;-16;",32,0,293,0

*                ^*

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:60:9: **error:
**unsupported directive '.stabs'*

        .stabs  "logical4:t(0,5)",128,0,0,0

*                ^*

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:61:9: **error:
**unsupported directive '.stabs'*

        .stabs  "iotk_error_pool_used:G(0,6)=ar(0,2);0;99;(0,5)",32,0,246,0

*                ^*

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:62:9: **error:
**unsupported directive '.stabs'*

        .stabs  "iotk_error_pool_order:G(0,7)=ar(0,2);0;99;(0,2)",32,0,252,0

*                ^*

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:63:9: **error:
**unsupported directive '.stabs'*

        .stabs  "iotk_error_unit:G(0,2)",32,0,265,0

*                ^*

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:64:9: **error:
**unsupported directive '.stabs'*

        .stabs  "iotk_getline_buffer:G(0,2)",32,0,274,0

*                ^*

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:65:9: **error:
**unsupported directive '.stabs'*

        .stabs  "iotk_linlen:G(0,2)",32,0,281,0

*                ^*

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:66:9: **error:
**unsupported directive '.stabs'*

        .stabs  "iotk_maxindent:G(0,2)",32,0,287,0

*                ^*

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:67:9: **error:
**unsupported directive '.stabs'*

        .stabs  "iotk_output_unit:G(0,2)",32,0,267,0

*                ^*

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:68:9: **error:
**unsupported directive '.stabs'*

        .stabs  "iotk_unitmax:G(0,2)",32,0,263,0

*                ^*

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:69:9: **error:
**unsupported directive '.stabs'*

        .stabs  "iotk_unitmin:G(0,2)",32,0,261,0

*                ^*

*/var/folders/2g/571f7z014fz63skqj3gpqtcc0000gn/T//cc7XFxV2.s:71:9: **error:
**unsupported directive '.stabs'*

        .stabs  "",100,0,0,Letext0

*                ^*

make[2]: *** [iotk_base.o] Error 1

make[1]: *** [libiotk] Error 2

make: *** [libiotk] Error 2

Pratiks-MacBook-Air:espresso-5.1.2 pratikkumardas$


Thank you in advance.


Best regards
Pratik


************************Pratik Kr. Das*
Senior Research Fellow (DST-INSPIRE)
High Pressure and Temperature Lab
Faculty of Science
Jadavpur University
Kolkata 700032
Ph No. *+91-9674162216*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20170430/943181ff/attachment.html>


More information about the users mailing list