Cdat 5.2 installation steps for ubuntu
Ref : http://www2-pcmdi.llnl.gov/
Ref : http://www2-pcmdi.llnl.gov/cdat
Ubuntu packages needed
If you have only the minimal Ubuntu install, there is a good chance that you won’t be able to do a successful install of CDAT, since additional packages are needed. Here’s the list of what I added (you can add them using Synaptic, Ubuntu’s GUI-based package manager):
bison *byacc *flex *gawk *g++- gfortran (for contrib packages)
libxt-devlibx11-devtcsh (just highly recomended)xorg-dev (also called xserver-xorg-dev)
If you will install cdat in freshly installed ubuntu , then finally it will return “Error” like , can not install “matplotlib”.
So for that , we need to install
libpng (1.1 or later ) and freetype (1.4 or later)
from synaptic package manager.
Explicitly set the default compiler
If you don’t explicitly set the environment variables specifying which compilers to use, you may end up compiling different libraries with different compilers. Thus, in csh or tcsh, make sure you execute:
export CC=gcc export FC=gfortran export CXX=g++
source :
svn export http://www-pcmdi.llnl.gov/svn/repository/cdat/tags/5.2 cdat-5.2-src
Once you got the sources you can install CDAT as follow:./configure --prefix=/usr/local/cdat5.2/ --with-externals=/usr/local/cdat5.2/cdat_extNOTE : To copy the above code highlight the mouse over the code and select the "view source" option.A popup window will display the code.you can copy the code
$ sudo make # You can now start CDAT with the command $ cd /usr/local/cdat5.2/bin $ ./cdat
Posted by Simon Peatman on January 21, 2011 at 7:25 am
Very clear instructions, many thanks
Posted by Arulalan.T on January 26, 2011 at 1:15 pm
Thank you
Posted by Angshuman on October 15, 2012 at 11:39 am
really the instructions are clear.
but i have a problem. it is showing the follwing error:
Processing libcdms, log = /home/Documents/cdat-5.2-src/logs/libcdms.LOG
Install failed in directory /home/Documents/cdat-5.2-src/libcdms
Log= /home/Documents/cdat-5.2-src/logs/libcdms.LOG
make: *** [install] Error 1
Posted by Angshuman on October 15, 2012 at 11:51 am
i am using ubuntu 12.0x
Posted by alagu on October 30, 2012 at 10:40 am
i am installing cdat5.2 in ubuntu os as per ur procedure ,once i typed this code
./configure --prefix=/usr/local/cdat5.2/ --with-externals=/usr/local/cdat5.2/cdat_extit is displaying following error,syntax error near unexpected token `<'
please help me.
Posted by alagu on October 30, 2012 at 10:41 am
i am using ubuntu 12.0x