OpenBSD
Aqua-Duct can be also installed under OpenBSD (5.9 and 6.0 amd64).
NetCDF-c version 4 has to be installed as OpenBSD ships only netCDF in version 3. First, install hdf5 library and GNU make:
# install hdf5 and GNU make
pkg_add hdf5 gmake
Next, download netCDF sources. Version 4.2.1.1 works out of the box but is a bit outdated. Visit NetCDF web page and select version of your choice. Older versions are available in the FTP archive. Once netCDF is downloaded and extracted go to the source directory and try following procedure:
# set LD and CPP flags
export LDFLAGS=-L/usr/local/lib
export CPPFLAGS=-I/usr/local/include
# configure project
./configure --enable-shared --enable-dap --disable-doxygen --enable-netcdf-4 --prefix=/path/to/netCDF4/lib
# make and install
gmake
gmake install
You may now install py-scipy package:
pkg_add py-scipy
Install pip if it is missing:
pkg_add py-pip
Install netCDF4 Python:
# define netcdf-4 installation directory
export NETCDF4_DIR=/path/to/netCDF4/lib
pip2.7 install netCDF4
At this point you can follow generic Python instructions, type:
pip2.7 install aquaduct
PyMOL at OpenBSD
According to our knowledge it is possible to install PyMOL 1.4.1 and it is sufficient to work with Aqua-Duct. Go to SourceForge PyMOL download page and download, save, and extract sources.
PyMOL requires Python Mega Widgets. Download, for example Pmw 1.3.3b from SourceForge Pmw download page. Extract it and install by:
python2.7 setup.py install
TKinter (2.7) and several other packages are also required:
pkg_add python-tkinter freeglut glew png
Next, go to the extracted PyMOL sources open setup.py and modify inc_dirs variable at line 129 by adding following paths:
"/usr/X11R6/include/freetype2",
"/usr/X11R6/include",
"/usr/local/include",
Now, you can build and install PyMOL by typing following commands:
python2.7 setup.py build
python2.7 setup.py install
python2.7 setup2.py install
cp pymol /usr/local/bin
PyMOL can be run by typing pymol or can be used as Python module.
Other BSDs
Installation on other BSDs might be easier. For example, Python netCDF4 is available in ports of FreeBSD and DragonFlyBSD. Try to install it and SciPy, then proceed to generic Python installation instructions.
If you are using NetBSD or other BSD try to follow OpenBSD instructions.