Skip to content

Build on Mac OS X

Aashish Chaudhary edited this page Jan 29, 2015 · 21 revisions

Building from Source

System Requirements (Must Be Root)

Download and install these files

  1. Xcode - download link
  • once Xcode is installed --> start Xcode --> click Xcode in the Menu Bar --> choose Preferences --> click Downloads --> Under Components download Command Line Tools alt text
  1. CMAKE
  1. Qt4 - download link
  2. Fortran - choose binaries for your OS X version

###Building & Install From the command line using bash shell
Change YY-MM-DD to todays date
There are more command options

export GIT_SSL_NO_VERIFY=1
cd ~/
git clone --branch uvcdat-2.0.0 https://github.com/UV-CDAT/uvcdat.git
mkdir build-uvcdat
cd build-uvcdat
cmake ../uvcdat -DCMAKE_INSTALL_PREFIX=~/uvcdat-2.0.0/YY-MM-DD
#repeat this line
cmake ../uvcdat -DCMAKE_INSTALL_PREFIX=~/uvcdat-2.0.0/YY-MM-DD
make -j4
source /usr/local/uvcdat/YY-MM-DD/bin/setup_runtime.sh
  • Bash users add source ~/uvcdat-2.0.0/YY-MM-DD/bin/setup_runtime.sh to your ~/.bashrc file
  • Csh users add source ~/uvcdat-2.0.0/YY-MM-DD/bin/setup_runtime.csh to your ~/.cshrc file

Testing

Running the test suite (Don't forget to source setup_runtime.sh)

cd ~/uvcdat-build
ctest -j4

To post the results to the UV-CDAT Dashboard

ctest -D Experimental

Running UV-CDAT GUI

(Don't forget to source setup_runtime.sh)

uvcdat

alt text

Need help, view our tutorials

Clone this wiki locally