edit · history · print

Software.PSRSoft History

Hide minor edits - Show changes to markup

March 05, 2016, at 02:23 PM by 80.229.8.212 -
Changed lines 123-124 from:

http://www.atnf.csiro.au/people/Michael.Keith/psrsoft/psrsoft.tar.gz

to:

http://pulsarastronomy.net/psrsoft/psrsoft.tar.gz

April 05, 2011, at 07:43 PM by mkeith -
April 05, 2011, at 07:43 PM by mkeith -
Changed lines 55-56 from:

$PSRSOFT_DIR/bin/psrsoft package(s) —testing

to:

$PSRSOFT_DIR/bin/psrsoft ''package(s)'' --testing

April 05, 2011, at 07:43 PM by mkeith -
Added lines 53-56:

By default psrsoft searches the “stable” package tree. If you cannot find the package you want, you can try the unstable “testing” tree:

$PSRSOFT_DIR/bin/psrsoft package(s) —testing

October 27, 2009, at 11:14 PM by mkeith -
Changed lines 3-4 from:

PSRSoft is a pulsar software package management and installation system.

to:

PSRSoft is a system for easily installing and using various pulsar related software packages, without having to worry about strange dependencies and the typical unusual installation scripts. PSRSoft provides a 1-line install for large or complicated packages like psrchive, tempo2, etc.

This system is currently under development, however the latest version is entirely usable.

Deleted lines 10-20:

Description

This system is currently under development, however the latest version is entirely usable.

Installation of psrsoft

Installation of psrsoft just requires untaring the tarball:

http://www.atnf.csiro.au/people/Michael.Keith/psrsoft/psrsoft.tar.gz

you will need to copy psrsoft/config/profile.example to psrsoft/config/profile and modify it if the default settings are not useful. The directory created when untaring will be known as $PSRSOFT_DIR, however you do not have to set this variable if you do not move the relative path of the psrsoft executable.

Changed lines 13-14 from:

To list all avaliable packages

to:

For installing psrsoft itself, see the Installation section

PSRSoft has a large number of packages that can be installed, to list of the currently available packages:

Deleted lines 20-21:

To install a package using psrsoft, run:

Added lines 115-134:

Installation of psrsoft

Installation of psrsoft just requires untaring the tarball:

http://www.atnf.csiro.au/people/Michael.Keith/psrsoft/psrsoft.tar.gz

you will need to copy psrsoft/config/profile.example to psrsoft/config/profile and modify it if the default settings are not useful. The directory created when untaring will be known as $PSRSOFT_DIR, however you do not have to set this variable if you do not move the relative path of the psrsoft executable.

Future plans and known bugs

PSRsoft currently only supports the `testing’ tree of packages. These packages are updated every time the package maintainer makes a change, and therefore are untested and may change often. Most of these packages should build however.

In future there will be three trees of packages:

  • The stable tree will contain packages that have been tested on a range of archetectures, and therefore will update much more slowly than the testing packages.
  • The testing tree will again contain packages that have been built on at least one architecture, and are likely to be useable for most people.
  • The devel tree will download directly from the package version control, providing the latest version (and developer tools). These packages may not build at all!

I may implement portage style “USE” keywords, if I have time!

October 27, 2009, at 01:12 AM by mkeith -
Added lines 90-101:

Automatic Configuration

It is possible to start a new shell configured for use with psrsoft using the $PSRSOFT_DIR/bin/psrsoft-shell command

  • psrsoft-shell starts a new bash shell with the psrsoft environment loaded.
  • psrsoft-shell --tcsh starts a new tcsh shell with the psrsoft environment loaded.
  • Adding --fresh to either unloads most of the current environment, allowing for a “pure” psrsoft environment.

This is useful if you sometimes want to use the psrsoft installed package, but mostly want to use some other set of software. If you want to use the psrsoft packages always, read the manual configuration section below and add the appropriate parts to your login scripts.

Changed lines 121-129 from:

Automatic Configuration

It is possible to start a new shell configured for use with psrsoft using the $PSRSOFT_DIR/bin/psrsoft-shell command

  • psrsoft-shell starts a new bash shell with the psrsoft environment loaded.
  • psrsoft-shell --tcsh starts a new tcsh shell with the psrsoft environment loaded.
  • Adding --fresh to either unloads most of the current environment, allowing for a “pure” psrsoft environment.

to:
October 27, 2009, at 01:10 AM by mkeith -
Changed line 67 from:
  • |R | A package that is currently installed, and being re-built with the same version (see —rebuild option).
to:
  • |R | A package that is currently installed, and being re-built with the same version (see --rebuild option).
Changed lines 80-81 from:

Packages marked as optional can be skipped by re-running the psrsoft command with a —no-package option. E.g.:

to:

Packages marked as optional can be skipped by re-running the psrsoft command with a --no-package option. E.g.:

October 27, 2009, at 01:08 AM by mkeith -
Changed lines 22-25 from:

$PSRSOFT_DIR/bin/psrsoft —search

You can optionally specify a regular expression to search for. (e.g. —search “psr.*” would find all packages starting with ‘psr’)

to:

$PSRSOFT_DIR/bin/psrsoft --search

You can optionally specify a regular expression to search for. (e.g. --search “psr.*” would find all packages starting with ‘psr’)

Changed lines 82-83 from:
$PSRSOFT_DIR/bin/psrsoft psrchive —no-cfitsio
to:
$PSRSOFT_DIR/bin/psrsoft psrchive --no-cfitsio
Changed lines 114-117 from:
  • psrsoft-shell —tcsh starts a new tcsh shell with the psrsoft environment loaded.
  • Adding —fresh to either unloads most of the current environment, allowing for a “pure” psrsoft environment.

to:
  • psrsoft-shell --tcsh starts a new tcsh shell with the psrsoft environment loaded.
  • Adding --fresh to either unloads most of the current environment, allowing for a “pure” psrsoft environment.

October 27, 2009, at 01:06 AM by mkeith -
Changed lines 111-116 from:

It is possible to start a new shell configured for use with psrsoft using the $PSRSOFT_DIR/bin/psrsoft-bash command

psrsoft-bash starts a new bash shell with the psrsoft environment loaded. psrsoft-bash —fresh unloads most of the current environment, allowing for a “pure” psrsoft environment.

At the moment, I can’t find a way to do the same for tcsh@ (which is rather less flexible than bash). An environment file in $PSRSOFT_DIR/config/psrsoft.tcshrc@@ may be sourced which should configure most things correctly.

to:

It is possible to start a new shell configured for use with psrsoft using the $PSRSOFT_DIR/bin/psrsoft-shell command

  • psrsoft-shell starts a new bash shell with the psrsoft environment loaded.
  • psrsoft-shell —tcsh starts a new tcsh shell with the psrsoft environment loaded.
  • Adding —fresh to either unloads most of the current environment, allowing for a “pure” psrsoft environment.

October 26, 2009, at 01:15 AM by mkeith -
Changed lines 114-116 from:

psrsoft-bash —fresh unloads most of the current environment, allowing for a “pure” psrsoft environment.

to:

psrsoft-bash —fresh unloads most of the current environment, allowing for a “pure” psrsoft environment.

At the moment, I can’t find a way to do the same for tcsh@ (which is rather less flexible than bash). An environment file in $PSRSOFT_DIR/config/psrsoft.tcshrc@@ may be sourced which should configure most things correctly.

October 26, 2009, at 01:13 AM by mkeith -
Changed lines 111-114 from:

Soon, automatic configuration options will be avaliable

to:

It is possible to start a new shell configured for use with psrsoft using the $PSRSOFT_DIR/bin/psrsoft-bash command

psrsoft-bash starts a new bash shell with the psrsoft environment loaded. psrsoft-bash —fresh unloads most of the current environment, allowing for a “pure” psrsoft environment.

October 25, 2009, at 11:54 PM by mkeith -
Changed lines 86-111 from:

Currently this does not modify the package build command, so if you already have the package installed then it will likely still be detected by the build script.

to:

Currently this does not modify the package build command, so if you already have the package installed then it will likely still be detected by the build script.

Using software installed by psrsoft

Manualy configuring

Psrsoft installs all software into $PSRSOFT_USR. Binaries go in bin/, libraries in lib/, etc. Assorted config files and auxiliary code are placed into share/.

Some packages work best with some extra environment variables set, if so, a file with the package name is placed in $PSRSOFT_USR/var/psrsoft/env/bash (or env/tcsh for tcsh).

Therefore to quickly get all environment variables, source each of the packages in that directory (e.g. add something like this to your login script)

bash:

for env in $PSRSOFT_USR/var/psrsoft/env/bash/* ; do . $env ; done

tcsh:

foreach env ( $PSRSOFT_USR/var/psrsoft/env/tcsh/* )
source $env
end

You will also want to add $PSRSOFT_USR/bin to your $PATH variable.

Automatic Configuration

Soon, automatic configuration options will be avaliable

October 25, 2009, at 06:33 PM by mkeith -
Changed lines 78-86 from:

Optional Packages

to:

Optional Packages

Packages marked as optional can be skipped by re-running the psrsoft command with a —no-package option. E.g.:

$PSRSOFT_DIR/bin/psrsoft psrchive —no-cfitsio

Will build psrchive without cfitsio (unless it is already installed).

Currently this does not modify the package build command, so if you already have the package installed then it will likely still be detected by the build script.

October 23, 2009, at 02:06 AM by mkeith -
Changed lines 64-65 from:

Possible options are:

to:

Possible options for the first flag are:

Added line 68:
  • |D | A package that is currently installed, and being re-built with the same version because it is “dirty” (that is, dependencies have changed since last install).
Changed lines 73-77 from:
to:

Possible options for the second flag are:

  • | O| Package is optional
  • | X| Package is optional, and will not be installed
  • | -| A package that is optional, has been selected not to be installed, but is already installed (and will not be un-installed)
October 23, 2009, at 01:56 AM by mkeith -
Added lines 30-31:

If more then one package matches the name you specifed (using a regex search), you will be prompted to specify the package you intended.

Changed lines 35-73 from:
to:

For example:

$PSRSOFT_DIR/bin/psrsoft psrchive
Getting latest package descriptions… done
Searching for package psrchive in testing tree
1) psrchive 12.1+

Analysing dependancies


Packages to be installed…
===========================

 1          pgplot |R | (5.2 Tuesday, 6 October 2009 14:47)  replaces [5.2 Tuesday, 6 October 2009 14:47]
 2            fftw |R | (3.1.2 Tuesday, 6 October 2009 14:47)  replaces [3.1.2 Tuesday, 6 October 2009 14:47]
 3          tempo2 |DO| (unk Tuesday, 6 October 2009 13:07)  Dirty
 4           tempo |NO| (11.010 Friday, 18 September 2009 21:33)
 5         cfitsio |NO| (3090 Tuesday, 6 October 2009 14:47)
 6          psrxml |NO| (1.05 Tuesday, 6 October 2009 14:47)
 7        psrchive |N | (12.1+ Tuesday, 6 October 2009 14:47)
Install 7 packages into /data/RUBICON_2/kei041/dev/psrsoft/usr? (y/n)

Note that the system lists 7 packages to be installed. The list of packages shows (in order), the build sequence number, the package name, the build flags (see below), the version to install, and if the package replaces any currently installed package.

Build Status Flags

The install list shows between the ‘|’ characters several possible build flags, just to let you know what’s going on.

Possible options are:

  • |N | A new package that is currently not installed
  • |R | A package that is currently installed, and being re-built with the same version (see —rebuild option).
  • |U | A package that is currently installed, and a new updated version is being installed
  • |W | A package that is currently installed, and a older version is being installed (This should never happen, but included for future use)

Optional Packages

October 23, 2009, at 01:27 AM by mkeith -
Added lines 1-33:
edit · history · print
Page last modified on March 05, 2016, at 02:23 PM