| 5 | 1/1 | 返回列表 |
| 查看: 1703 | 回復(fù): 6 | ||
| 當(dāng)前只顯示滿足指定條件的回帖,點(diǎn)擊這里查看本話題的所有回帖 | ||
alan8410木蟲 (正式寫手)
含能材料
|
[求助]
求助,編譯Nwchem 總一在一個(gè)地方出錯(cuò):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, 有沒有蟲友遇到這個(gè)問題? 用的mpi是mpich, openmpi, 都通不過(guò)! 是在北京計(jì)算中心編譯的,有沒有朋友在上面編譯成功的? 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 ] |

木蟲 (正式寫手)
小木蟲風(fēng)雅協(xié)會(huì)代理秘書長(zhǎng)

榮譽(yù)版主 (著名寫手)
|
在自己電腦上弄過(guò),帖一個(gè)自己的筆記 服務(wù)器架構(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, 進(jìn)入nwchem-6.1路徑下,再進(jìn)入src子路徑,執(zhí)行命令 make nwchem_config(這個(gè)比較快),完了之后再make,大概要半個(gè)小時(shí)編譯時(shí)間 5, 編譯完之后,做個(gè)例子測(cè)試cd / nwchem-6.1/examples/qmd 做一個(gè)并行任務(wù)的計(jì)算例子,跑一個(gè)小分子水h2o_scf.nw 命令如下 mpirun –np 4 /public/home/gmy/nwchem-6.1/bin/LINUX64_x86_64/nwchem(這個(gè)是nwchem運(yùn)行程序的路徑) h2o_scf.nw 正常結(jié)束 Total times cpu: 1.6s wall: 16.5s |
木蟲 (正式寫手)
含能材料

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

| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 086000生物與醫(yī)藥298調(diào)劑求助 +3 | 元元青青 2026-03-31 | 5/250 |
|
|---|---|---|---|---|
|
[考研] 一志愿北京科技大學(xué)材料學(xué)碩328分求調(diào)劑 +4 | 1段時(shí)間 2026-03-31 | 5/250 |
|
|
[考研] 0856求調(diào)劑 +9 | 楒桉 2026-03-28 | 9/450 |
|
|
[考研] 085600 一志愿9 總分351 求調(diào)劑學(xué)校 +7 | czhcz 2026-03-31 | 7/350 |
|
|
[考研] 070300化學(xué)專業(yè)279調(diào)劑 +9 | 哈哈哈^_^ 2026-03-31 | 9/450 |
|
|
[考研] 求調(diào)劑推薦 材料 304 +18 | 荷包蛋hyj 2026-03-26 | 18/900 |
|
|
[考研] 材料專碩調(diào)劑 +13 | 椰椰。 2026-03-29 | 13/650 |
|
|
[考研] 353求調(diào)劑 +3 | 江上楓_26 2026-03-28 | 3/150 |
|
|
[考研] 367求調(diào)劑 +7 | 芋泥啵! 2026-03-28 | 7/350 |
|
|
[考研] 一志愿中海洋材料357 +4 | 麥恩莉. 2026-03-30 | 4/200 |
|
|
[考研] 313求調(diào)劑 +6 | 賣個(gè)關(guān)子吧 2026-03-31 | 6/300 |
|
|
[考研] 一志愿北京化工大學(xué)材料與化工(085600)296求調(diào)劑 +25 | 稻妻小編 2026-03-26 | 25/1250 |
|
|
[考研] 085600 286分 材料求調(diào)劑 +11 | 麻辣魷魚 2026-03-27 | 12/600 |
|
|
[有機(jī)交流] 考研調(diào)劑 +8 | watb 2026-03-26 | 8/400 |
|
|
[考研] 334分 一志愿武理 材料求調(diào)劑 +16 | 李李不服輸 2026-03-26 | 16/800 |
|
|
[考研] 324求調(diào)劑 +9 | hanamiko 2026-03-26 | 11/550 |
|
|
[考研] 一志愿中南大學(xué)化學(xué)0703總分337求調(diào)劑 +6 | niko- 2026-03-27 | 6/300 |
|
|
[考研] 312,生物學(xué)求調(diào)劑 +3 | 小譯同學(xué)abc 2026-03-28 | 3/150 |
|
|
[考研] 材料求調(diào)劑一志愿哈工大324 +7 | 閆旭東 2026-03-28 | 9/450 |
|
|
[考研] 求調(diào)劑 +3 | 李李不服輸 2026-03-25 | 3/150 |
|