LAPACK compilation “error : no target found”
LAPACK compilation “error : no target found”
EDIT: Grab a new copy of pwscf and retry this error may not reappear. I recently encountered this on a system containing intel cpu ( it is not a problem of cpu, but of a compiler). I tried to compile with fresh package and found to be working fine.
updated on 10/11/2015
During pwscf compilation, rarely we can encounter this kind of error. I have witnessed this error two times with Intel CPU and ubuntu 14.04 with nvidia graphic cards. This error may arise due to compiler problems, adding compiler option in the make.inc file solves the problem.
make.inc file is present in espresso-5.1/lapack-3.2/
in the make.inc file you will see like the following
#
FORTRAN = gfortran
OPTS = -O3 -g
DRVOPTS = -O3 -g
NOOPT = -O0 -g
LOADER = mpif90
LOADOPTS = -g -pthread
#
Change it to as follows
.
#FORTRAN = gfortran
OPTS = -shared -O2 -fPIC
DRVOPTS = $(OPTS)
NOOPT = -O0 -frecursive -fPIC
LOADER = mpif90
LOADOPTS = -g -pthread
#
:
:
#
#
CC is the C compiler, normally invoked with options CFLAGS.
#
CC = gcc
CFLAGS = -O3
exit vi and type make ..
after compilation of LAPACK continue the espresso compilation (without cleaning previous compilation)
The compilation was successful with above modification.
References
Comments
Post a Comment