您的位置:时时app平台注册网站 > 时时app平台注册网站 > OpenSuse13.2 安装博来霉素T 5.4.2【时时app平台注册网

OpenSuse13.2 安装博来霉素T 5.4.2【时时app平台注册网

2019-12-06 12:36

 

运行 gmt-5.4.2/doc/examples/ex01/example_01.sh

修改ConfigUser.cmake文件, 去掉 GSHHG 和 DCW_ROOT两项的笺注。

时时app平台注册网站 1

在林大霉素T5.4.2解压目录cmake文件夹下,复制ConfigUserTemplate.cmake重命名字为ConfigUser.cmake;

37 CMake
38 -----
39
40 Install CMake (>=2.8.5) from
41
42
43 Install netCDF library
44 ----------------------
45
46 For all major Linux distributions there are prepackaged development binaries
47 available. netCDF is also available on MacOSX trough the macports and fink
48 package managers.
49
50 Otherwise, get netCDF from .
51 You need at least version 4.0 with netCDF-4/HDF5 data model support (do not
52 disable HDF5/ZLIB in netCDF with --disable-netcdf-4).
53
54 Install CURL library
55 --------------------
56
57 To handle URLs we depend on libcurl so install via your favorite package
58 manager if it is not intrinsic to your Unix installation. Otherwise, get
59 it from .
60
61 GDAL (optional)
62 ---------------
63
64 To use the GDAL interface (ability to provide grids or images to be imported
65 via gdal) you must have the GDAL library and include files installed. Like
66 netCDF, GDAL is available through your favorite package manager on many *NIX
67 systems.
68
69
70 PCRE (optional)
71 ---------------
72
73 To use the PCRE interface (ability to specify regular expressions in some
74 search options, e.g., gmtconvert) you must have the PCRE library and include
75 files installed. PCRE is available through your favorite package manager
76 on many *NIX systems.
77
78
79 LAPACK (optional)
80 ---------------
81
82 To greatly speed up some linear algebra calculations (greenspline in
83 particular) you must have the LAPACK library and include files installed.
84 LAPACK is available through your favorite package manager on many *NIX
85 systems or in the case of OS X is built in.
86
87
88 Install support data
89 --------------------

 

 

时时app平台注册网站 2

根据README文件:

bash example_01.sh

三番五遍固守README.CMAKE的唤起举行操作

 时时app平台注册网站 3

 这里未安装 gdal、lapack等库

下载gmt-5.4.2-src.tar.gz,gshhg-gmt-2.3.7.tar.gz,dcw-gmt-1.1.2.tar.gz;

106 # Set path to GSHHG Shoreline Database [auto]:
107 set (GSHHG_ROOT "gshhg_path")
108 
109 # Copy GSHHG files to $/coast [FALSE]:
110 set (COPY_GSHHG TRUE)
111 
112 # Set path to DCW Digital Chart of the World for GMT [auto]:
113 set (DCW_ROOT "dcw-gmt_path")
114 
115 # Copy DCW files to $/dcw [FALSE]:
116 set (COPY_DCW TRUE)

Linux 系统版本:Opensuse 13.2

符合规律运行即安装成功。

 

 export GSHHG_ROOT=/home/suse/software/gshhg-gmt-2.3.7/
 export DCW_ROOT=/home/suse/software/dcw-gmt-1.1.2/

测验运维丙胺博莱霉素T命令

psxy
pscoast
...

 

运转结果:

然后在 ~/.bashrc 中扩大七个变量

均位居一个索引下边如:/home/suse/software

创办目录build,

mkdir build 
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
make install //这里我没有采用多线程运行 make -jx install 

 时时app平台注册网站 4

GMT版本: GMT5.4.2

 

时时app平台注册网站 5

本文由时时app平台注册网站发布于时时app平台注册网站,转载请注明出处:OpenSuse13.2 安装博来霉素T 5.4.2【时时app平台注册网

关键词: