爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
12
返回列表 发新帖
楼主: 禾竹居士

netCDF安装问题

[复制链接]

新浪微博达人勋

发表于 2014-3-2 17:28:37 | 显示全部楼层
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-3-2 21:06:55 | 显示全部楼层
andrewsoong 发表于 2014-3-2 17:28
我的 是Cent OS,是红帽的在编译版本。
我都是指定安装路径的。

我后来换4.1.1版本,安装成功了,也没有做其他的。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-3-3 10:22:37 | 显示全部楼层
configure就不行不知道为什么
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-6-2 19:48:14 | 显示全部楼层
禾竹居士 发表于 2014-3-2 17:24
有自定义安装路径吗?

自定义安装路径是 ./configure --disable-netcdf-4 --prefix=/usr/local/netcdf .把prefix后面的路径换成你需要的路径
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-10-21 16:54:16 | 显示全部楼层

您好,我想请问一下我make有错误,想问问是什么问题。
[root@cent netcdf-3.6.3]# ./configure --prefix=/usr/local/wrf/netcdf FC=pgf90
configure: netCDF 3.6.3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: checking user options
checking whether CXX is set to ''... no
checking whether FC is set to ''... no
checking whether F90 is set to ''... no
checking whether this is a netCDF-4.x build... no
checking whether netCDF extra tests should be run (developers only)... no
checking whether documentation is to be installed... no
checking whether Fortran compiler(s) should be tested during configure... yes
checking whether configure should try to set compiler flags... yes
checking whether FFIO will be used... no
checking whether to skip C++, F77, or F90 APIs if compiler is broken... yes
checking whether only the C library is desired... no
checking whether examples should be built... yes
checking whether F77 API is desired... yes
checking whether F90 API is desired... yes
checking whether fortran type sizes should be checked... yes
checking whether C API is desired... yes
checking where to get netCDF C-only library for separate fortran libraries...
checking whether CXX API is desired... yes
checking whether v2 netCDF API should be built... yes
checking whether the ncgen/ncdump should be built... yes
checking whether large file (> 2GB) tests should be run... no
checking whether benchmaks should be run (experimental)... no
checking whether extreme numbers should be used in tests... yes
checking where to put large temp files if large file tests are run... .
checking whether a win32 DLL is desired... no
checking whether separate fortran libs are desired... no
configure: finding C compiler
checking for xlc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether cc understands -c and -o together... yes
checking for an ANSI C-conforming const... yes
configure: finding Fortran compiler (will not be used if Fortran API is not desired)
checking whether we are using the GNU Fortran compiler... no
checking whether pgf90 accepts -g... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether pgf90 accepts -g... no
configure: setting up Fortran 90
checking for Fortran flag to compile .f90 files... unknown
configure: error: Fortran could not compile .f90 files
[root@Cent netcdf-3.6.3]# make
make: *** 没有指明目标并且找不到 makefile。 停止。
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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