please how to make the call of sub-routines of blas(level1,level2,leve3) from lapack
not: il have lapack instaled.
* .. External Subroutines ..
EXTERNAL DGEMM, DLASWP, DTRSMf77 mycode.f -o myprog.exe %BLASLIBRARY%
where %BLASLIBRARY% is the complete path of the BLAS library or
-L%PATHTOATLASLIB% -lf77blas -latlas if you are using ATLAS library or
-L%PATHTOGOTOLIB% -lgotof77 mycode.f -o myprog.exe %LAPACKLIBRARY% %BLASLIBRARY%gcc prog.c ~/lib/clapack/libclapack.a ~/lib/clapack/libcblas.a -lm -lg2cgcc prog.c ~/lib/clapack/libclapack.a -lcblas -latlas -lm -lg2c cblas_sgemm (CblasRowMajor,CblasNoTrans, CblasNoTrans, 2, 2, 3,1.0, A, lda, B, ldb, 0.0, C, ldc); gcc matrice.c -o matrice -L/home/student/Desktop/CLAPACK/lib -llapack -L/home/student/Desktop/CBLAS/lib -lcblas -lblas -g2c -lm
Users browsing this forum: No registered users and 4 guests