24小时热门版块排行榜    

查看: 1365  |  回复: 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的回帖

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的回帖
查看全部 4 个回答

easygeton

铜虫 (小有名气)

【答案】应助回帖

感谢参与,应助指数 +1
找到configure文件所在的那个目录就可以,然后./configure
2楼2012-07-29 18:21:14
已阅   回复此楼   关注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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[教师之家] 焦虑 +9 水冰月月野兔 2026-03-13 13/650 2026-03-19 09:50 by otani
[考研] 271材料工程求调剂 +5 .6lL 2026-03-18 5/250 2026-03-19 03:07 by 无懈可击111
[考研] 一志愿吉林大学材料学硕321求调剂 +4 Ymlll 2026-03-18 6/300 2026-03-18 22:15 by li123456789.
[考研] 【同济软件】软件(085405)考研求调剂 +3 2026eternal 2026-03-18 3/150 2026-03-18 19:09 by 搏击518
[考研] 08工科 320总分 求调剂 +5 梨花珞晚风 2026-03-17 5/250 2026-03-18 14:49 by haxia
[考研] 297求调剂 +8 戏精丹丹丹 2026-03-17 8/400 2026-03-18 14:30 by laoshidan
[考研] 331求调剂(0703有机化学 +7 ZY-05 2026-03-13 8/400 2026-03-18 14:13 by 007_lilei
[考博] 环境领域全国重点实验室招收博士1-2名 +3 QGZDSYS 2026-03-13 5/250 2026-03-18 11:13 by QGZDSYS
[基金申请] 被我言中:新模板不强调格式了,假专家开始管格式了 +4 beefly 2026-03-14 4/200 2026-03-17 22:04 by 黄鸟于飞Chao
[硕博家园] 湖北工业大学 生命科学与健康学院-课题组招收2026级食品/生物方向硕士 +3 1喜春8 2026-03-17 5/250 2026-03-17 17:18 by ber川cool子
[考博] 26申博 +4 八6八68 2026-03-16 4/200 2026-03-17 13:00 by 轻松不少随
[考研] 274求调剂 +5 时间点 2026-03-13 5/250 2026-03-17 07:34 by 热情沙漠
[考研] 304求调剂 +5 素年祭语 2026-03-15 5/250 2026-03-16 17:00 by 我的船我的海
[考研] 一志愿211 0703方向310分求调剂 +3 努力奋斗112 2026-03-15 3/150 2026-03-16 16:44 by houyaoxu
[考研] 0703一志愿211 285分求调剂 +5 ly3471z 2026-03-13 5/250 2026-03-16 16:16 by 哦哦123
[考研] 一志愿华中师范071000,325求调剂 +6 RuitingC 2026-03-12 6/300 2026-03-16 14:50 by 可淡不可忘
[考研] 288求调剂 +4 奇点0314 2026-03-14 4/200 2026-03-14 23:04 by JourneyLucky
[考研] 266求调剂 +4 学员97LZgn 2026-03-13 4/200 2026-03-14 08:37 by zhukairuo
[考研] 290求调剂 +7 ADT 2026-03-12 7/350 2026-03-13 15:17 by JourneyLucky
[考研] 070303一志愿西北大学学硕310找调剂 +3 d如愿上岸 2026-03-13 3/150 2026-03-13 10:43 by houyaoxu
信息提示
请填处理意见