Warning: This page is deprecated. The latest instructions are available here:

https://casa.nrao.edu/casadocs-devel/stable/casa-development-team/development-resources/build-configuration

Under construction.

For Red Hat 6 builds, these instructions are your best bet: https://safe.nrao.edu/wiki/bin/view/Software/CASAInstallFromSource

Checking out CASA from version control

The complete repository can be checked out from: https://open-bitbucket.nrao.edu/scm/casa/casa.git

The repository uses submodules so you must use the --recursive option:
git clone --recursive https://open-bitbucket.nrao.edu/scm/casa/casa.git 

Setting up the build environment

CMake Flags

Intel Compiler CMake Flags

UpdatingLibsakuraOnMac

Common build steps

Checkout source:

Subsystems: casacore, code, gcwrap
cd <subsystem>
mkdir build && cd build
cmake <cmake flags> ..
make

Note: With casacore you also need to do
make install

The build process runs on a single core by default. To use more core you can use the -j flag. For example
make -j 8

Q & A

-- VilleSuoranta - 2015-04-20
Topic revision: r20 - 2019-01-11, VilleSuoranta
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback