24小时热门版块排行榜    

Znn3bq.jpeg
查看: 1386  |  回复: 3

gongyiweimu

木虫 (著名写手)

[求助] Linux系统下GMIN软件安装及使用

我下载GMIN的svn.tar.bz2文件,但是解压后没有发现是soft文件夹,不知道如何安装,求高手指点,要是用过GMIN的高手能指点一下就更好了!

GMIN软件的主页:http://www-wales.ch.cam.ac.uk/GMIN/

本人对linux系统使用很弱,以下是我所知道的tar.bz2源代码包安装方式:  
1、找到相应的软件包,比如soft.tar.bz2,下载到本机某个目录;  
2、打开一个终端,su -成root用户;  
3、cd soft.tar.bz2所在的目录;  
4、tar -xjvf soft.tar.bz2 //一般会生成一个soft目录  
5、cd soft  
6、./configure  
7、make  
8、make install

[ 来自科研家族 木虫量化 ]
回复此楼
远山飘渺或可登
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

easygeton

铜虫 (小有名气)

【答案】应助回帖

感谢参与,应助指数 +1
找到configure文件所在的那个目录就可以,然后./configure
2楼2012-07-29 18:21:14
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

gongyiweimu

木虫 (著名写手)

引用回帖:
2楼: Originally posted by easygeton at 2012-07-29 18:21:14
找到configure文件所在的那个目录就可以,然后./configure

非常感谢!但没有这个文件,要不你亲自试试。
远山飘渺或可登
3楼2012-07-29 21:06:12
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

tengh

木虫 (小有名气)

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
gkf高: 金币+4 2013-08-26 09:38:34
gongyiweimu: 金币+10, ★★★★★最佳答案, 谢谢啦,要是早一年就好 2013-08-27 18:05:52
你可以按照下面这个说明来进行安装,但是要根据你自己的机器环境做些改动,步骤其实就两步,cmake产生makefile文件,然后再make即可。

Compilation with cmake
======================
With cmake, the build is done in a separate directory from the source.  

1. Make a build directory (typically GMIN/bin/build).

2. From within that directory, tell cmake what to compile

  $ cmake /path/to/source

3. Build GMIN using the automatically generated Makefile

  $ make -j

The -j flag does the compilation in parallel

Changing options
----------------
You can use the in-terminal gui ccmake to adjust all compilation options.
This includes which target executables to make (e.g. amber, charmm)

From whithin the build directory

  $ ccmake .

You may need to redo the cmake setup

  $ cmake .

choosing the fortran compiler
-----------------------------
To select the portland group fortran compiler the cmake build command is
modified like

  $ FC=pgf90 cmake /path/to/source/

Compiling with MPI
------------------
The MPI compilation with cmake currently only works with pgi (I think).
The command to build with MPI is a bit daft, but this is what works.
You need to specify the mpi compiler, you need to turn on the MPI precompiler
flag (this really aught to be done automatically), and you need to tell cmake
which mpi compiler to use (becuase they are all called mpif90).

  $ FC=mpif90 cmake /path/to/source/ -DWITH_MPI=true -DCOMPILER_SWITCH=pgi
4楼2013-08-26 08:52:02
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 gongyiweimu 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 一志愿华中农微生物,288分,三年实验经历 +3 代fish 2026-04-09 3/150 2026-04-09 12:20 by 徐良白眉大侠
[考研] 0860004 求调剂 309分 +6 Yin DY 2026-04-09 6/300 2026-04-09 10:19 by 啊李999
[考研] 招收有机化学、化工,药学,食品灯专业学生 +3 yrfhjgdj 2026-04-08 3/150 2026-04-09 10:15 by QYQX_123
[考研] 299求调剂 +5 ZVVZ13 2026-04-08 5/250 2026-04-09 10:13 by 逆水乘风
[考研] 085404 293求调剂 +4 勇远库爱314 2026-04-08 4/200 2026-04-09 08:56 by 保奔超爱学习
[考研] 一志愿华南师范大学-22408计算机-292分-求华南师范大学调剂 +5 爱读书的小鳄鱼 2026-04-02 5/250 2026-04-08 14:55 by CAS小花工
[考研] 化工学硕 285求调剂 +26 Wisjxn 2026-04-07 26/1300 2026-04-08 14:42 by screening
[考研] 071000生物学,一志愿深圳大学296分,求调剂 +12 TIckLw 2026-04-06 13/650 2026-04-07 20:34 by lijunpoly
[考研] 080500求调剂 +12 黄宇博 2026-04-06 12/600 2026-04-07 12:41 by upczlm1989
[考研] 277工科求调剂 +10 1915668 2026-04-04 11/550 2026-04-06 23:53 by 心媛意北
[考研] 08600生物与医药-327 +9 18755400796 2026-04-05 9/450 2026-04-06 22:35 by 52305043001
[考研] 071000生物学调剂 +7 拉提桃 2026-04-06 7/350 2026-04-06 18:55 by 52305043001
[考研] 一志愿安徽某211 0703化学总分339求调剂 +7 晚风不晚 2026-04-04 7/350 2026-04-06 14:06 by houyaoxu
[考研] 生物与医药086000调剂一志愿西北农林320分 +3 美美女士 2026-04-03 3/150 2026-04-05 21:55 by 学员8dgXkO
[考研] 271分求调剂学校 +12 zph158488! 2026-04-02 13/650 2026-04-05 10:13 by lqwchd
[考研] 085600调剂 +4 1amJJ 2026-04-02 4/200 2026-04-04 21:53 by hemengdong
[考研] 求生物学专业调剂-332分 +5 云朵遛弯指南 2026-04-04 5/250 2026-04-04 10:05 by rzh123456
[考研] 400分求调剂 +3 尴尬且挠头 2026-04-04 3/150 2026-04-04 08:41 by jp9609
[考研] 081200-11408-276学硕求调剂 +5 崔wj 2026-04-03 5/250 2026-04-03 15:06 by arrow8852
[考研] 285求调剂 +8 AZMK 2026-04-02 11/550 2026-04-02 20:16 by yulian1987
信息提示
请填处理意见