- 积分
- 39
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-10-9
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
我在OS X上安装Gwrib2应用软件来试图打开grib2文件,但是安装过程中出现了问题。在设置好CC=gcc和FC=gfortran之后进行sudo make,然后就出现了这样的error:makefile:358: *** ERROR, did not recognize fortran compiler, cannot use IPOLATES, set FC=f90 compiler. Stop.
求各位大神赐教!!
这是官网上的安装过程,看似很简单,然后就卡在了make这一步:
> mkdir ~/localThis is a good place to put special utilities/packages only used by you.Then make a subdirectory for each package, e.g.> mkdir ~/local/wgribPut the tar file there:> mv wgrib.tar ~/local/wgrib> cd ~/local/wgrib> tar xvf wgrib.tarwgrib is written in C, so make sure you have a C compiler> which ccYou should get something similar to this:/usr/bin/cc(我的电脑上是有cc的,并且在terminal有显示这条)cc is included in Linux systems.For OS X, you may need to install Xcode to obtain cc.Then let the makefile do all the work for you--no C experience necessary. > make(就是这一步进行出问题了)If you are successful, wgrib*, an executable, will be created:~/local/wgrib/wgrib*I like to put all my local executables in one place in my search path.> mkdir ~/local/bin> ln -s ~/local/wgrib/wgrib ~/local/bin
|
|