| 7 | 1/1 | 返回列表 |
| 查看: 1698 | 回復: 6 | ||
alan8410木蟲 (正式寫手)
含能材料
|
[求助]
求助,編譯Nwchem 總一在一個地方出錯:DMatrix-mpi.F
|
|
ifort -c -i8 -align -w -g -vec-report1 -O3 -prefetch -unroll -tpp7 -ip -xP -no-prec-div -I. -I/share/home/XX/sourcecode/openmpi/include -I/share/home/XX/sourcecode/nwchem-6.1/src/include -I/share/home/XX/sourcecode/nwchem-6.1/src/tools/install/include -DEXT_INT -DLINUX -DLINUX64 -DIFCV8 -DIFCLINUX -DPARALLEL_DIAG -DMPI DMatrix.F ifort -c -i8 -align -w -g -vec-report1 -O3 -prefetch -unroll -tpp7 -ip -xP -no-prec-div -I. -I/share/home/sci_029/sourcecode/openmpi/include -I/share/home/XX/sourcecode/nwchem-6.1/src/include -I/share/home/XX/sourcecode/nwchem-6.1/src/tools/install/include -DEXT_INT -DLINUX -DLINUX64 -DIFCV8 -DIFCLINUX -DPARALLEL_DIAG -DMPI DMatrix-mpi.F DMatrix-mpi.F(1363): error #6404: This name does not have a type, and must have an explicit type. [STUPID_MSGLEN] stupid_msglen = 7*7 ------^ DMatrix-mpi.F(1365): error #6404: This name does not have a type, and must have an explicit type. [STUPID_DOUBLE] > stupid_double,stupid_sum, 有沒有蟲友遇到這個問題? 用的mpi是mpich, openmpi, 都通不過! 是在北京計算中心編譯的,有沒有朋友在上面編譯成功的? setenv USE_MPI y #setenv USE_MPIF y setenv MPI_LOC /share/home/sci_029/sourcecode/openmpi setenv MPI_LIB $MPI_LOC/lib setenv MPI_INCLUDE $MPI_LOC/include setenv LIBMPI "-lmpi" mpi部分腳本如上. 編譯器,ifort icc setenv FOPTIMIZE "-O3 -xSSE2,SSE3,SSSE3,SSE4.1,SSE4.2 -no-prec-div -funroll-loops -multiple-processes=8 -unroll-aggressive" setenv COPTIMIZE "-O3 -xSSE2,SSE3,SSSE3,SSE4.1,SSE4.2 -no-prec-div -funroll-loops" #make FC=ifort CC=icc nwchem_config #setenv FC /public/software/mpich2-1.0.7/bin/mpif77 #setenv CC /public/software/mpich2-1.0.7/bin/mpicc make FC=ifort CC=icc [ Last edited by alan8410 on 2012-6-11 at 12:29 ] |

榮譽版主 (著名寫手)
|
在自己電腦上弄過,帖一個自己的筆記 服務器架構(gòu)x86_64,用戶:gmy mpi版本:mpich2-1.1.1p1 編譯步驟: 1, 更改環(huán)境變量 vi .bashrc 加上如下內(nèi)容 export LARGE_FILES=TRUE export LIB_DEFINES="-DDFLT_TOT_MEM=16777216" export USE_MPI=y export MPI_LOC=/public/home/gmy/mpich2-install/ export MPI_LIB=$MPI_LOC/lib export MPI_INCLUDE=$MPI_LOC/include export LIBMPI="-lmpich" export NWCHEM_TOP=/public/home/gmy/nwchem-6.1 export NWCHEM_TARGET=LINUX64 export NWCHEM_TARGET_CPU=x86_64 export FC=ifort export CC=gcc export NWCHEM_MODULES=all export PATH=$NWCHEM_TOP/bin/LINUX64:$PATH 2, source .bashrc 3, tar –xvf Nwchem-6.1-2012-Feb-10.tar.gz, 生存nwchem-6.1文件夾 4, 進入nwchem-6.1路徑下,再進入src子路徑,執(zhí)行命令 make nwchem_config(這個比較快),完了之后再make,大概要半個小時編譯時間 5, 編譯完之后,做個例子測試cd / nwchem-6.1/examples/qmd 做一個并行任務的計算例子,跑一個小分子水h2o_scf.nw 命令如下 mpirun –np 4 /public/home/gmy/nwchem-6.1/bin/LINUX64_x86_64/nwchem(這個是nwchem運行程序的路徑) h2o_scf.nw 正常結(jié)束 Total times cpu: 1.6s wall: 16.5s |
木蟲 (正式寫手)
含能材料

木蟲 (正式寫手)
含能材料

金蟲 (著名寫手)
金蟲 (著名寫手)
木蟲 (正式寫手)
小木蟲風雅協(xié)會代理秘書長

| 7 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 085600 286分 材料求調(diào)劑 +8 | 麻辣魷魚 2026-03-27 | 9/450 |
|
|---|---|---|---|---|
|
[考研] 327求調(diào)劑 +6 | 汲亦昊 2026-03-29 | 6/300 |
|
|
[考研] 340求調(diào)劑 +6 | Amber00 2026-03-26 | 6/300 |
|
|
[考研] 289求調(diào)劑 +13 | 新時代材料 2026-03-27 | 13/650 |
|
|
[考研] 求調(diào)劑 +7 | 爭取九點睡 2026-03-28 | 8/400 |
|
|
[考研] 332求調(diào)劑 +4 | @MZB382400 2026-03-28 | 4/200 |
|
|
[考研] 085602 化工專碩 338分 求調(diào)劑 +12 | 路癡小琪 2026-03-27 | 12/600 |
|
|
[考研] 一志愿南昌大學324求調(diào)劑 +7 | hanamiko 2026-03-27 | 7/350 |
|
|
[考研] 286求調(diào)劑 +4 | 丟掉懶惰 2026-03-27 | 7/350 |
|
|
[考研] 085404求調(diào)劑,總分309,本科經(jīng)歷較為豐富 +4 | 來財aa 2026-03-25 | 4/200 |
|
|
[考研] 340求調(diào)劑 +5 | jhx777 2026-03-27 | 5/250 |
|
|
[考研] 265求調(diào)劑 +8 | 小木蟲085600 2026-03-27 | 8/400 |
|
|
[考研] 287求調(diào)劑 +10 | land xuxu 2026-03-26 | 10/500 |
|
|
[考研] 343求調(diào)劑 +4 | 贈我一本書 2026-03-23 | 4/200 |
|
|
[考研] 342求調(diào)劑 +3 | 加油a李zs 2026-03-26 | 3/150 |
|
|
[考研] 085601求調(diào)劑總分293英一數(shù)二 +4 | 鋼鐵大炮 2026-03-24 | 4/200 |
|
|
[考研] 一志愿天津大學339材料與化工求調(diào)劑 +3 | 江往賣魚 2026-03-26 | 3/150 |
|
|
[考研] 334分 一志愿武理-080500 材料求調(diào)劑 +4 | 李李不服輸 2026-03-25 | 4/200 |
|
|
[考研] 347求調(diào)劑 +4 | L when 2026-03-25 | 4/200 |
|
|
[考研] 一志愿重慶大學085700資源與環(huán)境,總分308求調(diào)劑 +7 | 墨墨漠 2026-03-23 | 8/400 |
|