Commit baf8b2078d5f0c50d05cf73833c142b518a0033d
1 parent
1e57632c
Update change log and README file
Showing
3 changed files
with
46 additions
and
40 deletions
ChangeLog
NEWS
| 1 | 1 | New Features and Important Changes in ctools 2.0.0 |
| 2 | 2 | |
| 3 | -24 June 2021 | |
| 3 | +25 June 2021 | |
| 4 | 4 | |
| 5 | 5 | |
| 6 | 6 | Introduction |
| ... | ... | @@ -155,7 +155,10 @@ model parameters (#3562). |
| 155 | 155 | |
| 156 | 156 | ctulimit - Compute upper limit |
| 157 | 157 | ------------------------------ |
| 158 | -None | |
| 158 | +The best log-likelihood is recomputed for a fixed best parameter value to | |
| 159 | +make sure that the value is compliant with the values obtained by the bisection | |
| 160 | +algorithm. The bisection iterations are stopped with a warning if the parameter | |
| 161 | +interval becomes tiny. | |
| 159 | 162 | |
| 160 | 163 | |
| 161 | 164 | support - Support classes | ... | ... |
README.md
| 1 | 1 | ctools information |
| 2 | 2 | ================== |
| 3 | -* Version: 2.0.0.dev (24 June 2021) | |
| 3 | +* Version: 2.0.0.dev (25 June 2021) | |
| 4 | 4 | * GammaLib dependency: 2.0.0.dev |
| 5 | 5 | |
| 6 | 6 | [](https://cta-jenkins.irap.omp.eu/job/ctools-integrate-os/) |
| ... | ... | @@ -125,7 +125,7 @@ ctools require GammaLib. Please refer to http://cta.irap.omp.eu/gammalib |
| 125 | 125 | for instructions about how to install GammaLib. |
| 126 | 126 | |
| 127 | 127 | Once GammaLib is properly installed, make sure that you added the setup |
| 128 | -script to your .bashrc or $HOME/.profile script: | |
| 128 | +script to your `.bashrc` or `$HOME/.profile` script: | |
| 129 | 129 | |
| 130 | 130 | export GAMMALIB=/usr/local/gamma |
| 131 | 131 | source $GAMMALIB/bin/gammalib-init.sh |
| ... | ... | @@ -136,7 +136,7 @@ If you use C shell or a variant then add the following to your |
| 136 | 136 | setenv GAMMALIB /usr/local/gamma |
| 137 | 137 | source $GAMMALIB/bin/gammalib-init.csh |
| 138 | 138 | |
| 139 | -If you have installed GammaLib in another directory than /usr/local/gamma, | |
| 139 | +If you have installed GammaLib in another directory than `/usr/local/gamma`, | |
| 140 | 140 | please adapt the path correspondingly. |
| 141 | 141 | |
| 142 | 142 | If you really insist, you may install ctools in a directory different to |
| ... | ... | @@ -150,38 +150,38 @@ The easiest is to install ctools via conda. This also takes care of the |
| 150 | 150 | installation of GammaLib. Assuming that you have installed anaconda, type |
| 151 | 151 | the following: |
| 152 | 152 | |
| 153 | - $ conda config --append channels conda-forge | |
| 154 | - $ conda config --append channels cta-observatory | |
| 155 | - $ conda install ctools | |
| 153 | + $ conda config --append channels conda-forge | |
| 154 | + $ conda config --append channels cta-observatory | |
| 155 | + $ conda install ctools | |
| 156 | 156 | |
| 157 | 157 | |
| 158 | 158 | Linux Installation |
| 159 | 159 | ================== |
| 160 | 160 | To build and install ctools, simply type the following: |
| 161 | 161 | |
| 162 | - $ ./configure | |
| 163 | - $ make | |
| 164 | - $ make check | |
| 165 | - $ make install | |
| 162 | + $ ./configure | |
| 163 | + $ make | |
| 164 | + $ make check | |
| 165 | + $ make install | |
| 166 | 166 | |
| 167 | 167 | If the folder does not contain any `configure` file, please run |
| 168 | 168 | |
| 169 | - $ ./autogen.sh | |
| 169 | + $ ./autogen.sh | |
| 170 | 170 | |
| 171 | 171 | before invoking `configure`. |
| 172 | 172 | |
| 173 | -By default ctools installs itself in /usr/local/gamma. If you need to | |
| 173 | +By default ctools installs itself in `/usr/local/gamma`. If you need to | |
| 174 | 174 | install ctools in a different location or in your home directory, use |
| 175 | -the --prefix option to ./configure. For example: | |
| 175 | +the `--prefix` option to `./configure`. For example: | |
| 176 | 176 | |
| 177 | - $ ./configure --prefix=/home/yourname/projects | |
| 178 | - $ make | |
| 179 | - $ make check | |
| 180 | - $ make install | |
| 177 | + $ ./configure --prefix=/home/yourname/projects | |
| 178 | + $ make | |
| 179 | + $ make check | |
| 180 | + $ make install | |
| 181 | 181 | |
| 182 | 182 | The file INSTALL details more about using configure. Also try |
| 183 | 183 | |
| 184 | - $ ./configure --help. | |
| 184 | + $ ./configure --help. | |
| 185 | 185 | |
| 186 | 186 | The `make check` command will run an extensive unit test to verify that |
| 187 | 187 | ctools was correctly built. Make sure that all tests were successful. |
| ... | ... | @@ -189,55 +189,57 @@ ctools was correctly built. Make sure that all tests were successful. |
| 189 | 189 | |
| 190 | 190 | Macintosh OS Installation |
| 191 | 191 | ========================== |
| 192 | -ctools is known to work on various flavors of Mac OS. To cope with | |
| 193 | -different system versions and architectures, there are two Mac | |
| 194 | -specific configure options: | |
| 192 | +ctools builds and installs seamlessly on all Mac OS starting from at least Mac | |
| 193 | +OS 10.6. | |
| 195 | 194 | |
| 196 | - $ ./configure --enable-universalsdk[=PATH] | |
| 195 | +On older systems you may use Mac specific configure options: | |
| 196 | + | |
| 197 | + $ ./configure --enable-universalsdk[=PATH] | |
| 197 | 198 | |
| 198 | 199 | creates a universal build of ctools. The optional argument specifies |
| 199 | 200 | which MacOS SDK should be used to perform the build. This defaults to |
| 200 | -"/Developer/SDKs/MacOSX.10.4u.sdk". Specify "/" when building on a 10.5 | |
| 201 | +`/Developer/SDKs/MacOSX.10.4u.sdk`. Specify `/` when building on a 10.5 | |
| 201 | 202 | system or higher, especially when building 64-bit code. |
| 202 | 203 | |
| 203 | - $ ./configure --with-univeral-archs=VALUE | |
| 204 | + $ ./configure --with-univeral-archs=VALUE | |
| 204 | 205 | |
| 205 | 206 | specifies the kind of universal build that should be created. Possible |
| 206 | -values are: "32-bit", "3-way", "intel" or "all". By default, a "32-bit" | |
| 207 | +values are: `32-bit`, `3-way`, `intel` or `all`. By default, a `32-bit` | |
| 207 | 208 | build will be made. This option is only valid when |
| 208 | -"--enable-universalsdk" is specified. | |
| 209 | +`--enable-universalsdk` is specified. | |
| 209 | 210 | |
| 210 | 211 | These options are in particular needed if your Python architecture differs |
| 211 | 212 | from the default architecture of your system. To examine the Python |
| 212 | 213 | architecture you may type: |
| 213 | 214 | |
| 214 | - $ file `which python` | |
| 215 | + $ file `which python` | |
| 215 | 216 | |
| 216 | 217 | which will return the architectures that are compiled in the Mach-0 |
| 217 | 218 | executable: |
| 218 | 219 | |
| 219 | - i386 32-bit intel | |
| 220 | - ppc 32-bit powerpc | |
| 221 | - ppc64 64-bit powerpc | |
| 222 | - x86_64 64-bit intel | |
| 220 | + i386 32-bit intel | |
| 221 | + ppc 32-bit powerpc | |
| 222 | + ppc64 64-bit powerpc | |
| 223 | + x86_64 64-bit intel | |
| 223 | 224 | |
| 224 | 225 | If Python is 32-bit (ppc, i386) but the compiler produces by default |
| 225 | 226 | 64-bit code (ppc64, x86_64), the Python module will not work. Using |
| 226 | 227 | |
| 227 | - $ ./configure --enable-universalsdk=/ | |
| 228 | + $ ./configure --enable-universalsdk=/ | |
| 228 | 229 | |
| 229 | 230 | will force a universal 32-bit build which creates code for ppc and |
| 230 | 231 | i386. If on the other hand Python is 64-bit (ppc64, x86_64) but the |
| 231 | 232 | compiler produces by default 32-bit code (ppc, i386), the option |
| 232 | 233 | |
| 233 | - $ ./configure --enable-universalsdk=/ --with-univeral-archs=3-way | |
| 234 | + $ ./configure --enable-universalsdk=/ --with-univeral-archs=3-way | |
| 234 | 235 | |
| 235 | 236 | will generate a universal build which contains 32-bit and 64-bit code. |
| 236 | 237 | |
| 237 | 238 | |
| 238 | 239 | BSD Installation |
| 239 | 240 | ================ |
| 240 | -ctools has been tested on FreeBSD successfully. Follow the Linux | |
| 241 | +ctools has been successfully installed on FreeBSD. Make sure that you | |
| 242 | +use `gmake` for building of the software. Otherwise follow the Linux | |
| 241 | 243 | installation instructions above. |
| 242 | 244 | |
| 243 | 245 | |
| ... | ... | @@ -257,7 +259,7 @@ Testing |
| 257 | 259 | ======= |
| 258 | 260 | If you want to test ctools before installation, type the following: |
| 259 | 261 | |
| 260 | - $ make check | |
| 262 | + $ make check | |
| 261 | 263 | |
| 262 | 264 | |
| 263 | 265 | Setting up your environment |
| ... | ... | @@ -291,7 +293,7 @@ The doc directory (usually at /usr/local/gamma/share/doc/ctools) |
| 291 | 293 | contains the most recent set of updated documentation for this release. |
| 292 | 294 | A detailed documentation can be created by typing: |
| 293 | 295 | |
| 294 | - $ make doc | |
| 296 | + $ make doc | |
| 295 | 297 | |
| 296 | 298 | before installing the library. Two types of documentation exist: |
| 297 | 299 | * code documentation |
| ... | ... | @@ -325,7 +327,7 @@ problems with global symbols in the shared GammaLib library that prevent |
| 325 | 327 | the model registry to work correctly. Furthermore, GammaLib is not able |
| 326 | 328 | to catch its own exceptions, which prevents the FITS interface to work |
| 327 | 329 | correctly. Possible it will work using gcc on Solaris, yet this has not |
| 328 | -so far been tested. | |
| 330 | +been tested so far. | |
| 329 | 331 | |
| 330 | 332 | |
| 331 | 333 | Contact | ... | ... |