VisTrails Home

Building CDAT on Mac

From VisTrailsWiki

(Difference between revisions)
Jump to: navigation, search
(New page: ==(Under Construction)== * Requirements ** You will need X11 to run CDAT. If you don't have it, install it from your Mac OS X Install Disc * Follow [[Mac_Intel_Instructions| these instru...)
((Under Construction))
Line 1: Line 1:
-
==(Under Construction)==
 
* Requirements
* Requirements
** You will need X11 to run CDAT. If you don't have it, install it from your Mac OS X Install Disc  
** You will need X11 to run CDAT. If you don't have it, install it from your Mac OS X Install Disc  
Line 8: Line 7:
   <nowiki> svn checkout http://www-pcmdi.llnl.gov/svn/repository/cdat/trunk cdat </nowiki>
   <nowiki> svn checkout http://www-pcmdi.llnl.gov/svn/repository/cdat/trunk cdat </nowiki>
-
* Download this patch and uncompress to the cdat folder.
+
* Download [http://www.vistrails.org/download/download.php?id=cdat_patch_no_fortran.tar.gz this patch] (building NetCDF without Fortran support) or if you have fortran compiler installed, download [http://www.vistrails.org/download/download.php?id=cdat_patch.tar.gz this other patch] and uncompress to the cdat folder.
 +
 
 +
* Perform the following commands:
 +
  $ unset PYTHONPATH
 +
  $ cd cdat/exsrc
 +
  $ sudo ./install_script /Library/Frameworks/Python.framework/Versions/2.4
 +
 
 +
  $ sudo python install.py /Library/Frameworks/Python.framework/Versions/2.4
 +
 
 +
* Before running vistrails, reset PYTHONPATH variable:
 +
  $ export PYTHONPATH=<path/to/vtk_build>/Wrapping/Python:<path/to/vtk_build>/bin:.

Revision as of 15:56, 28 June 2007

  • Requirements
    • You will need X11 to run CDAT. If you don't have it, install it from your Mac OS X Install Disc
  • Download cdat form the source code repository
  svn checkout http://www-pcmdi.llnl.gov/svn/repository/cdat/trunk cdat 
  • Download this patch (building NetCDF without Fortran support) or if you have fortran compiler installed, download this other patch and uncompress to the cdat folder.
  • Perform the following commands:
 $ unset PYTHONPATH
 $ cd cdat/exsrc
 $ sudo ./install_script /Library/Frameworks/Python.framework/Versions/2.4
 
 $ sudo python install.py /Library/Frameworks/Python.framework/Versions/2.4
  • Before running vistrails, reset PYTHONPATH variable:
 $ export PYTHONPATH=<path/to/vtk_build>/Wrapping/Python:<path/to/vtk_build>/bin:.
Personal tools