Integrated development environment

There are many IDE's available. I use Screen/ Vim/ CTAGS/ GDB to setup my programming environment.

Screen

Useful Intro

PETSc

Download code and build.

    wget http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-lite-3.5.1.tar.gz
    tar -zxf petsc-lite-3.5.1.tar.gz
    cd petsc-3.5.1
    ./config/configure.py --with-shared-libraries --with-clanguage=c++ --CFLAGS='-O0' --CXXFLAGS='-O0' --download-ctetgen --download-triangle --with-debugging=yes --with-blas-lapack-dir=/opt/apps/MKL/12.1/lib/intel64/ --with-exodusii-lib=[/usr/lib/x86_64-linux-gnu/libexoIIv2.so] --with-netcdf-dir=/usr/lib --with-hdf5-dir=/usr/lib --with-c2html=0 --with-exodusii-include=/usr/include  --with-opencl-include=/usr/include/ --with-opencl-lib=/usr/lib/libOpenCL.so  --download-viennacl=yes
    make

ITK

Download code and build.

    wget http://downloads.sourceforge.net/project/itk/itk/4.6/InsightToolkit-4.6.0.tar.gz
    tar -xvzf InsightToolkit-4.6.0.tar.gz
    mkdir InsightToolkit-4.6.0-build
    cd InsightToolkit-4.6.0-build
    cmake -DBUILD_SHARED_LIBS=OFF  -DCMAKE_BUILD_TYPE=Debug -DBUILD_EXAMPLES=ON -DBUILD_TESTING=OFF -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=../InsightToolkit-4.6.0-install ../InsightToolkit-4.6.0
    make -j 10 ;  make install

ctags

GDB

VIM

open the file: vim [filename]



Subsections