Skip to content
/ gwpysoft Public

Utilities for creating/maintaining a GWpySoft virtualenv

Notifications You must be signed in to change notification settings

gwpy/gwpysoft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GWpySoft

GWpySoft is the stack of software including GWpy, GWSumm and GWpy-VET, and all dependencies (critically numpy, scipy, astropy, and matplotlib).

This repository provides simple scripts to set up a virtualenv containing those packages, mainly for use on the LIGO Data Grid.

Installation

To install the stack, first clone the repository

git clone https://github.com/gwpy/gwpysoft
cd gwpysoft

then run the gwpysoft-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 a pip requirements file.

Then the virtualenv can be activated by

. <target-dir>/bin/activate

Gotchas

Basemap

The gwpysoft-init script will also try to install the matplotlib basemap 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 needs geos to be recompiled against it.

MKL

If you have an installation of the Intel MKL (i.e. if icc is on the PATH), 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.

About

Utilities for creating/maintaining a GWpySoft virtualenv

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages