| 12 | 1/1 | 返回列表 |
| 查看: 3394 | 回復(fù): 11 | |||
[交流]
【求助】這是我安裝gromacs過程,但是出錯(cuò)阿,這個(gè)怎么辦呢?謝謝
|
|||
|
[root@xiaojianhui xiaojianhui]# cd xiao/ [root@xiaojianhui xiao]# cd gromacs-4.5.3.tar.gz bash: cd: gromacs-4.5.3.tar.gz: 不是目錄 [root@xiaojianhui xiao]# cd gromacs-4.5.3 [root@xiaojianhui gromacs-4.5.3]# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking for cc... no checking for icc... no checking for xlc... no checking for gcc... no configure: error: in `/home/xiaojianhui/xiao/gromacs-4.5.3': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. [root@xiaojianhui gromacs-4.5.3]# make make: *** 沒有指明目標(biāo)并且找不到 makefile。 停止。 [root@xiaojianhui gromacs-4.5.3]# |
» 搶金幣啦!回帖就可以得到:
+1/271
+1/94
+1/89
+1/84
+1/83
+1/80
+1/75
+1/51
+1/47
+1/22
+1/19
+1/12
+1/12
+1/8
+1/7
+1/7
+1/6
+1/5
+1/3
+1/3
|
root@xiaojianhui xiaojianhui]# cd xiao/ [root@xiaojianhui xiao]# cd gromacs-4.5.3.tar.gz #tar -zxvf gromacs-4.5.3.tar.gz bash: cd: gromacs-4.5.3.tar.gz: 不是目錄 [root@xiaojianhui xiao]# cd gromacs-4.5.3 [root@xiaojianhui gromacs-4.5.3]# ./configure ./configure ... 將編譯器等等信息加上. checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking for cc... no checking for icc... no checking for xlc... no checking for gcc... no 你cc, icc xlc, gcc都沒有..... configure: error: in `/home/xiaojianhui/xiao/gromacs-4.5.3': configure: error: no acceptable C compiler found in $PATH 提醒你了.... See `config.log' for more details. [root@xiaojianhui gromacs-4.5.3]# make configure都沒有通過, make什么呢? make: *** 沒有指明目標(biāo)并且找不到 makefile。 停止。 [root@xiaojianhui gromacs-4.5.3]# 請(qǐng)參閱 http://www.gromacs.org/Downloads ... s?highlight=install Gromacs的安裝非常方便, 但是不代表如果你什么功課都沒有做就能成功編譯. |
|
本帖內(nèi)容被屏蔽 |
|
gromacs安裝 2010-03-22 17:28 http://www.gromacs.org/gromacs/i ... n-instructions.html 1、下載fftw http://www.fftw.org/download.html 2、下載gromacs http://www.gromacs.org/gromacs/downloads/source-code.html 使用root權(quán)限 3、安裝fftw #tar -zxvf fftw-3.1.2.tar.gz #tar -zxvf gromacs-3.3.1.tar.gz #cd fftw-3.1.2 #./configure --enable-float #make #make install 4、安裝gromacs #cd ../gromacs-3.3.1/ ./configure make make install 默認(rèn)的是把程序安裝到了/usr/local/gromacs/目錄下。 ( 默認(rèn)的是把程序安裝到了/usr/local/gromacs/目錄下。 編輯主目錄下的.bash_profile文件,在其中加入下面的一行: export PATH=/usr/local/gromacs/i686-pc-linux-gnu/bin:$PATH 保存退出后,運(yùn)行 source .bash_profile(或者是 .bashrc)讓PATH路徑生效。參考o(jì)nline的tutorial運(yùn)行/usr/local/gromacs/share/tutor目錄下的教程其中以root帳號(hào)登陸安裝,這很重要,否則沒有權(quán)限哈。 ) 由于是使用默認(rèn)安裝. #export CPPFLAGS=-I/usr/local/include (#export CPPFLAGS=-I/home/joe/fftw/include) #export LDFLAGS=-L/usr/local/lib (#export LDFLAGS=-L/home/joe/fftw/lib) #./configure --with-fft=fftw3 (#./configure --with-fft=fftw2 #如果是老版的fftw的話) #make #make install #make links #這樣可以直接使用命令 #luck #用這個(gè)測(cè)試安裝是否成功,會(huì)很幽默的返回名言 ( 當(dāng)前我用的安裝過程如下 1.Linux下root登陸 2.下載fftw3-3.0.1-4.i386.rpm和gromacs-3.3-1.i386.rpm兩個(gè)軟件 3.安裝此軟件 命令是 #rpm -ive fftw3-3.0.1-4.i386.rpm #rpm -ive gromacs-3.3-1.i386.rpm 4.這樣兩個(gè)軟件就已經(jīng)安裝成功另外,在官方網(wǎng)站(www.gromacs.org)的安裝說明中也提到了講tutor文件夾復(fù)制到用戶新的文件夾。(在摸索這一步過程中吃了很多苦頭,我不知道上面提到的安裝中是不是編輯文件就可以達(dá)到這一步,我是linux和gromacs雙重菜鳥,當(dāng)然不會(huì)編輯bash文件了)我的方法是下載gromacs-3.3.1.tar.gz之后解壓縮,然后在/share下找到tutor文件夾,將其copy出來到新的文件夾。這個(gè)文件夾中有幾個(gè)gromacs自帶的算例,對(duì)程序的上手很有幫助. 5.運(yùn)行#luck 然后可以看到諸如 "Jesus Can't Save You, Though It's Nice to Think He Tried" (Black Crowes)或者"Beat On the Brat With a Baseball Bat" (The Ramones)之類的語(yǔ)句,證明你的安裝成功了! 6.按照網(wǎng)上提到的安裝說明,gromacs是被安裝在了/usr/local/gromcas下。而在我提到的安裝后,gromacs被安裝在了/usr/bin之下安裝成功,其實(shí),關(guān)于gromacs的安裝和使用,還是應(yīng)該多看官方網(wǎng)站的tutor,畢竟這是一個(gè)free software,所以他的tutor是相當(dāng)詳盡的。因?yàn)檫@是一個(gè)free software 所以,需要大家一起努力為了gromacs更廣泛的應(yīng)用努力。 ) gromacs的文件類型 常用的gromacs文件有以下類型: 1. Molecular topology files (.top) 初學(xué)分子模擬的我暫時(shí)稱之為分子拓?fù)湮募ú恢绖e人都是怎么翻譯的),top file是pdb2gmx自動(dòng)將PDB格式文件轉(zhuǎn)化生成的 2. Molecular structure files (.pdb .gro) 這種結(jié)構(gòu)文件包括pdb gro兩種,pdb2gmx將pdb文件轉(zhuǎn)化為top文件的同時(shí)也將pdb轉(zhuǎn)化為了gro。gro和pdb都是結(jié)構(gòu)文件,它們的不同在于格式,gro file還保存了velocities當(dāng)然,如果你用不到v時(shí),也可直接使用pdb格式的結(jié)構(gòu)文件另外,genbox程序用于生成研究對(duì)象周圍箱中的溶劑分子,首先需要定義合適的盒子的尺寸大小。genbox的output file是gro。genbox同時(shí)還講原有的top文件修改為假如溶劑分子后的top文件 3. Molecular dynamics parameter files (.mdp) mdp files其實(shí)是一個(gè)參數(shù)文件,包括了要做分子動(dòng)力學(xué)模擬所需的例如time-step, number of steps, tempratures, pressure等等 4. Index files (.ndx) 5. Run input file (.tpr) 將上面提到的四種文件組合生成tpr文件,也就是 top + gro + mdp + ndx = tpr tpr file包括了要run分子動(dòng)力學(xué)模擬所需要的所有信息 grompp程序處理所有的input文件生成tpr 6. Trajectory files (.trr) 軌道文件,讀取trr文件對(duì)我來說走了很多彎路,曾經(jīng)試圖嘗試使用guassview和vmd1.8.4等讀圖工具讀取。后來跑到smth得知讀取trr在gromacs中有一種自帶程序ngmx。這種軟件讀取trr文件需要x windows,當(dāng)時(shí)我用win系統(tǒng)ssh連接linux,當(dāng)然無(wú)法讀取了,汗~ 另外,在官方網(wǎng)站上有g(shù)romacs的flow chart-- http://www.gromacs.org/external/online-reference-manual.html 做的相當(dāng)不錯(cuò),能夠幫助深刻理解文件和程序的相互作用 以下在gromacs-3.3.1/share/tutor/nmr1/ 下 1. Convert the pdb-file to a gromacs structure file (.gro / .pdb) and a gromacs topology file (.top) @pdb2gmx -ignh -f pep.pdb -p pep.top -o pep.gro (#gromacs的預(yù)處理程序pdb2gmx) 這個(gè)命令之后有一個(gè)force field 的選擇 系統(tǒng)給出了11種力場(chǎng),具體以后實(shí)際計(jì)算中如何選擇力場(chǎng)還是應(yīng)該多參閱文獻(xiàn)和gromacs說明書的。 2. Solvate the peptide in water @editconf -bt cubic -f pep.gro -o pep_box.gro -c -d 0.5 3. 體系放入盒子之后在盒子中注入水 @genbox -cp pep_box.gro -cs -p pep.top -o pep_water.gro 之后看加水之后的top文件用命令 //@tail speptide.top 其中SOL后面的數(shù)字就是genbox加入盒子的水分子的數(shù)目。 4.Editconf程序的另一個(gè)用途是講gro文件轉(zhuǎn)化回pdb 這時(shí)可以講speptide_water.gro轉(zhuǎn)化回pdb觀察 @editconf -f pep_water.gro -o pep_water.pdb 拖回本機(jī) 用spbdv或者vmd觀察。 5. The next step is to generate index file, in the tutor of gromacs, we are told that there are a set of index groups to select. Unfortunately, I did not find them, so I have to use make_ndx to generate one. @make_ndx -f pep_water.gro 6. Perform an energy minimization of the peptide in solvent. Now the simulation system is almost ready. Before we can start the dynamics, we must perform an energy minimization, to alleviate any bad contacts (atoms overlapping such that a significant repulsion would result, causing numerical problems in the simulation) that might be present in the system. @grompp -v -f grompp.mdp -c pep_water.gro -p pep.top -o pep_nmr1.tpr 7. After the 6th command, the bad contacs have been removed. So we can do energy minimization now. @mdrun -v -s pep_nmr1.tpr -o pep_nmr1.trr -c after_nmr1.gro -g nmr1.log windows下看linux的遠(yuǎn)程桌面的其中一種簡(jiǎn)單解決辦法(可能比Xmanager, Hummingbird Exceed簡(jiǎn)單) 要求linux裝vncserver,配置參照 http://www.blogcn.com/User6/qkboy/blog/23548218.html(使用VNC遠(yuǎn)程管理linux桌面) 1. 用IE訪問http://192.168.1.102:5803/ 登陸即可,不過需要Java Runtime Environment的支持jre 或 2. http://chinaunix.net/jh/4/495459.html(遠(yuǎn)程桌面設(shè)置part2:putty vnc + ssh tunneling) PS: http://www.realvnc.com/cgi-bin/download.cgi 不用填也可以proceed to download. 我下載的windows zip安裝版,只安裝viewer就行了. 運(yùn)行putty,輸入服務(wù)器的ip地址,輸入一個(gè)名字作為session的名字,按save保存. 單擊對(duì)話框左邊的tunnels來選擇相關(guān)設(shè)置,在source port里輸入5901,在Destination里輸入localhost:5901,按Add添加 單擊左邊session,回到session設(shè)置,按save重新保存.按open即可登錄到服務(wù)器. 連接登陸,然后運(yùn)行vnc-viewer,連接localhost:1,登錄,打開一個(gè)終端.進(jìn)入 gromacs-3.3.1/share/tutor/nmr1/ @ngmx -f pep_nmr1.trr -s pep_nmr1.tpr @editconf -f after_em.gro -o after_em.pdb g_rdf -n index 運(yùn)行不了,ly說本機(jī)上可以,可能是安裝的問題 Mean square displacement (MSD) function determines how much on average a molecule has moved with time nohup <程序名> & eg1: nohup mdrun -v >&log & tail -f log eg2: mdrun -v -s pr -e pr -o pr -c after_pr -g prlog >& pr.job & tail -f pr.job (現(xiàn)在還在做例子 約19:15能夠跑完,只能明天看結(jié)果了) 看結(jié)果,赫赫! mv fname newfname 1 SCP Water StarDict & log |
木蟲 (著名寫手)
| 12 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 284求調(diào)劑 +10 | Zhao anqi 2026-03-22 | 10/500 |
|
|---|---|---|---|---|
|
[考研] 一志愿國(guó)科過程所081700,274求調(diào)劑 +3 | 三水研0水立方 2026-03-23 | 3/150 |
|
|
[考研] 333求調(diào)劑 +3 | ALULU4408 2026-03-23 | 3/150 |
|
|
[考研] 0854電子信息求調(diào)劑 324 +3 | Promise-jyl 2026-03-23 | 3/150 |
|
|
[考研] 一志愿 西北大學(xué) ,070300化學(xué)學(xué)碩,總分287,雙非一本,求調(diào)劑。 +3 | 晨昏線與星海 2026-03-20 | 3/150 |
|
|
[考研] 319求調(diào)劑 +4 | 小力氣珂珂 2026-03-20 | 4/200 |
|
|
[考研] 269專碩求調(diào)劑 +6 | 金恩貝 2026-03-21 | 6/300 |
|
|
[基金申請(qǐng)] 山東省面上項(xiàng)目限額評(píng)審 +4 | 石瑞0426 2026-03-19 | 4/200 |
|
|
[考研] 求調(diào)劑 +3 | 13341 2026-03-20 | 3/150 |
|
|
[考研] 0703化學(xué)297求調(diào)劑 +3 | Daisy☆ 2026-03-20 | 3/150 |
|
|
[考研] 330求調(diào)劑0854 +3 | assdll 2026-03-21 | 3/150 |
|
|
[考研] 初始318分求調(diào)劑(有工作經(jīng)驗(yàn)) +3 | 1911236844 2026-03-17 | 3/150 |
|
|
[考研] 085700資源與環(huán)境308求調(diào)劑 +12 | 墨墨漠 2026-03-18 | 13/650 |
|
|
[考研] 一志愿華南師大 070300(化學(xué))304分求調(diào)劑 +3 | 0703武芊慧雪304 2026-03-18 | 3/150 |
|
|
[考研] 22408 344分 求調(diào)劑 一志愿 華電計(jì)算機(jī)技術(shù) +4 | solanXXX 2026-03-20 | 4/200 |
|
|
[考研] 288求調(diào)劑 +16 | 于海海海海 2026-03-19 | 16/800 |
|
|
[考研]
|
然11 2026-03-19 | 4/200 |
|
|
[考研] 一志愿蘇州大學(xué)材料求調(diào)劑,總分315(英一) +5 | sbdksD 2026-03-19 | 5/250 |
|
|
[考研] 一志愿西安交通大學(xué) 學(xué)碩 354求調(diào)劑211或者雙一流 +3 | 我想要讀研究生 2026-03-20 | 3/150 |
|
|
[考研] 一志愿福大288有機(jī)化學(xué),求調(diào)劑 +3 | 小木蟲200408204 2026-03-18 | 3/150 |
|