source: Sophya/trunk/SophyaLib/BuildMgr/README@ 3062

Last change on this file since 3062 was 3036, checked in by ansari, 19 years ago

Ajout (C)IN2P3+DAPNIA ds README , Reza 18/7/2006

File size: 5.2 KB
Line 
1======================== BuildMgr Module ======================
2== Code Management scripts / top level makefile for SOPHYA ====
3===============================================================
4 (C) LAL-IN2P3/CNRS 1998-2006
5 (C) DAPNIA/CEA 1998-2006
6===============================================================
7
8### README file for SOPHYA Build makefiles and scripts (BuildMgr) ####
9See http://www.sophya.org and the SOPHYA overview manual for more information
10
11
12A/ Software build and installation :
13====================================
14
151/ Configuration:
16csh> cd BuildMgr/
17csh> ./configure -h
18# configure with c-fitsio, installed in /usr/local/include and /usr/local/lib,
19# with g++ as cxx compiler. The target installation directory is $HOME/SObjs/
20# To get c-fitsio : http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html
21
22
23# Create the target installation directory (if not already existing)
24csh> mkdir ~/SObjs
25# Define the SOPHYABASE environment variable
26csh> setenv $SOPHYABASE ~/SObjs/
27# run the configure script
28csh> ./configure -sbase $SOPHYABASE -scxx g++ -extp /usr/local
29 -noext fftw -noext lapack -noext astro -noext minuit
30
312/ compile and build the libraries
32csh> make libs extlibs slb slbext
33# Or if you want to compile also PI (need Motif or Lesstif)
34csh> make all slball
35
363/ Compile some test and utility programs
37csh> make basetests prgutil
38# To compile piapp
39csh> make piapp
40
414/ You can clean the .o files, if you are not going to recompile after
42changing or update source files
43csh> make cleanobj
44
455/ List of Makefile targets
46 > libs extlibs PI = all
47 > slb slbext slbpi = slball (OR = slballinone)
48 > clean cleanobj
49 > tests prgutil prgmap progpi = prgall
50 > basetests piapp (ou progpi) pmixer
51
526/ Currently tested on the following platform/compilers
53-------------------------------------------------------------------------
54Linux 2.4 , 2.6 g++ 3.x 4.0 (GNU g++ compiler)
55MacOSX/Darwin 10.3/104 g++ 3.3,4.0 (Apple/GNU compiler)
56Linux 2.4 icc 9.0 (Intel compiler)
57HP/Compaq/DEC OSF 5.x cxx 6.x (native Tru64/OSF compiler)
58SGI IRIX64 CC 7.30 (IRIX-64 native compiler)
59IBM AIX xlC 7.x (AIX native compiler)
60-------------------------------------------------------------------------
61
62B/ Code management scripts
63===========================
64
651/ configure : c-shell script configuration
66 ./configure -sbase /tmp/sbase/ -scxx cxx -extp /usr/local/extlibs\
67
682/ mkmflib : c-shell script for creation of library module Makefile / smakefile
69 ./mkmflib -sbase /tmp/sbase SUtils
70
713/ mkmfprog : c-shell script for creation of programs module Makefile / smakefile
72 ./mkmfprog -sbase /tmp/sbase SUtils
73
744/ domkmf : c-shell script : calls mkmflib for all modules
75 ./domkmf -sbase /tmp/sbase
76
775/ chk_cvs.csh : Compares/updates modules using CVS
78 Usage: chk_cvs.csh [-a] [-all] [-nos] [-u] [r]
79 chk_cvs.csh -h for help
80
816/ Makefile/smakefile : Top level makefile for library and program modules
82
837/ Configuration files used to generate sophyamake.inc
84 - Linux_g++_make.inc: Linux with g++ compiler
85 - OSF1_cxx_make.inc: HP/Compaq/Digital Tru64 with native cxx compiler
86 - Darwin_g++_make.inc: Apple/MacOSX with the native GNU compiler
87 - IRIX64_CC_make.inc: SGI IRIX-64 system and native CC compiler
88 - AIX_xlC_make.inc : IBM AIX system and compiler xlC
89 - Linux_icc_make.inc : Linux with Intel compiler
90
91
92C/ List of modules SOPHYA and PI modules
93========================================
94
95* BuildMgr/ Scripts for code management and makefiles
96* BaseTools/ General architecture support classes
97* TArray/ Template numerical arrays, vectors and matrices
98* HiStats/ Histogram-ming and data set handling classes
99* NTools/ Some standard numerical analysis tools
100* SUtils/ Utility classes and functions
101* SysTools/ Interface to various services provided by the operating system
102* SkyMap/ Local and full sky maps
103* SkyT/ Spectral emission and detector frequency response modelling
104* Samba/ Miscellaneous classes (TOD analysis, Spherical Harmonics, ...)
105
106Modules using external library
107* FitsIOServer/ FITS format file I/O (interface with cfitsio library)
108* LinAlg/ Interface with Lapack linear algebra package
109* IFFTW/ Interface with FFTW package
110* XAstroPack/ Interface with astronomy library (XEphem)
111 The XEphem library code is in the SOPHYA module XephemAstroLib
112* MinuitAdapt/ Inteface with the CERN Minuit minimization routines
113
114* XephemAstroLib/ The code of the external XEphem astronomy library, extracted from XEphem
115
116Modules with main programs
117* Tests/ Simple test programs
118
119* PMixer/ skymixer and utility main programs
120
121* PrgUtil/ Utility main programs
122
123* PrgMap/ Utility main programs for sky map manipulation
124
125PI/piapp GUI and interactive analysis framework
126
127* PI/ GUI class library and application framework
128* PIGcont/ PI contour drawer
129* PIext/ specific GUI objects for SOPHYA classes and piapp framework
130* ProgPI/ interactive analysis tool using SOPHYA, PI PIGCont and PIext
131
Note: See TracBrowser for help on using the repository browser.