[votca] fftw libraries

91 views
Skip to first unread message

Sikandar Mashayak

unread,
Apr 23, 2010, 8:07:21 PM4/23/10
to vo...@googlegroups.com
hi

I was able to install votca on my local ubuntu machine. While installing I had some issues with fftw library missing n all. Then I figured, I need fftw as well as fftw-dev for successful installation. This was easily resolved on local ubuntu machine, by doing sudo apt-get install fftw3-dev.

Now, I want to do the installation on server machine, to which I dont have admin access. So all the libraries will be installed on non-standard location (somewhere in my home/username folder). I can download fftw3 from their webpage, but I dont know from where to get source for fftw3-dev to be installed in remote/server machine.

Any suggestion?

thanks
sikandar

--
You received this message because you are subscribed to the Google Groups "votca" group.
To post to this group, send email to vo...@googlegroups.com.
To unsubscribe from this group, send email to votca+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/votca?hl=en.

Christoph Junghans

unread,
Apr 24, 2010, 4:27:29 AM4/24/10
to vo...@googlegroups.com
> Now, I want to do the installation on server machine, to which I dont have
> admin access. So all the libraries will be installed on non-standard
> location (somewhere in my home/username folder). I can download fftw3 from
> their webpage, but I dont know from where to get source for fftw3-dev to be
> installed in remote/server machine.
the fftw3-dev package just contains the header files and a static
compiled library
(http://packages.ubuntu.com/de/dapper/fftw3-dev)

The header will be installed by default if you build/install fftw from
the source.
I think fftw builds static library by default, but you should build
both static and shared library.
So configure fftw with --enable-shared and --enable-static option.

To make VOTCA use a fftw in a non-standard place you can either use
environment variables FFTW_CFLAGS and FFTW_LIBS, e.g.:
export FFTW_CFLAGS="-I/path/to/fftw/include"
export FFTW_LIBS="-L/path/to/fftw/lib -lfftw3"
or add the dir /path/to/fftw/lib/pkgconfig to the pkg-config search path, e.g.
export PKG_CONFIG_PATH="/path/to/fftw/lib/pkgconfig"

Cheers,

Christoph
Reply all
Reply to author
Forward
0 new messages