| 查看: 2841 | 回复: 37 | |||
| 当前主题已经存档。 | |||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | |||
maomao1210金虫 (正式写手)
|
[交流]
【讨论】编译器,数学库安装。 已有1人参与
|
||
|
经常遇到编译器的安装,以及各种数学库的安装,还有一些常用软件的安装,最基本的能力。呵呵 如果能有个高手把这个总结一下的话,岂不是很好?让大家都来学习一下。 编译器:pgi, ifort,等等 数学库: blas, lapack, atlas, mkl 等等 常用软件就很多了,分子轨道理论方面的,密度泛函方面的,呵呵 希望能有高手给总结一下。让我们都来学习操作操作。 可惜我是一个linux盲,所以只能在这里呼吁了。呵呵。 为了此个项目,我决定拿出我全部的金币做为资助。 pgi 的安装过程,100 金币 ifort 的安装过程,100金币 mpich 的安装过程,100金币 blas+lapack的安装过程,160金币 atlas的安装过程,100金币 mkl的安装过程,100金币 共660金币。 呵呵。总结后,大家都可以来学习一下。 金币就这么多了,所以常用软件的安装就没有金币贡献了,呵呵,等赚了钱再继续来求贤,呵呵。 [ Last edited by maomao1210 on 2010-1-28 at 10:45 ] |
» 猜你喜欢
Cas 72-43-5需要30g,定制合成,能接单的留言
已经有7人回复
磺酰氟产物,毕不了业了!
已经有5人回复
北京211副教授,35岁,想重新出发,去国外做博后,怎么样?
已经有5人回复
论文终于录用啦!满足毕业条件了
已经有25人回复
2026年机械制造与材料应用国际会议 (ICMMMA 2026)
已经有3人回复
自荐读博
已经有3人回复
求助:我三月中下旬出站,青基依托单位怎么办?
已经有5人回复
不自信的我
已经有5人回复
投稿Elsevier的杂志(返修),总是在选择OA和subscription界面被踢皮球
已经有8人回复
» 本主题相关商家推荐: (我也要在这里推广)
zyz1981
至尊木虫 (文坛精英)
医学物理
- 应助: 1 (幼儿园)
- 贵宾: 1.976
- 金币: 16749.1
- 散金: 305
- 红花: 50
- 沙发: 17
- 帖子: 19496
- 在线: 761.5小时
- 虫号: 828345
- 注册: 2009-08-15
- 性别: GG
- 专业: 肿瘤物理治疗
Ubuntu(Unix)下Lapack的安装介绍(ifort)
|
* Lapack ( http://www.netlib.org/lapack/lapack.tgz ) download and unzip the file 1. Modify the make.inc file make.inc file which is used by the makefiles in all directories. This make.inc must be adapt to your computer system necessity. Following is an example, FORTRAN = ifort OPTS = -O2 DRVOPTS = $(OPTS) NOOPT = -O0 LOADER = ifort LOADOPTS = change the lines: BLASLIB = ../../blas$(PLAT).a LAPACKLIB = lapack$(PLAT).a TMGLIB = tmglib$(PLAT).a EIGSRCLIB = eigsrc$(PLAT).a LINSRCLIB = linsrc$(PLAT).a to ---> BLASLIB = ../../libblas$(PLAT).a LAPACKLIB = liblapack$(PLAT).a TMGLIB = libtmglib$(PLAT).a EIGSRCLIB = libeigsrc$(PLAT).a LINSRCLIB = liblinsrc$(PLAT).a 2. For the Makefile file # The library can be set up to include routines for any combination # of the four precisions. To create or add to the library, enter make # followed by one or more of the precisions desired. Some examples: # make single # make single complex # make single double complex complex16 # Alternatively, the command # make # without any arguments creates a library of all four precisions. # The library is called # lapack.a # and is created at the next higher directory level. # # To remove the object files after the library is created, enter # make clean 3. run in the terminal: make blaslib make all cp *.a ~/lib 4. extract the file lapack95.tgz, and enter to the folder LAPACK95 The installation procedure: 1) Verify the make.inc file ("OPTS0", "MODLIB", "LAPACK77", "BLAS" and "SUF" .2) cd SRC 3) Read the README file. 4) Run the make file with one of the selected library name. 5) cd ../TESTING 6) Read the README file. 7) Run the tests as described in README file. 8) run for a few tests from the directories EXAMPLES1 and EXAMPLES2. Change the settings in make.inc as following: FC = ifort FC1 = ifort LAPACK_PATH = $(HOME)/lib LAPACK95 = ../liblapack95.a LAPACK77 = $(LAPACK_PATH)/liblapack.a TMG77 = $(LAPACK_PATH)/libtmglib.a BLAS = $(LAPACK_PATH)/libblas.a then run in the terminal: cd SRC make double_dcomplex cd .. cp lapack95.a ~/lib/liblapack95.a cp ./lapack95_modules/* ~/include 转自:http://www.39g.com/html/kaifa/281/2009/12/359229517805.htm |
32楼2010-01-29 14:58:00
亲核取代
铁杆木虫 (知名作家)
- 应助: 13 (小学生)
- 贵宾: 0.761
- 金币: 13239.4
- 散金: 3309
- 红花: 17
- 沙发: 130
- 帖子: 9414
- 在线: 2968.1小时
- 虫号: 462242
- 注册: 2007-11-19
- 性别: GG
- 专业: 催化化学
2楼2010-01-28 11:48:04
maomao1210
金虫 (正式写手)
- 程序强帖: 5
- 应助: 2 (幼儿园)
- 金币: 1431.3
- 散金: 242
- 红花: 16
- 沙发: 1
- 帖子: 991
- 在线: 441.5小时
- 虫号: 253215
- 注册: 2006-05-20
- 性别: MM
- 专业: 考古理论
3楼2010-01-28 13:41:45
mao_yijian
铁杆木虫 (著名写手)
- 应助: 0 (幼儿园)
- 金币: 6747.2
- 红花: 1
- 帖子: 2683
- 在线: 132.3小时
- 虫号: 810764
- 注册: 2009-07-17
- 性别: GG
- 专业: 检验医学其他科学问题

4楼2010-01-28 13:46:58









回复此楼
.
