...."; # # ##### submenu structure below 4th level, activate only if applicable # $menufile = "menu4eso.php"; # # ##### Welcome Notice # $welcomenotice = "This message appears as welcome notice under the menu"; # # ##### Author and AuthorEmail to create a "Send comments to... " instead of the # ##### the standard Contact Form link. $author = "cpl-help"; $authorEmail = "cpl-help@eso.org"; # # ******************************************************************************************************************** # do not delete or change these lines include 'frame_top.php'; ?>

Download

CPL Title Graphic

Home Documentation Downloads Links Contact

Current CPL Release

The following table provides the download links for the latest offical release of the CPL source packages, the documentation, and the Esorex tool. As a convenience the source packages of the third-party libraries which were used to verify this CPL release are also available from the table below.

Previous CPL releases are available here.

Filename Description MD5
cpl-7.4.tar.gz CPL source code distribution
Note: requires CFITSIO 3.350 or later
cpl-user-manual_6.0.pdf CPL User Manual (outdated!)
cpl-reference-manual-7.4.pdf CPL Reference Manual (PDF)
The on-line version of the manual is available here.
esorex-3.13.11.tar.gz ESO Recipe Execution tool
Note: for CPL 6.5 or later use esorex 3.11 or newer.
cext-1.3.2.tar.gz CEXT library source distribution, version 1.3.2
cfitsio-4.6.3.tar.gz CFITSIO library from NASA, version 4.6.3
wcslib-8.5.tar.bz2 WCSLIB library of M. Calabretta, version 8.5
fftw-3.3.10.tar.gz FFTW library, version 3.3.10

Note: The integrity of the downloaded packages may be verified using the MD5 signatures from the table (see here for details).

Changes in CPL 7.4

CPL 7.4 adds support needed to build and use PyCPL 1.0.4 and PyHDRL 1.0. It also provides a set of pkg-config files to enable downstream project to correctly set compiler flags during their build phase. Beyond that it is primarily a maintenance release starting to cleanup a number of issues in the build system which accumulated over the past releases. A noteworthy change in the build system is the changed default for the configure option '--with-system-cext'. Previous version used by default a bundled version of the cext library. Starting with CPL 7.4 the default is to look for a separate cext installation. The previous behaviour can be enabled by setting the option to `no`. The API of CPL 7.4 is fully backwards compatible. For details on other issues addressed by this release, please refer to the NEWS file which is distributed as part of the source package.

Previous CPL Releases

Recent, previous releases of the CPL source packages can be accessed through the links in the table. In addition the third-party library packages which were used and tested with the individual releases are also available.

CPL EsoRex CFITSIO WCSLIB FFTW
7.3.2 3.13.7 4.2.0 7.12 3.3.9
7.2.3 3.13.6 3.49 7.6 3.3.9
7.2.2 3.13.6 3.49 7.6 3.3.9
7.1.4 3.13.5 3.49 7.6 3.3.9

System requirements

The CPL is supported on the Fedora and Ubuntu Linux platform and also on macOS. Only 64bit operating systems are supported!

However, CPL is known to build also on other flavors of Linux and Unix systems. It has been successfully built on other recent Linux distributions (Debian, OpenSUSE, Alma Linux and others).

The following tools are needed to build the CPL from the source distribution:

Third-party dependencies

In addition to the development tools for building the CPL, it depends on a small number of external library packages:

The recommended versions of these packages are also available from here.

Since CPL uses CFITSIO to access FITS files, it requires an appropriate CFITSIO installation to be available on the target system.

CPL delegates Fourier transforms and world coordinate system transformations to specialized libraries. As of CPL 7.1 these dependencies are, by default, required and must be present to build CPL with the default configuration. In case this functionality is not needed, or if FFTW and/or WCSLIB are not available, CPL can still be built without these dependencies, but it must be explicitly disabled using the respective configuration options.

Building CPL without FFTW and/or WCSLIB is not recommended, since Fourier transforms an world coordinate system handling are then not available in CPL!

Installing CPL

Installing CPL from source on its own is only needed if you plan to develop software making use of CPL. This, for instance, is the case for instrument projects which have to deliver a standard ESO data processing software as part of their project.

For users who are interessted in processing data using one of the ESO instrument pipeline it is not necessary to install CPL and its dependencies from the source packages provided through the links on this page. Instead they should refer to the installtion of complete pipeline packages here.

Software developers who need to install CPL from source should refer to the README file in the CPL distribution for details about how to install and use the software. A detailed description of the library is provided in the CPL User Manual (see the link in the list of "downloads" above). Additional documentation is available from the CPL Documentation page.

Hints for developers on building third-party libraries for CPL

The following provides a few hints for software developers to avoid some pitfalls when building CPL and its dependencies from scratch. However, they cannot exhaustive by any means. For detailed information on how the required dependencies need to be configured, please refer to the documentation of the individual package or command.

Checking the Package Integrity

The integrity of the downloaded packages may be verified using the MD5 files which are available from the current release download table. They contain the MD5 fingerprint of the corresponding package. To verify the package, get the MD5 file by saving the MD5 sum link, put it into the same directory as the package, and execute the command:

      
      $ md5sum -c <md5file>