TITAN for Centos install and configure
来源:互联网 发布:cnc钻孔程式手动编程 编辑:程序博客网 时间:2024/06/13 23:46
TITAN IN CENTOS
一、(README_LINUX_SETUP)
1、软件安装
作为登录shell用户可以用csh或者tcsh默认的是bash
chsh -s bin/tcshxiu(注意首先要安装tcsh)
• C++ compiler: gcc/g++ 4.2 orlater.(gcc,gcc-c++)
• FORTRAN compiler: gfortran (forgrib support).(gcc-gfortran)
libX11-devel (forX)、libpng-devel(for CIDD)、fftw3-develdevelopment (for radar moments)
bzip2-devel (for NEXRADdecompression)、jasper-devel(for grib2)、flex、qt4-devel(for Qt apps)
glut-devel (for Open GL)、Xvfb(virtual X server)、gufw(firewall - configure to allow ssh in)(No)sshd(ssh logins)、perl
2、InstallingNETCDF4
You can get the following packages:
(文件夹中存在)
hdf5-1.8.5-patch1.tar.gz
、udunits-2.0.1.tar.gz
、netcdf-4.1.1.tar.gz
from the TITAN distribution ftp site:
ftp.rap.ucar.edu/pub/titan/distribution
Or you can download from their official sites:
netcdf:http://www.unidata.ucar.edu/downloads/netcdf/
udunits2:http://www.unidata.ucar.edu/downloads/udunits
hdf5:http://www.hdfgroup.org/HDF5/release
Copy the tar files into /usr/local/src. You should havethe following:
/usr/local/src/hdf5-1.8.5-patch1.tar.gz
/usr/local/src/udunits-2.0.1.tar.gz
/usr/local/src/netcdf-4.1.1.tar.gz
Building HDF5:
--------------
Install this in /usr/local:
cd/usr/local/src
tarxvfz hdf5-1.8.5-patch1.tar.gz
mvhdf5-1.8.5-patch1.tar.gz hdf5-1.8.5-patch1
cdhdf5-1.8.5-patch1
./configure--prefix=/usr/local
makeinstall
Building udunits2:
------------------
Install this in /usr/local
cd/usr/local/src
tarxvfz udunits-2.0.1.tar.gz
mvudunits-2.0.1.tar.gz udunits-2.1.5
cdudunits-2.1.5
./configure--prefix=/usr/local
makeinstall
Building netcdf 4
-----------------
Install this in /usr/local/netcdf4
cdnetcdf-4.1.1
FC=gfortran
exportFC
cd/usr/local/src
tarxvfz netcdf-4.1.1.tar.gz
mvnetcdf-4.1.1.tar.gz netcdf-4.1.1
cdnetcdf-4.1.1
./configure--enable-netcdf-4 -enable-cxx-4 --with-hdf5=/usr/local--prefix=/usr/local/netcdf4 --disable-dap
make
makeinstall
makeclean
Building netcdf 3
-----------------
Install this in /usr/local
cdnetcdf-4.1.1
FC=gfortran
exportFC
cd/usr/local/src
tarxvfz netcdf-4.1.1.tar.gz
mvnetcdf-4.1.1.tar.gz netcdf-4.1.1
cdnetcdf-4.1.1
./configure--prefix=/usr/local --disable-dap
make
makeinstall
makeclean
NOTE: if you do make clean with version 4.1.1, you willget an error on the
subsequent build. You can either ignore the error anduse:
make -k install
or untar the distribution again, and rebuild.
3、在xiu文件夹下面新建一文件夹titan5(注意shell类型为tcsh)
4、在titan5下新建一文件夹data
•二、README_BUILD
1、下载src压缩包
2、解压
cd titan5
tarxvfz titan5-20130625src.tgz
The distribution will be unpackedinto a subdirectory:Titan5/titan5-20130625
3. Make the link to the unpacked titan files
cd
rm-rf ~/rap
ln-s ~/titan5/titan5-20130625 rap
4. Install the initial .cshrc file:
cd
cdrap
./install_cshrc
Source the .cshrc file, to update your environment:
source~/.cshrc
5. Set the environment for the build.
Run one of the following:
./set_build_env(the default - assumes 32-bit OS)
./set_build_env -32 (same asdefault)
./set_build_env -64 (64-bit OS)
./set_build_env -32mode (32-bitbuild on 64-bit OS)
6. Run the build script:
./build_titan(这个安装时间好长的)
You can also build the libs and binaries individually:
./build_titan_libs
./build_titan_apps
7. Checking the build
The build checks are run automatically at the end of thebuild script.However, you also can run the checks independently:
To check libs for legacy system:
./check_titan_libs
To check libs for extended system:
./check_titan_libs-ext
To check apps for legacy system:
./check_titan_apps
To check apps for extended system:
./check_titan_apps-ext
8. To clean the build: ./clean_titan_build
三、INSTALLINGTITAN
1. Install TITAN for simple single-radaroperation
This assumes you are reading radar moments data from adata stream which TITAN can read.
(a) Install project
cd~/rap/projects/titan
cdtemplates/template_single_radar/system/scripts
./INSTALL_TITAN
source~/.cshrc
(b) Run test:
start_all
# ........
stop_all
(c) start_CIDD.ops
安装完成之后修改projDir/display里面的6个文件夹,修改路径将display/params 里的CIDD.ops里的Leo_test路径修改为本机路径。
将要运行的1xiu文件夹copy到rap/apps/mdv_utils/src里,修改param.cc的vdras,radar的输入路径和输出路径
打开1xiu文件夹右键openin terminal
先make,然后执行VdrasMdv -debug -start “20080808 175500” -end “20080808 175500”
- TITAN for Centos install and configure
- Install and Configure JRebel for MyEclipse
- Install And Configure Openstack Mitaka RDO On CentOS 7 [For POC]
- Install And Configure Openstack Mitaka RDO On CentOS 7 [For POC]
- LAMP Configure Memo - For Debian And CentOS
- RedHat / CentOS Install and Configure Cacti Network Graphing Tool
- RedHat / CentOS Install and Configure Cacti Network Graphing Tool
- Install And Configure Open VSwitch On CentOS RHEL Fedora
- Install and configure rsyslog Centralized logging server in CentOS 6.5
- CentOS 7.x PhpMyAdmin Install and Configure with Nginx
- CentOS 7.x Install and Configure ISPConfig CP
- How to install and configure NGINX on CentOS 7
- CentOS / RHEL v6.x: Install And Configure Serial Console
- Install and Configure git
- Install and Configure ASM
- install and configure subversion
- install and configure postgresql
- docker install and configure
- [Rx86OS-XV] 键盘输入处理
- 图像预处理——透视变换(二):X,Y方向校正原理
- leetcode 日经贴,Cpp code -String to Integer (atoi)
- 【机器学习】(7):聚类
- 常见编码格式
- TITAN for Centos install and configure
- Java类加载器总结
- android编译环境
- An error was encountered while running (Domain = LaunchServicesError, Code = 0)
- DS之顺序栈和链队实现回文判断
- 【C语言】在全系1000个学生中,征集慈善捐款当总数达到10万的时候,停止捐款,统计人数,并输出平均捐款数
- tmux备忘
- C4.5决策树
- 挑战程序设计竞赛 二叉堆(优先队列)的实现