3
# M4 macros for Wannier90
5
# Copyright (C) 2010 Yann Pouillon
7
# This file is part of the Wannier90 software package. For license information,
8
# please see the COPYING file in the top-level directory of the source
21
# Sets optimization flags for the Fortran compiler.
23
AC_DEFUN([W90_FC_OPTFLAGS],[
28
case "${w90_fc_vendor}" in
39
case "${with_linalg_flavor}" in
41
W90_LIBS="-llapack -lf77blas -lcblas -latlas"
44
W90_LIBS="-llapack -lblas"
52
case "${with_linalg_flavor}" in
54
W90_LIBS="-llapack -lf77blas -lcblas -latlas"
57
W90_LIBS="-llapack -lblas"
64
W90_LDOPTS="-O2 -Vaxlib"
65
case "${with_linalg_flavor}" in
67
W90_LIBS="-llapack -lf77blas -lcblas -latlas"
70
W90_LIBS="-lmkl_lapack -lmkl_ia32 -lguide -lpthread"
78
case "${with_linalg_flavor}" in
80
W90_LIBS="-llapack -lf77blas -lcblas -latlas"
83
W90_LIBS="-llapack -lblas"
97
W90_LIBS="-llapack -lblas"
101
W90_FCOPTS="-fast -xO3 -xlic_lib=sunperf"
102
W90_LDOPTS="-fast -xO3 -xlic_lib=sunperf"
107
W90_FCOPTS="-qfree=f90 -qsuffix=f=f90:cpp=F90 -qarch=auto -O3"
108
W90_LDOPTS="-qfree=f90 -qsuffix=f=f90:cpp=F90 -qarch=auto"
109
W90_LIBS="-llapack -lessl"