You are here: Data Processing > L2 > Available Software > PIOLib > PIOLIB installation
May 2012
MTWTFSS
30123456
78910111213
14151617181920
21222324252627
28293031123
PIOLIB installation

Install PIOlib

There are two ways to locally install the PIOlib:


* you want to use CMT. It is better to use your local CMT to get and compile the lastest PIOlib version. If you already have a CMT compatible with the L2 environment, You can use the PIOMkDistrib.csh script to build a distrib for your platform. Then, to complete the installation, move to step 1 of the next section.


* you do not want to use CMT. Get from the attached list the appropriate ready to use (already compiled) library.

Download : Get the corresponding distrib for your platform

1 - Create a directory where the PIOlib will be stored. For instance:

> mkdir PIODIR

2 - Copy the tar file inside this directory.

> cp PioDistrib_Linux-i686.tar.gz PIODIR/.

3 - Unzip and untar the file :

> cd PIODIR

> gunzip PioDistrib_Linux-i686.tar.gz

> tar -xvf PioDistrib_Linux-i686.tar

4 - Run the INSTALL script to compute the absolute PATH

> ./INSTALL

5 - The PIOLIB is now installed. You just need to source one of the two files piosetup.csh or piosetup.sh before you can use it. If you use the piosetupimo.csh the attached IMO file is used.

6 - To check if your local installation works, source the setup file:

> source piosetup.csh

7 - Compile the example

> cd examples

> make

8 - Run it :

> ./PIOExample /tmp/testpio

9 - For fortran do:

> make PIOExampleF

> ./PIOExampleF /tmp/testpio

   
last update for this page: 2005-04-11 16:57:33
Page maintained by: Jean-Marc Delouis