| [1980] | 1 | # ####################### ArchTOIPipe ########################### | 
|---|
|  | 2 | # ##### LAL (Orsay) / IN2P3-CNRS  DAPNIA/SPP (Saclay) / CEA ##### | 
|---|
|  | 3 | # ############################################################### | 
|---|
|  | 4 |  | 
|---|
|  | 5 |  | 
|---|
|  | 6 | List of modules | 
|---|
|  | 7 | ---------------- | 
|---|
|  | 8 |  | 
|---|
|  | 9 | * Kernel : ArchTOIPipe architecture definition | 
|---|
|  | 10 | * Processors : Basic processors/ independent of SOPHYA library | 
|---|
|  | 11 | * ProcWSophya : Procssors using SOPHYA library | 
|---|
|  | 12 | * TestPipes :  Simple assembled pipe test programs | 
|---|
|  | 13 |  | 
|---|
|  | 14 | Build/Install instructions | 
|---|
|  | 15 | -------------------------- | 
|---|
|  | 16 |  | 
|---|
|  | 17 | Two different procedures can be used to build ArchTOIPipe | 
|---|
|  | 18 |  | 
|---|
|  | 19 | 1/ using configure | 
|---|
|  | 20 |  | 
|---|
|  | 21 | - Create a temporay build directory | 
|---|
|  | 22 | csh> mkdir archtmp | 
|---|
|  | 23 | csh> cd archtmp/ | 
|---|
|  | 24 | - Run the configure script | 
|---|
|  | 25 | csh> $ARCHSRC/configure --help | 
|---|
|  | 26 | - To build with sophya | 
|---|
|  | 27 | csh> ~/ArchTOIPipe/configure --with-sophya --prefix=/usr/local/ArchTOI | 
|---|
|  | 28 | csh> make | 
|---|
|  | 29 |  | 
|---|
|  | 30 |  | 
|---|
|  | 31 | 2/ Using the scripts and makefiles suitable to be used with SOPHYA | 
|---|
|  | 32 | (**** GNU make program should be used ****) | 
|---|
|  | 33 | The SOPHYA environment should already be setup (DPCBASEREP) | 
|---|
|  | 34 |  | 
|---|
|  | 35 | - Define the ArchTOIPipe build directory | 
|---|
|  | 36 | csh> setenv ARCHPDEVREP /usr/local/Pipe | 
|---|
|  | 37 | - Create the build directory tree | 
|---|
|  | 38 | csh> ./crerep_pipe $ARCHPDEVREP | 
|---|
|  | 39 | - Generate the libray module makefiles | 
|---|
|  | 40 | csh> make -f SMakefile mkmf | 
|---|
|  | 41 | - Build the libraries (libKernel.a libProcessors.a libProcWSophya.a | 
|---|
|  | 42 | csh> make -f SMakefile libs | 
|---|
|  | 43 | - Build the shared libraries (libpipe.so) | 
|---|
|  | 44 | csh> make -f SMakefile slb | 
|---|
|  | 45 | - Build some of the test programs | 
|---|
|  | 46 | csh> cd TestPipes | 
|---|
|  | 47 | csh> make -f SMakefile mesovh simtst | 
|---|
|  | 48 |  | 
|---|
|  | 49 |  | 
|---|
|  | 50 |  | 
|---|
|  | 51 |  | 
|---|
|  | 52 | NOTE:  To run the programs built with shared libraries, the LD_LIBRARY_PATH | 
|---|
|  | 53 | -----  variable should be set. | 
|---|