====== Source ====== * [[http://www.netlib.org/blas/blast-forum/cblas.tgz]] * [[http://www.netlib.org/blas/blast-forum/cinterface.pdf|PDF documentation for CBLAS]] ====== Compilation ====== nemo-henry% diff Makefile.X86SOL2 Makefile.SUN4SOL2 2c2 < # Makefile.X86SOL2 --- > # Makefile.SUN4SOL2 19c19 < PLAT = X86SOL2 --- > PLAT = SUN4SOL2 25,26c25,26 < BLLIB = -xlic_lib=sunperf < CBDIR = $(HOME)/CBLAS --- > BLLIB = libblas.a > CBDIR = $(HOME/CBLAS 34c34 < CC = cc --- > CC = gcc 42,44c42,44 < CFLAGS = -g -DADD_ -xtarget=opteron -xarch=amd64 < FFLAGS = -g -u -xtarget=opteron -xarch=amd64 < LOADFLAGS = -xtarget=opteron -xarch=amd64 --- > CFLAGS = -g -DADD_ -ansi -pedantic -Wall > FFLAGS = -g -u > LOADFLAGS = ====== Utilisation ====== cc -xtarget=opteron -xarch=amd64 -o test_dgemv /local/henry/CBLAS/lib/X86SOL2/cblas_X86SOL2.a -xlic_lib=sunperf -I./src test_dgemv.c Exemples * [[http://ehouarn.ifrance.com/arithmurgie/atlas/atlas_exemples_C.html|Exemples d'utilisation de la librairie ATLAS (CBLAS) Langage C]]