> From: Davide Ceresoli > > Notes for compiling lapack package: > ----------------------------------- > If you download the lapack package from http://www.netlib.org and > if you want to compile it by your own, be careful not to optimize > the DLAMCH and SLAMCH routines, otherwise it may happen that your > code runs into an infinite loop. > The simplier way to achieve this, is to set the NOOPT variable in > the file make.inc which comes in the LAPACK directory. > The NOOPT variable has to be set with your fortran compiler options > without any optimization flag. > Here's an example for the Intel compiler on Linux: > > file LAPACK/make.inc: > ... > FORTRAN  = ifc > OPTS     = -O2 -unroll -tpp6 -xiM -g -W0    # here you can optimize > DRVOPTS  = $(OPTS) > NOOPT    = -O0 -g -W0                       # <--- here not! (-O0) > LOADER   = ifc > LOADOPTS = -g -Vaxlib > ... > > -- > ======================================================================== > |       Davide Ceresoli             |  e-mail  ceresoli@sissa.it       | > |       SISSA / ISAS                |             | > |       Via Beirut 4                |  Tel     +39-040-3787-XXX        | > |       I-34014 Trieste             |          (refer to: www.sissa.it)| > ========================================================================