Commit 611af0c4a3489589e405e3f5d1257000e126efe7
1 parent
320d2e9e
Update for version 0.5.1.
Showing
4 changed files
with
56 additions
and
23 deletions
ChangeLog
| 1 | +2012-09-18 Juergen Knoedlseder <jurgen.knodlseder@irap.omp.eu> | |
| 2 | + | |
| 3 | + * Bug fix version 0.5.1 released | |
| 4 | + ================================ | |
| 5 | + | |
| 6 | + clang++ compiler precedence is only taken for Mac OS X >= 10.7 | |
| 7 | + Omit Python checks if Python bindings are disabled | |
| 8 | + Enhance OpenMP configuration on Darwin | |
| 9 | + Export MACOSX_DEPLOYMENT_TARGET only for --enable-universalsdk | |
| 10 | + Improve Python bindings configuration | |
| 11 | + Add TEST_ENV_DIR to load library path | |
| 12 | + | |
| 1 | 13 | 2012-09-14 Juergen Knoedlseder <jurgen.knodlseder@irap.omp.eu> |
| 2 | 14 | |
| 3 | 15 | * Version 0.5.0 released | ... | ... |
NEWS
| 1 | -New Features and Important Changes in ctools 00-05-00 | |
| 1 | +New Features and Important Changes in ctools 00-05-01 | |
| 2 | 2 | |
| 3 | 3 | Author(s) : Juergen Knoedlseder |
| 4 | 4 | |
| 5 | -September 14th, 2012 | |
| 5 | +September 18th, 2012 | |
| 6 | 6 | |
| 7 | 7 | |
| 8 | 8 | 1. Introduction |
| ... | ... | @@ -13,9 +13,42 @@ important changes made since the last release of ctools. |
| 13 | 13 | |
| 14 | 14 | 2. Configuration |
| 15 | 15 | ----------------- |
| 16 | -Added OpenMP support to allow for code parallelization. If available, | |
| 17 | -OpenMP is enabled by default. OpenMP support may be disabled using | |
| 18 | -the --disable-openmp flag. | |
| 16 | +The clang++ compiler takes now only precedence over the g++ compiler | |
| 17 | +if the system on which compilation is performed is Mac OS X 10.7 or | |
| 18 | +later. | |
| 19 | + | |
| 20 | +If Python bindings are disabled we omit now all the Python related | |
| 21 | +checks during configuration. This includes detection of the Python | |
| 22 | +executable, detection of the swig executable, and the checks for the | |
| 23 | +presence of the Python wrapper files. | |
| 24 | + | |
| 25 | +The Apple gcc compiler requires the gomp_thread_attr global to be | |
| 26 | +defined when OpenMP functions are called without having any OpenMP | |
| 27 | +section in the code. This specific requirement is now detected in | |
| 28 | +the configure script using some dedicated test code, and the compile | |
| 29 | +definition HAVE_OPENMP_DARWIN_KLUGE is set that allows inclusion of | |
| 30 | +the appropriate code when needed. | |
| 31 | + | |
| 32 | +Furthermore, the OPENMP_LIB_LDFLAGS is not set to -lgomp on Darwin | |
| 33 | +anymore as this appears not to be needed. | |
| 34 | + | |
| 35 | +The MACOSX_DEPLOYMENT_TARGET environment variable is now only exported | |
| 36 | +when the --enable-universalsdk option is specified. This solved problems | |
| 37 | +related to uncatched exceptions in unit tests. Possibly, these uncatched | |
| 38 | +exceptions were due to weak linking, a feature that exists since Mac OS | |
| 39 | +X version 10.2. By not exporting MACOSX_DEPLOYMENT_TARGET, Mac OS X | |
| 40 | +version 10.1 is assumed. | |
| 41 | + | |
| 42 | +The Python bindings configuration has been improved to handle also | |
| 43 | +the MacPorts gcc compiler on Mac OS X. Static linking during unit | |
| 44 | +testing has been removed as this is no longer needed (don't ask me why). | |
| 45 | +The double compilation for unit check has also be removed. A static | |
| 46 | +link is used instead that allows adding of the wrapper directory to | |
| 47 | +the PYTHONPATH. | |
| 48 | + | |
| 49 | +The TEST_ENV_DIR environment variable is also added to the load | |
| 50 | +library path in the GammaLib setup script. This ensures the correct | |
| 51 | +loading of shared libraries in non-standard locations. | |
| 19 | 52 | |
| 20 | 53 | |
| 21 | 54 | 3. Python interface |
| ... | ... | @@ -25,15 +58,7 @@ None |
| 25 | 58 | |
| 26 | 59 | 4. ctobssim - CTA observation simulation |
| 27 | 60 | ---------------------------------------- |
| 28 | -If several observations are processed at once, ctobssim now outputs | |
| 29 | -an observation definition XML file and separate FITS files for each | |
| 30 | -observation. The filenames of the FITS files will be written to the | |
| 31 | -observation definition file. | |
| 32 | - | |
| 33 | -The executable now also benefits from OpenMP support, allowing for | |
| 34 | -parallelized simulation of events in the presence of multiple | |
| 35 | -processor cores. | |
| 36 | - | |
| 61 | +None | |
| 37 | 62 | |
| 38 | 63 | 5. ctselect - CTA event selection |
| 39 | 64 | --------------------------------- |
| ... | ... | @@ -47,11 +72,7 @@ None |
| 47 | 72 | |
| 48 | 73 | 7. ctlike - CTA maximum likelihood fitting |
| 49 | 74 | ------------------------------------------ |
| 50 | -ctlike computes now the total number of observed events and dumps | |
| 51 | -them in the log file just before it dumps the number of predicted | |
| 52 | -events. It also computes the difference between observed and | |
| 53 | -predicted events so that the difference is immediately visible. | |
| 54 | - | |
| 75 | +None | |
| 55 | 76 | |
| 56 | 77 | 8. ctskymap - CTA sky mapping |
| 57 | 78 | ----------------------------- | ... | ... |
README
| 1 | 1 | ctools information |
| 2 | 2 | ================== |
| 3 | -Version: 00-05-00 (Septemner 14th, 2012) | |
| 3 | +Version: 00-05-01 (September 18th, 2012) | |
| 4 | 4 | Author: Juergen Knodlseder (jurgen.knodlseder@irap.omp.eu) |
| 5 | -GammaLib dependency: 00-06-00 | |
| 5 | +GammaLib dependency: 00-06-02 | |
| 6 | 6 | |
| 7 | 7 | |
| 8 | 8 | License information | ... | ... |
ctools.pc.in
| ... | ... | @@ -6,9 +6,9 @@ includedir=${prefix}/include |
| 6 | 6 | Name: ctools |
| 7 | 7 | Description: CTA science analysis tools |
| 8 | 8 | URL: http://cta.irap.omp.eu/ctools |
| 9 | -Version: 0.5.0 | |
| 9 | +Version: 0.5.1 | |
| 10 | 10 | Requires: |
| 11 | -Requires.private: GammaLib >= 0.6.0 | |
| 11 | +Requires.private: GammaLib >= 0.6.2 | |
| 12 | 12 | Conflicts: |
| 13 | 13 | Cflags: -I${includedir}/ctools |
| 14 | 14 | Libs: -L${libdir} -lctools | ... | ... |