# ####################### ArchTOIPipe ###########################
# ##### LAL (Orsay) / IN2P3-CNRS  DAPNIA/SPP (Saclay) / CEA #####
# ###############################################################


List of modules
----------------

   * Kernel : ArchTOIPipe architecture definition
   * Processors : Basic processors/ independent of SOPHYA library
   * ProcWSophya : Procssors using SOPHYA library
   * TestPipes :  Simple assembled pipe test programs

Build/Install instructions
--------------------------

   Two different procedures can be used to build ArchTOIPipe

   1/ using configure

      - Create a temporay build directory
      csh> mkdir archtmp
      csh> cd archtmp/
      - Run the configure script 
      csh> $ARCHSRC/configure --help 
      - To build with sophya   
      csh> ~/ArchTOIPipe/configure --with-sophya --prefix=/usr/local/ArchTOI
      csh> make


   2/ Using the scripts and makefiles suitable to be used with SOPHYA
      (**** GNU make program should be used ****)
      The SOPHYA environment should already be setup (DPCBASEREP)
      
      - Define the ArchTOIPipe build directory
      csh> setenv ARCHPDEVREP /usr/local/Pipe
      - Create the build directory tree
      csh> ./crerep_pipe $ARCHPDEVREP
      - Generate the libray module makefiles
      csh> make -f SMakefile mkmf
      - Build the libraries (libKernel.a libProcessors.a libProcWSophya.a
      csh> make -f SMakefile libs
      - Build the shared libraries (libpipe.so)
      csh> make -f SMakefile slb
      - Build some of the test programs
      csh> cd TestPipes
      csh> make -f SMakefile mesovh simtst




NOTE:  To run the programs built with shared libraries, the LD_LIBRARY_PATH 
-----  variable should be set.
