|
Revision 43, 1.0 kB
(checked in by pernet, 1 year ago)
|
|
Updating the benchmark section to make it work with fflas-ffpack
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | ############################ |
|---|
| 2 | ## VARIABLE TO BE DEFINED ## |
|---|
| 3 | ############################ |
|---|
| 4 | ATLAS_CXX=-I/home/cpernet/Logiciels/ATLAS_Opteron64/include/ |
|---|
| 5 | ATLAS_LIB=-L/home/cpernet/Logiciels/ATLAS_Opteron64/lib -llapack -lcblas -latlas |
|---|
| 6 | GOTO_LIB=-L/home/cpernet/Logiciels/GotoBLAS -lgoto |
|---|
| 7 | FFLAS_FFPACK_PATH=/home/cpernet/Logiciels/fflas-ffpack |
|---|
| 8 | |
|---|
| 9 | ##################################### |
|---|
| 10 | # DO NOT MODIFY THE FOLLOWING LINES # |
|---|
| 11 | ##################################### |
|---|
| 12 | |
|---|
| 13 | CC=g++ |
|---|
| 14 | CXX=g++ |
|---|
| 15 | OPTFLAGS=-O3 -g |
|---|
| 16 | OPTFLAGS+=-funroll-all-loops -frerun-loop-opt |
|---|
| 17 | OPTFLAGS+=-fexpensive-optimizations -felide-constructors |
|---|
| 18 | OPTFLAGS+=-fforce-addr |
|---|
| 19 | OPTFLAGS+=-fstrength-reduce |
|---|
| 20 | OPTFLAGS+=-fstrict-aliasing -ffast-math |
|---|
| 21 | |
|---|
| 22 | #CXXFLAGS= -I${LINBOX_PATH}/include -I${GMP_PATH}/include |
|---|
| 23 | |
|---|
| 24 | CXXFLAGS= -I${FFLAS_FFPACK_PATH}/include -I${FFLAS_FFPACK_PATH}/tests ${OPTFLAGS} |
|---|
| 25 | |
|---|
| 26 | ifdef GOTO_LINK |
|---|
| 27 | CXX=g++ -U__LINBOX_HAVE_CBLAS |
|---|
| 28 | LDLIBS+=${GOTO_LIB} |
|---|
| 29 | endif |
|---|
| 30 | |
|---|
| 31 | ifdef ATLAS_LINK |
|---|
| 32 | CXX=g++ -D__LINBOX_HAVE_CBLAS |
|---|
| 33 | CXXFLAGS+=${ATLAS_CXX} |
|---|
| 34 | LDLIBS+= ${ATLAS_LIB} |
|---|
| 35 | endif |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | |
|---|
| 39 | |
|---|
| 40 | |
|---|