Page 1 of 1

make.inc for AMD OPTERON 64 BIT machine

PostPosted: Fri Oct 12, 2007 3:51 am
by arv!nd
can anybody tell what are corrects flags options for AMD 64 bit machine with Linux fedora core
with following compilers

gcc
gfortran

PostPosted: Fri Oct 12, 2007 11:09 am
by Julie
Hi arv!nd,
I am assuming you are talking about LAPACK.

You just have to copy the make.inc.gfortran from the INSTALL directory.
Code: Select all
cp INSTALL/make.inc.gfortran make.inc

Here are the most important flags:
Code: Select all
FORTRAN  = gfortran
OPTS     = -O2
DRVOPTS  = $(OPTS)
NOOPT    = -O0
LOADER   = gfortran
LOADOPTS =
#
# Timer for the SECOND and DSECND routines
#
# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
TIMER    = INT_ETIME


Hope it helps
Julie