- Notifications
You must be signed in to change notification settings - Fork3
gwpy/gwpysoft
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
GWpySoft is the stack of software includingGWpy,GWSumm andGWpy-VET, and all dependencies (criticallynumpy,scipy,astropy, andmatplotlib).
This repository provides simple scripts to set up avirtualenv containing those packages, mainly for use on the LIGO Data Grid.
To install the stack, first clone the repository
git clone https://github.com/gwpy/gwpysoftcd gwpysoft
then run thegwpysoft-init
script to generate a new virtualenv
./gwpysoft-init<target-dir> ./packages.txt
The first argument (<target-dir>
, e.g.${HOME}/opt/gwpysoft
) is the target directory for the virtualenv, and can be anywhere you want.The second argument (./packages.txt
) is a plaintext file containing the list of packages you want; the format is that of apip requirements file.
Then the virtualenv can be activated by
. <target-dir>/bin/activate
Thegwpysoft-init
script will also try to install the matplotlibbasemap toolkit (only if matplotlib itself was installed).This is mainly because if you install a custom version of numpy (which in general will be true), basemap needsgeos
to be recompiled against it.
If you have an installation of the Intel MKL (i.e. ificc
is on thePATH
),gwpysoft-init
will try to build MKL-compiled versions of numpy and scipy.These will be installed under<target-dir>-mkl
(e.g.${HOME}/opt/gwpysoft-mkl
) and a bash environment script will be installed under<target-dir>-mkl/etc
.