[gmx-users] Re: PBS

Campbell Millar c.millar at elec.gla.ac.uk
Tue Dec 13 11:33:52 CET 2005


Hi Jiqing,

The flag to compile statically is --enable-all-static which you pass to 
configure.

  Try ./configure --help to get a list of the flags that it accepts.

The other way is to pass -static (or whatever one is correct for your 
compiler) to the linker. You can do this by setting the LDFLAGS 
environment variable to whatever flags you need, plus -static (at least 
for gcc).

Cheers,

Campbell

On 13 Dec 2005, at 01:58, 主月 :) wrote:

> Hi:
> Your suggestion is "re-compile gromacs statically with the -static 
> flag. This builds the
> libraries into the executable so they are not required to be loaded at
> runtime.
> " , Do you mean that "./configure -static flag" ?
> It says "cann't recognize -static"! I need your further help.
>  
>  
>
>
>>  
>>  
> *************************************************
> Ji Qing(吉青)
> Institute of Chemistry, Chinese Academy of Sciences
> (中科院化学所)
> Tel: 0086-10-62562894  ,82618423
> *************************************************
>  
>  
__________________________
Dr Campbell Millar,
University of Glasgow,
Device Modelling Group,
Oakfield Avenue,
Glasgow G12 8LT
tel: +44 141 330 4792  fax: +44 141 330 4907 skype: campbell_millar

"Diplomacy is the art of saying 'nice doggy', till you can find a rock"
Larry Niven.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2442 bytes
Desc: not available
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20051213/ebf2cb97/attachment.bin>


More information about the gromacs.org_gmx-users mailing list