²é¿´: 1366  |  »Ø¸´: 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£¬ÏÂÔØµ½±¾»úij¸öĿ¼£»  
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µÄ»ØÌû

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µÄ»ØÌû
²é¿´È«²¿ 4 ¸ö»Ø´ð

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µÄ»ØÌû
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] 294Çóµ÷¼Á²ÄÁÏÓ뻯¹¤×¨Ë¶ +8 ݤÎÉ­ÁÖ 2026-03-18 8/400 2026-03-19 10:26 by ÊÇѼѼѽѽ
[¿¼ÑÐ] 328Çóµ÷¼Á£¬Ó¢ÓïÁù¼¶551£¬ÓпÆÑо­Àú +3 ÉúÎ﹤³Ìµ÷¼Á 2026-03-16 10/500 2026-03-18 20:41 by Wangjingyue
[¿¼ÑÐ] 344Çóµ÷¼Á +6 knight344 2026-03-16 7/350 2026-03-18 20:13 by walc
[¿¼ÑÐ] 26µ÷¼Á/²ÄÁÏ/Ó¢Ò»Êý¶þ/×Ü·Ö289/ÒѹýAÇøÏß +7 ²½´¨¿á×Ï123 2026-03-13 7/350 2026-03-18 17:12 by ¾¡Ë´Ò¢1
[¿¼ÑÐ] 266Çóµ÷¼Á +5 ÑôÑôÍÛÈû 2026-03-14 9/450 2026-03-18 15:05 by stone_128
[¿¼ÑÐ] 311Çóµ÷¼Á +6 26ÑÐ0 2026-03-15 6/300 2026-03-18 14:43 by haxia
[¿¼ÑÐ] 311Çóµ÷¼Á +11 ¶¬Ê®Èý 2026-03-15 12/600 2026-03-18 14:36 by ÐÇ¿ÕÐÇÔÂ
[¿¼ÑÐ] 331Çóµ÷¼Á£¨0703Óлú»¯Ñ§ +7 ZY-05 2026-03-13 8/400 2026-03-18 14:13 by 007_lilei
[¿¼ÑÐ] ÉúÎïѧ071000 329·ÖÇóµ÷¼Á +3 ÎÒ°®ÉúÎïÉúÎﰮΠ2026-03-17 3/150 2026-03-18 10:12 by macy2011
[¿¼ÑÐ] 307Çóµ÷¼Á +3 ÀäóÏ123 2026-03-17 3/150 2026-03-18 09:55 by macy2011
[¿¼ÑÐ] 0703»¯Ñ§336·ÖÇóµ÷¼Á +6 zbzihdhd 2026-03-15 7/350 2026-03-18 09:53 by zhukairuo
[¿¼ÑÐ] »·¾³¹¤³Ìµ÷¼Á +8 ´ó¿Édigkids 2026-03-16 8/400 2026-03-18 09:36 by zhukairuo
[¿¼ÑÐ] 290Çóµ÷¼Á +3 p asserby. 2026-03-15 4/200 2026-03-17 16:35 by wangkm
[¿¼ÑÐ] Ò»Ö¾Ô¸ËÕÖÝ´óѧ²ÄÁϹ¤³Ì£¨085601£©×¨Ë¶ÓпÆÑо­ÀúÈýÏî¹ú½±Á½¸öʵÓÃÐÍרÀûÒ»ÏîÊ¡¼¶Á¢Ïî +6 ´ó»ðɽС»ðɽ 2026-03-16 8/400 2026-03-17 15:05 by ÎÞи¿É»÷111
[¿¼ÑÐ] »úеר˶µ÷¼Á +3 ±¿±¿ÍÃ×Ó 2026-03-12 3/150 2026-03-15 20:02 by Àõ×ÓÖà?
[¿¼ÑÐ] Öпƴó²ÄÁÏר˶319Çóµ÷¼Á +3 ÃÏöβÄÁÏ 2026-03-13 3/150 2026-03-14 18:10 by houyaoxu
[¿¼ÑÐ] ¸´ÊÔµ÷¼Á +4 z1z2z3879 2026-03-14 5/250 2026-03-14 16:30 by JourneyLucky
[¿¼ÑÐ] 297Çóµ÷¼Á +4 ѧº£Æ¯²´ 2026-03-13 4/200 2026-03-14 11:51 by ÈÈÇéɳĮ
[¿¼ÑÐ] ѧ˶285Çóµ÷¼Á +13 Wisjxn 2026-03-12 46/2300 2026-03-14 10:33 by JourneyLucky
[˶²©¼ÒÔ°] 085600 260·ÖÇóµ÷¼Á +3 Ìì¿Õ»¹ÏÂÓêô 2026-03-13 5/250 2026-03-13 18:46 by Ìì¿Õ»¹ÏÂÓêô
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û