爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
楼主: 人生路

小逗比求助regcm4.4安装

[复制链接]
 楼主| 发表于 2015-4-22 21:53:49 | 显示全部楼层
Ruby 发表于 2015-4-22 21:51
噢~只用跟enable-netcdf-4就行了?我是按大神那个pdf来的 configure的时候就报错 说找不到netcdf的lib 可 ...

你制定了,装好了?
密码修改失败请联系微信:mofangbao
发表于 2015-4-22 21:54:56 | 显示全部楼层
letsdo8 发表于 2015-4-22 21:37
CDO安装时,有时测试时过不去也没太大关系(像是有些与OpenDap有关)。

不开网络文件的话,应该不影响使 ...

我原来安装nco的时候make install的时候就有报错 但是也用了 这次这个是针对regcm装的 直接configure都过不去
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-4-22 21:55:56 | 显示全部楼层
本帖最后由 人生路 于 2015-4-22 21:56 编辑
Ruby 发表于 2015-4-22 21:54
我原来安装nco的时候make install的时候就有报错 但是也用了 这次这个是针对regcm装的 直接configure都过 ...


换个版本。。。。。。。

nco-4.4.8.tar.gz

7.87 MB, 下载次数: 15, 下载积分: 金钱 -5

密码修改失败请联系微信:mofangbao
发表于 2015-4-22 22:02:22 | 显示全部楼层
人生路 发表于 2015-4-22 21:43
你可以这样 ./configure CC=gcc CXX=g++ --enable-netcdf-4  --prefix=/ 如果前面netcdf安装正确的话,可 ...

configure: error: in `/vol6/home/cmip_fang/models/nco-4.2.1':
configure: error: cannot find netCDF header
See `config.log' for more details
[cmip_fang@ln3%tianhe nco-4.2.1]$ ./configure CC=icc CXX=icpc --enable-netcdf-4 --prefix=/vol6/home/cmip_fang/models/soft
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-4-22 22:03:58 | 显示全部楼层
Ruby 发表于 2015-4-22 22:02
configure: error: in `/vol6/home/cmip_fang/models/nco-4.2.1':
configure: error: cannot find netCD ...

这个版本低了,下载我我的那个安装
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-4-22 22:09:47 | 显示全部楼层
人生路 发表于 2015-4-22 22:03
这个版本低了,下载我我的那个安装

make[2]: Leaving directory '/home/s/regcm/intelsoft/src/nco-4.4.8/doc'
make[2]: Entering directory '/home/s/regcm/intelsoft/src/nco-4.4.8'
make[2]: Leaving directory '/home/s/regcm/intelsoft/src/nco-4.4.8'
make[1]: Leaving directory '/home/s/regcm/intelsoft/src/nco-4.4.8'
密码修改失败请联系微信:mofangbao
发表于 2015-4-22 22:10:00 | 显示全部楼层
人生路 发表于 2015-4-22 22:03
这个版本低了,下载我我的那个安装

欧克~我再试试~
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-4-22 22:11:22 | 显示全部楼层
人生路 发表于 2015-4-22 22:09
make[2]: Leaving directory '/home/s/regcm/intelsoft/src/nco-4.4.8/doc'
make[2]: Entering director ...

make[2]: Leaving directory '/home/s/regcm/intelsoft/src/nco-4.4.8/man'
make[1]: Leaving directory '/home/s/regcm/intelsoft/src/nco-4.4.8/man'
Making install in doc
make[1]: Entering directory '/home/s/regcm/intelsoft/src/nco-4.4.8/doc'
make[2]: Entering directory '/home/s/regcm/intelsoft/src/nco-4.4.8/doc'
make[2]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/home/s/regcm/intelsoft/share/info'
/usr/bin/install -c -m 644 ./nco.info ./nco.info-1 ./nco.info-2 ./nco.info-3 '/home/s/regcm/intelsoft/share/info'
install-info --info-dir='/home/s/regcm/intelsoft/share/info' '/home/s/regcm/intelsoft/share/info/nco.info'
make[2]: Leaving directory '/home/s/regcm/intelsoft/src/nco-4.4.8/doc'
make[1]: Leaving directory '/home/s/regcm/intelsoft/src/nco-4.4.8/doc'
make[1]: Entering directory '/home/s/regcm/intelsoft/src/nco-4.4.8'
make[2]: Entering directory '/home/s/regcm/intelsoft/src/nco-4.4.8'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/s/regcm/intelsoft/src/nco-4.4.8'
make[1]: Leaving directory '/home/s/regcm/intelsoft/src/nco-4.4.8'
表示安装成功
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2015-4-22 22:12:37 | 显示全部楼层
敲一个命令ncks
s@s:~/regcm/intelsoft/src/nco-4.4.8$ ncks
ncks: ERROR received 0 filenames; need at least one
ncks Command line options cheatsheet (full details at http://nco.sf.net/nco.html#ncks):
ncks [-3] [-4] [-5] [-6] [-7] [-A] [-a] [-b fl_bnr] [--bfr sz] [-C] [-c] [--cdl] [--cnk_byt sz] [--cnk_dmn nm,sz] [--cnk_map map] [--cnk_min min] [--cnk_plc plc] [--cnk_scl sz] [-D nco_dbg_lvl] [-d ...] [-F] [--fix_rec_dmn dim] [--fl_fmt fmt] [-G grp:lvl] [-g ...] [--grp_xtr_var_xcl] [-H] [-h] [--hdn] [--hdr_pad nbr] [-L lvl] [-l path] [-M] [-m] [--md5_dgs] [--md5_wrt] [--mk_rec_dmn dim] [--msa] [--no_blank] [--no_tmp_fl] [-O] [-o out.nc] [-P] [-p path] [--ppc ...] [-Q] [-q] [-R] [-r] [--rad] [--ram_all] [-s format] [-u] [--unn] [-V] [-v ...] [-X box] [-x] [--xml] [--xml_no_loc] [--xml_spr_chr sng] [--xml_spr_nmr sng] in.nc [[out.nc]]

-3, --3, --fl_fmt=classic        Output file in netCDF3 CLASSIC (32-bit offset) storage format
-4, --4, --netcdf4                Output file in netCDF4 (HDF5) storage format
-5, --5,                 Print alphabetically by group then variable
-6, --6, --64, --fl_fmt=64bit        Output file in netCDF3 64-bit offset storage format
-7, --7, --fl_fmt=netcdf4_classic        Output file in netCDF4 CLASSIC format (3+4=7)
-A, --apn, --append        Append to existing output file, if any
-a, --abc, --alphabetize        Disable alphabetization of extracted variables
-b, --fl_bnr, --binary-file fl_bnr        Unformatted binary file to write
    --bfr_sz, --buffer_size sz        Buffer size to open files with
-C, --nocoords                Associated coordinate variables should not be processed
-c, --crd, --coords        Coordinate variables will all be processed
    --cdl                Print CDL (netCDF lingua franca used by ncdump/ncgen)
    --cnk_dmn, --chunk_dimension nm,sz        Chunksize of dimension nm is sz
    --cnk_map, --chunk_map map                Chunking map [dmn,lfp,prd,rd1,rew,scl,xpl,xst]
    --cnk_min, --chunk_min min                Minimum size [B] of variable to chunk
    --cnk_plc, --chunk_policy plc        Chunking policy [all,g2d,g3d,xpl,xst,uck]
    --cnk_scl, --chunk_scalar sz        Chunksize scalar (for all dimensions)
-D, --dbg_lvl, --debug-level lvl        Debug-level is lvl
-d, --dmn, --dimension dim,[min][,[max]][,[stride]] Dimension's limits and stride in hyperslab
-F, --ftn, --fortran        Fortran indexing conventions (1-based) for I/O
    --fix_rec_dmn dim        Change dimension dim (or all) to fixed dimension in output file
    --fl_fmt, --file_format fmt        File format [classic,64bit,netcdf4,netcdf4_classic]
-G, --gpe [grp_nm][:[lvl]]        Group Path Editing path, levels to replace
-g, --grp grp1[,grp2[...]] Group(s) to process (regular expressions supported)
-H, --data, --hieronymus        Toggle printing data
-h, --hst, --history        Do not append to "history" global attribute
    --hdn, --hidden        Print hidden (aka special) attributes
    --hdr_pad, --header_pad        Pad output header with nbr bytes
-L, --dfl_lvl, --deflate lvl        Lempel-Ziv deflation/compression (lvl=0..9) for netCDF4 output
-l, --lcl, --local path        Local storage path for remotely-retrieved files
-M, --Mtd, --Metadata        Toggle printing global metadata
-m, --mtd, --metadata        Toggle printing variable metadata
    --mk_rec_dmn dim        Define dim as record dimension in output file
    --no_blank                Print numeric missing values instead of blanks (underscores)
    --no_tmp_fl                Do not write output to temporary file
-o, --output, --fl_out fl_out        Output file name (or use last positional argument)
-O, --ovr, --overwrite        Overwrite existing output file, if any
-P, --prn, --print        Print data, metadata, and units. Abbreviation for -C -H -M -m -u.
-p, --pth, --path path        Path prefix for all input filenames
    --ppc v1[,v2[,...]]=prc        Precision-Preserving Compression: Number of total or decimal significant digits
-Q, --quiet                Quiet printing of dimension indices and coordinate values
-q, --quench                Quench (turn-off) all printing to screen
-R, --rtn, --retain        Retain remotely-retrieved files after use
-r, --revision, --version        Compile-time configuration and/or program version
    --orphan, --rph_dmn        Retain or print all (including orphaned) dimensions
    --ram_all, --diskless_all        Open netCDF3 files and create output files in RAM
-s, --sng_fmt, --string format        String format for text output
-u, --units                Toggle printing units of variables, if any
    --unn, --union        Select union of specified groups and variables
-V, --var_val                Print variable values only
-v, --variable var1[,var2[...]] Variable(s) to process (regular expressions supported)
-X, --auxiliary lon_min,lon_max,lat_min,lat_max        Auxiliary coordinate bounding box
-x, --xcl, --exclude        Extract all variables EXCEPT those specified with -v
    --xml                Print XML (NcML, netCDF Markup Language)
    --xml_no_location        Omit NcML location element
    --xml_spr_chr sng        Separator for NcML character types
    --xml_spr_nmr sng        Separator for NcML numeric types
in.nc                        Input file name
out.nc                        Output file name (or use -o switch)

Eight ways to find more help on ncks and/or NCO:
1. Examples:     http://nco.sf.net/nco.html#xmp_ncks
2. Ref. manual:  http://nco.sf.net/nco.html#ncks
3. User Guide:   http://nco.sf.net#RTFM
4. Manual pages: 'man ncks', 'man nco', ...
5. Homepage:     http://nco.sf.net
6. FAQ:          http://nco.sf.net#FAQ
7. Help Forum:   http://sf.net/p/nco/discussion/9830
8. Publications: http://nco.sf.net#pub
Post questions, suggestions, patches at http://sf.net/projects/nco
密码修改失败请联系微信:mofangbao
发表于 2015-4-22 22:25:52 | 显示全部楼层
人生路 发表于 2015-4-22 22:12
敲一个命令ncks
s@s:~/regcm/intelsoft/src/nco-4.4.8$ ncks
ncks: ERROR received 0 filenames; need a ...

#  Test for netCDF             #
################################
checking for /opt/local/include/netcdf.h... no
checking for /opt/local/lib/libnetcdf.a... no
checking for /sopt/netcdf/netcdf411-gcc-serial/include/netcdf.h... no
checking for /sopt/netcdf/netcdf411-gcc-serial/lib/libnetcdf.a... no
checking netcdf.h usability... no
checking netcdf.h presence... no
checking for netcdf.h... no
configure: error: in `/vol6/home/cmip_fang/models/nco-4.4.8':
configure: error: cannot find netCDF header
See `config.log' for more details
[cmip_fang@ln3%tianhe nco-4.4.8]$ ./configure CC=icc CXX=icpc --enable-netcdf-4 --prefix=/vol6/home/cmip_fang/models/soft
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表