此篇文章受密碼保護,請輸入密碼後閱讀。
- 5月 06 週二 200800:00
眼睛超酸>"<
- 4月 29 週二 200817:41
fortran Web
http://140.136.191.181/html/frank/document/fortran/handout/index.htm 作者:輔仁大學 技士及兼任講師林其盛
some useful information:
http://tlcheng.twbbs.org/tlcheng/Fortran/
teaching
http://cbliao.wre.fcu.edu.tw/ (廖清標)
http://ccandrew.myweb.hinet.net/contains.html (visual fortran)
http://www.geocities.com/SiliconValley/Vista/8177/tutorial/nehe.html (教opengl的網站)
http://www.programmer-club.com/pc2020v5/kb/kb_default.asp?board_pc2020=fortran
- 4月 29 週二 200817:16
makefile
FC=ifort
CFLAG=-O2 -xW -unroll
SRCPATH=/home/hchsiao/mklexamples/
LIB=/usr/lib/
INC=/opt/intel/mkl/10.0/include/
MKLLIB=/opt/intel/mkl/10.0/lib/32
test:
$(FC) $(SRCPATH)test.f90 -L$(MKLLIB) -lmkl -lmkl_lapack -lguide -lpthread
=================================================
edit: $(object)
- 4月 29 週二 200816:51
編譯器
- 4月 29 週二 200816:36
inforamtion for MKL
mkl 使用手冊
(all) http://www.intel.com/cd/software/products/apac/zho/358630.htm
(windows 版本) http://softwarecommunity.intel.com/isn/downloads/softwareproducts/pdfs/347468.pdf
(linux :information )http://softwarecommunity.intel.com/isn/downloads/softwareproducts/pdfs/347460.pdf
8.0(使用手冊) http://download.intel.com/software/products/mkl/docs/mklman.pdf
(information) http://www.intel.com/cd/software/products/apac/zho/perflib/mkl/282851.htm#mkl
http://www.fortran.com/
- 4月 29 週二 200812:52
BLAS of MKL
?yyzzz : ? would be s,d,c,z
s ,real,*4
d,real,*8
c,complex,*8
z,complex,*16
------------------------------------------------------------------------------------------------
yy could be
--------------
In BLAS level 2 and 3,
ge general matrix
gb general band matrix
sy symmetric matrix
sp symmetric matrix (packed storage)
sb symmetric band matrix
he Hermitian matrix
hp Hermitian matrix (packed storage)
hb Hermitian band matrix
tr triangular matrix
tp triangular matrix (packed storage)
tb triangular band matrix.
ge general
gb general band
gt general tridiagonal
po symmetric or Hermitian positive-definite
pp symmetric or Hermitian positive-definite (packed storage)
pb symmetric or Hermitian positive-definite band
pt symmetric or Hermitian positive-definite tridiagonal
sy symmetric indefinite
sp symmetric indefinite (packed storage)
he Hermitian indefinite
hp Hermitian indefinite (packed storage)
tr triangular
tp triangular (packed storage)
tb triangular band
--------------------
BLAS level 1
c conjugated vector
u unconjugated vector
g Givens rotation
-------------------
BLAS level 2
mv matrix-vector product
sv solving a system of linear equations with matrix-vector operations
r rank-1 update of a matrix
r2 rank-2 update of a matrix.
------------------
BLAS level 3
mm matrix-matrix product
sm solving a system of linear equations with matrix-matrix operations
rk rank-k update of a matrix
r2k rank-2k update of a matrix
------------------------------------------------------------------------------------------------
-------------------
The examples below illustrate how to interpret BLAS routine names:
ddot <d> <dot>: double-precision real vector-vector dot product
60
2 Intel® Math Kernel Library Reference Manual
cdotc <c> <dot> <c>: complex vector-vector dot product, conjugated
<sc> <asum>: sum of magnitudes of vector elements, single precision
real output and single precision complex input
scasum
cdotu <c> <dot> <u>: vector-vector dot product, unconjugated, complex
sgemv <s> <ge> <mv>: matrix-vector product, general matrix, single precision
<z> <tr> <mm>: matrix-matrix product, triangular matrix,
double-precision complex.
--------------------------------
------------------------------------------------------------------------------------------------
zzz could be
---------------------
BLAS Level3
trf form a triangular matrix factorization
3 Intel® Math Kernel Library Reference Manual
trs solve the linear system with a factored matrix
con estimate the matrix condition number
rfs refine the solution and compute error bounds
tri compute the inverse matrix using the factorization
equ equilibrate a matrix.
------------------------
For example, the sgetrf routine performs the triangular factorization of general real matrices
in single precision; the corresponding routine for complex matrices is cgetrf.
For driver routines, the names can end with -sv (meaning a simple driver), or with -svx (meaning an expert driver).
Names of the LAPACK computational and driver routines for Fortran 95 interface in Intel MKL are the same as Fortran 77 names but without the first letter that indicates the data type. For example, the name of the routine that performs triangular factorization of general real matrices in Fortran 95 interface is getrf. Different data types are handled through defining a specific internal parameter that refers to a module block with named constants for single and double precision.
- 11月 20 週二 200722:18
linux 常用指令
rm # 移除#
mkdir # 新增目錄#
rmdir # 移除目錄#
cp # @ copy # 到@
ps 查詢目前執行程式
f95 @ -o # 用f95的code編譯出@的執行檔#
./#& 使程式#在背景模式下執行