24小时热门版块排行榜    

查看: 1700  |  回复: 15
当前主题已经存档。
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

wuli8

荣誉版主 (知名作家)

…………

优秀版主优秀版主

[交流] [求助]wein2k集群并行

Recommended options for system linuxif9 are:
         RP_LIB(SCALAPACK+PBLAS): -lmkl_intel_lp64 -lmkl_scalapack_lp64 -lmkl_blacs_lp64 -lmkl_sequential -L /opt/local/fftw/lib/ -lfftw_mpi -lfftw
         FPOPT(par.comp.options): $(FOPT)
         MPIRUN commando        : mpirun -np _NP_ -machinefile _HOSTS_ _EXEC_

   Current settings:
     RP  RP_LIB(SCALAPACK+PBLAS): -lmkl_intel_lp64 -lmkl_scalapack_lp64 -lmkl_blacs_lp64 -lmkl_sequential -L /opt/local/fftw/lib/ -lfftw_mpi -lfftw
     FP  FPOPT(par.comp.options): $(FOPT)
     MP  MPIRUN commando        :
请问这里的RP,FP和MP怎么样设置?谢谢。
我微机集群的配置Q6600四核。
intel ifort 编译器,安装位置是默认的


[ Last edited by wuli8 on 2009-5-3 at 10:26 ]
回复此楼
…………
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wuchenwf

荣誉版主 (职业作家)


fegg7502(金币+1,VIP+0):鼓励交流! 5-4 05:33
顶一下
楼上说的确实 mpich2 装好之后就用mpif90
13楼2009-05-03 23:32:57
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 16 个回答

kuner

铁虫 (正式写手)


wuli8(金币+1):谢谢参与
楼主,能不能将你的单机版的编译步骤和方法写出来啊
2楼2009-03-06 01:04:33
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wuli8

荣誉版主 (知名作家)

…………

优秀版主优秀版主

★ ★ ★ ★
spur(金币+4,VIP+0):Many thanks!! 3-6 11:50
Howto-WIEN2k v 0.12 May 8 2006
=============================

0. make sure you got some good compiler and libraries,
   e.g. ifort9 and mkl8 or later (free for academic use from intel)
   on your computer

   If you are the administrator of the computer update
   '/etc/ld.so.conf' with paths to the libraries you are using:
   /opt/intel/fc/9.0/lib
   /opt/intel/mkl/8.0.1/lib/32
   (just an example above) and run 'ldconfig'

   check that the compiler is in your path
   (if you enter 'ifort' is it found?)

   
1. copy a recent distribution of WIEN2k, for example
   'WIEN2k_06.2_060309.tar' located at '/HOME/ikeno' on "earth"
   or at '/home/weine' on "earth"


For the following steps also refer to the WIEN2k manual
=======================================================
also check http://www.wien2k.at/reg_user/index.html
for F.A.Q. and searching the WIEN2k mailing list


2. create a directory to install WIEN2k, for example 'WIEN2k/06.2'
   move your tar-file there, expand files etc:
   $ tar xvf WIEN2k_06.2_060309.tar
   $ gzip -d *.gz
   $ ./expand_lapw   

   clean up a bit by:
   $ mkdir tars
   $ mv *.tar tars


3. configure and compile WIEN2k by running
   $ ./siteconfig
   you can choose for example system 'J'
   modify the settings 'O', 'L' and 'R',
   I use the following compiler flags on a  64-bit Opteron system:
   O (FOPT)     -FR -w -mp1 -prec_div -pad -ip -DINTEL_VML -O3 -xW
   L (LDFLAGS)  -L/opt/intel/fce/9.0/lib -i-static -lguide_stats -lsvml -lpthread
   R (R_LIBS)   -L/opt/intel/mkl/8.0.1/lib/em64t -lmkl_lapack -lmkl_em64t -lguide -lpthread  

   on a 32-bit Pentium 4 system I just modify:
   -FR -w -mp1 -prec_div -pad -ip -DINTEL_VML -O3 -xW
   -L/opt/intel/fc/9.0/lib -i-static -lguide_stats -lsvml -lpthread
   -L/opt/intel/mkl/8.0.1/lib/32 -lmkl_lapack -lmkl_ia32 -lguide -lpthread  

   you can also ask Ikeno-san for good compiler flags on your system
   you might also try the default flags for system 'J' and check if they work
   use the appropriate version of ifort, depending if you use 32-bit or 64-bit system
   for itanium systems the compiler and flags would be a bit different
   I found the flags I'm using by reading 'Fecher_CompileIntel.pdf'

   the parameters NMATMAX and NMATMUL should reflect the RAM available on your
   computer, e.g. on my 8 GB RAM opteron I used (though I'm no expert)
   NMATMAX = 80000
   NMATMUL = 8000
   this also depends on

4. configure the user environment
   $ ./userconfig
…………
3楼2009-03-06 08:52:59
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wuli8

荣誉版主 (知名作家)

…………

优秀版主优秀版主

★ ★
wuchenwf(金币+2,VIP+0):谢谢共享 3-6 21:59
…………
4楼2009-03-06 08:54:48
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复(可上传附件)
信息提示
请填处理意见