Installation

1) Dependencies

a) Python packages

Make sure that you have the followin python packages installed:

  • numpy
  • scipy
  • h5py

If any of these packages is missing simply install it with pip (or easy_install):

$ pip install numpy scipy h5py

You might need to prepend sudo to obtain root privileges.

b) NFFT

Install the NFFT library:

wget https://www-user.tu-chemnitz.de/~potts/nfft/download/nfft-3.2.3.tar.gz
tar xvzf nfft-3.2.3.tar.gz
cd nfft-3.2.3
./configure
make
sudo make install
cd ..

c) libspimage and spsim (optional)

Install the libraries libspimage and the spsim:

i) libspimage

git clone https://github.com/FXIhub/libspimage.git
cd libspimage
mkdir build
cd build
ccmake ..

Hit the C key for automatic configuration.

Make sure everything is set up correctly, then press the G key for generation of the Makefile.

make
sudo make install
cd ../..

ii) spsim

git clone https://github.com/FXIhub/spsim.git
cd spsim
mkdir build
cd build
ccmake ..

Hit the C key for automatic configuration.

Make sure everything is set up correctly, then press the G key for generation of the Makefile.

make
sudo make install
cd ../..

2) Install the Condor package

git clone https://github.com/FXIhub/condor.git
cd condor
python setup.py install

3) Run the examples (optional)

python examples.py

For getting started with your own Condor simulation have a look at individual example scrips and configuration files in the folder examples/.