[gmx-users] Fwd: Static compilation of gromacs

Alexey Shvetsov alexxy at omrb.pnpi.spb.ru
Wed May 15 09:34:33 CEST 2013


В письме от 15 мая 2013 08:41:14 пользователь Андрей Гончар написал:
> I know, but on target machine there is a gcc compilator version 4.1, and on
> gromacs site they told that this version is broken and 4.5 should used
> instead. So I try to compile it on machine with 4.5 version of gcc
> 

You can build gcc on target machine for example. also to simplify build you 
can take a look a http://prefix.gentoo.org for example.

> 
> 2013/5/15 Alexey Shvetsov <alexxy at omrb.pnpi.spb.ru>
> 
> > В письме от 15 мая 2013 00:11:49 пользователь Андрей Гончар написал:
> > > Hi. I'm trying to static compile gromacs from source, everything goes
> > 
> > well,
> > 
> > > but when I
> > > move it to another machine and try to launch mdrun I got a message:
> > > 
> > > mdrun: error while loading shared libraries: libfftw3f.so.3: cannot open
> > > shared object file: No such file or directory
> > > 
> > > I run ./configure with the following options:
> > > 
> > > ./configure --prefix=$PREF --enable-all-static --with-x=no --enable-mpi
> > > --without-xml --disable-shared --with-fft=fftw3
> > > 
> > > The goal is to compile gromacs on one computer and to use it on another.
> > 
> > I
> > 
> > > haven't root privileges on another machine so I decided to make a
> > > statically linked instance of gromacs, copy it to another computer and
> > 
> > use
> > 
> > > it from my home directory.
> > 
> > You dont need root privileges to install gromacs for example in
> > ${HOME}/usr
> > also its good idea to build gromacs on target machine
> > --
> > Best Regards,
> > Alexey 'Alexxy' Shvetsov
> > Petersburg Nuclear Physics Institute, NRC Kurchatov Institute,
> > Gatchina, Russia
> > Department of Molecular and Radiation Biophysics
> > Gentoo Team Ru
> > Gentoo Linux Dev
> > mailto:alexxyum at gmail.com
> > mailto:alexxy at gentoo.org
> > mailto:alexxy at omrb.pnpi.spb.ru
> > --
> > gmx-users mailing list    gmx-users at gromacs.org
> > http://lists.gromacs.org/mailman/listinfo/gmx-users
> > * Please search the archive at
> > http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
> > * Please don't post (un)subscribe requests to the list. Use the
> > www interface or send it to gmx-users-request at gromacs.org.
> > * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
-- 
Best Regards,
Alexey 'Alexxy' Shvetsov
Petersburg Nuclear Physics Institute, NRC Kurchatov Institute, 
Gatchina, Russia
Department of Molecular and Radiation Biophysics
Gentoo Team Ru
Gentoo Linux Dev
mailto:alexxyum at gmail.com
mailto:alexxy at gentoo.org
mailto:alexxy at omrb.pnpi.spb.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20130515/0e9c40c8/attachment.sig>


More information about the gromacs.org_gmx-users mailing list