close

GromacsGUI(又稱GroGUI), 是Gromacs的圖形界面程式, 方便使用者做Gromacs設定. 使用C++/QT函式開發, 所以在編譯時要安裝g++和qt函式庫, 若需要有分析功能, 還需另外裝qwt函式庫. 在SLES 12安裝不需修改設定檔, 但在RedHat系列要做些小改變. 

下載網址 http://resal.wordpress.com/gromacs-gui

CentOS:~ # tar zxf 47665-grogui052.tar.gz
CentOS:~ # cd grogui052/gui_withplotting #系統需有安裝qwt

CentOS:~/grogui052/gui_withplotting # vi grogui.pro #修改使用函式庫
/usr/include/qwt-qt4 -> /usr/include/qwt
LIBS += -lqwt-qt4 -> LIBS += -lqwt

CentOS:~/grogui052/gui_withplotting # vi include/myprocess.h #加入底下內容
#include <stdio.h>

CentOS:~/grogui052/gui_withplotting # qmake-qt4 #在編譯前先確定使用qt4的qmake,產生Makefile
CentOS:~/grogui052/gui_withplotting # make
CentOS:~/grogui052/gui_withplotting # ./grogui #執行程式

arrow
arrow
    文章標籤
    CentOS
    全站熱搜

    wsunccake 發表在 痞客邦 留言(0) 人氣()