wiki:Get

Version 2 (modified by trac, 16 years ago) (diff)

--

Get SUPERBIB

Create SUPERBIB environment

To simplify the explanation, we suppose that we install SUPERBIB in your ${HOME}. We need to create 2 directories:

  • ${HOME}/SUPERBIB_DIR that will contain the source files of SUPERBIB. It should not be modified by the user to simplify later updates.

  $ cd ${HOME}
  $ mkdir My_IDL
      

Get SUPERBIB files

If you work at IDRIS, IPSL or LOCEAN

SUPERBIB is already installed at

  • IDRIS, on rhodes: /home/rech/eee/reee217/SUPERBIB_DIR
  • IPSL: /home/smlod/SUPERBIB_DIR
  • LOCEAN: /usr/home/smasson/SUPERBIB_DIR

If you can access one of theses directories, there is no need to re-install SUPERBIB again! In that case, you only have to link ${HOME}/SUPERBIB_DIR to the appropriate directory:

IDRIS

  $ ln -s /home/rech/eee/reee217/SUPERBIB_DIR ${HOME}/SUPERBIB_DIR
  

IPSL

  $ ln -s /home/smlod/SUPERBIB_DIR ${HOME}/SUPERBIB_DIR
  

LOCEAN

  $ ln -s /usr/home/smasson/SUPERBIB_DIR ${HOME}/SUPERBIB_DIR
  

If Subversion (svn) is installed on your machine

Regular users

The complete latest revision (source + tests data files: X Mb) can be checked out with the following command executed in your ${HOME}:

  $ svn checkout http://forge.ipsl.jussieu.fr/superbib/svn/trunk/ SUPERBIB_DIR

The latest revision of the source files (X Mb) can be checked out with the following command:

  $ svn checkout http://forge.ipsl.jussieu.fr/superbib/svn/trunk/SRC SUPERBIB_DIR/SRC

The latest revision of the NetCDF data files (X Mb) used by the test programs can be checked out with the following command:

  $ svn checkout http://forge.ipsl.jussieu.fr/superbib/svn/trunk/DATA SUPERBIB_DIR/DATA

Contributors

Contributors should better use the following command (and replace login by their own login):

  $ svn checkout svn+ssh://login@forge.ipsl.jussieu.fr/ipsl/forge/projets/superbib/svn/trunk/ SUPERBIB_DIR

Get SUPERBIB from a tar file

Get SUPERBIB source files (X Mb)

Create your ${HOME}/SUPERBIB_DIR directory 


  $ cd ${HOME}
  $ mkdir SUPERBIB_DIR
  $ cd SUPERBIB_DIR
  


 and download it the latest version of the sources tar file: SUPERBIB_SRC_YYYYMMDD.tar.gz (X Mb).

This tar.gz file could also be downloaded with wget or curl

wget

  $ wget http://forge.ipsl.jussieu.fr/superbib/download/SUPERBIB_SRC_YYYYMMDD.tar.gz
  

curl

  $ curl -O http://forge.ipsl.jussieu.fr/superbib/download/SUPERBIB_SRC_YYYYMMDD.tar.gz
  

Untar the file

  $ cd ${HOME}/SUPERBIB_DIR
  $ tar xvfz SUPERBIB_SRC_YYYYMMDD.tar.gz
  $ rm SUPERBIB_SRC_YYYYMMDD.tar.gz

Get SUPERBIB tests data files (X Mb)

If you want to use the tests programs, you need to download the data tests files (SUPERBIB_DATA_YYYYMMDD.tar.gz), you may download theses files in

  • ${HOME}/My_IDL. This is the easiest solution but it could be inconvenient if your ${HOME} disk space is limited.

  $ cd ${HOME}
  $ mkdir CHOSEN_DIR
  $ cd CHOSEN_DIR

Download SUPERBIB_DATA_YYYYMMDD.tar.gz (X Mb) or with wget or curl 


wget

  $ wget http://forge.ipsl.jussieu.fr/superbib/download/SUPERBIB_DATA_YYYYMMDD.tar.gz
   

curl

  $ curl -O http://forge.ipsl.jussieu.fr/superbib/download/SUPERBIB_DATA_YYYYMMDD.tar.gz
  

After this

You are now ready to do your First steps with SUPERBIB?.