CMake Flags for Building CASA with the Intel Compiler on RHEL6:

Casacore

cmake -DCASA_BUILD=1 -DCMAKE_CXX_COMPILER=/opt/intel/bin/icpc -DCMAKE_C_COMPILER=/opt/intel/bin/icc -DCMAKE_Fortran_COMPILER=/opt/intel/bin/ifort -DBoost_NO_BOOST_CMAKE=1 -DCASA_BUILD=1 -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=../../linux -DCMAKE_BUILD_TYPE=Debug ..

Code

cmake -DCMAKE_CXX_COMPILER=/opt/intel/bin/icpc -DCMAKE_C_COMPILER=/opt/intel/bin/icc -DCMAKE_Fortran_COMPILER=/opt/intel/bin/ifort -DBoost_NO_BOOST_CMAKE=1 -DEXTRA_C_FLAGS=-DPG_PPU -I/opt/casa/02/include/wcslib -Darch=linux -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=OFF ..

Gcwrap

cmake -DCMAKE_CXX_COMPILER=/opt/intel/bin/icpc -DCMAKE_C_COMPILER=/opt/intel/bin/icc -DCMAKE_Fortran_COMPILER=/opt/intel/bin/ifort -DBoost_NO_BOOST_CMAKE=1 -Darch=linux -DPYTHONLIBD=/opt/casa/02/lib/python2.7 -DCMAKE_BUILD_TYPE=Debug ..

ASAP

cmake -DCMAKE_CXX_COMPILER=/opt/intel/bin/icpc -DCMAKE_C_COMPILER=/opt/intel/bin/icc -DCMAKE_Fortran_COMPILER=/opt/intel/bin/ifort -DLLVMCOMPILER=1 -Darch=linux -DCFITSIO_INCLUDE_DIR=/usr/include/cfitsio -DBoost_NO_BOOST_CMAKE=1 -DCMAKE_BUILD_TYPE=Debug -DPYTHON_ROOT_DIR=/opt/casa/02 -DPGPLOT_ROOT_DIR=/opt/casa/02 -DWCSLIB_ROOT_DIR=/opt/casa/02 -DPYTHON_SHARED_LINKER_FLAGS=/usr/lib64/libpython2.6.so ..
Topic revision: r2 - 2017-02-03, DarrellSchiebel
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