Changes between Version 1 and Version 2 of Blas Level 1
- Timestamp:
- 08/20/15 16:53:47 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Blas Level 1
v1 v2 1 1 = Blas Level 1 = 2 3 To use MKL Blas on Cypress, you have to load the module, 4 {{{#!bash 5 $ module load intel-psxe 6 }}} 2 7 3 8 == C == … … 94 99 }}} 95 100 101 Compile it as a sequential code with dynamic link libraries, 102 {{{#!bash 103 icc -DMKL_ILP64 -mkl=sequential blas1.c -lpthread -lm 104 }}} 105 106 Compile it as a parallel (OpenMP) code with dynamic link libraries, 107 {{{#!bash 108 icc -DMKL_ILP64 -openmp -mkl=parallel blas1.c -lpthread -lm 109 }}} 110 96 111 == C++ == 97 112 {{{#!c++ … … 188 203 #endif 189 204 } 205 }}} 206 207 Compile it as a sequential code with dynamic link libraries, 208 {{{#!bash 209 icpc -DMKL_ILP64 -mkl=sequential blas1.c -lpthread -lm 210 }}} 211 212 Compile it as a parallel (OpenMP) code with dynamic link libraries, 213 {{{#!bash 214 icpc -DMKL_ILP64 -openmp -mkl=parallel blas1.c -lpthread -lm 190 215 }}} 191 216 … … 243 268 end program Blas1 244 269 }}} 270 271 Compile it as a sequential code with dynamic link libraries, 272 {{{#!bash 273 ifort -i8 -mkl=sequential blas1.c -lpthread -lm 274 }}} 275 276 Compile it as a parallel (OpenMP) code with dynamic link libraries, 277 {{{#!bash 278 ifort -i8 -openmp -mkl=parallel blas1.c -lpthread -lm 279 }}}