有linux的sudo 权限

第一步 在linux安装 gcc 和gfortran的环境

第二步 安装 cmake 

第三步  下载 对应的eccodes包

第四步 

> tar -xzf  eccodes-x.y.z-Source.tar.gz
> mkdir build ; cd build
 
> cmake -DCMAKE_INSTALL_PREFIX=/path/to/where/you/install/eccodes ../eccodes-x.y.z-Source
...
 
> make
> ctest
> make install
 
第五步  添加环境变量

export ECC_PY=/path/to/where/you/install/eccodes/lib64/python2.7/site-packages
export PYTHONPATH=$ECC_PY:$PYTHONPATH

export ECC_BIN=/path/to/install/bin
export PATH=$ECC_BIN:$PATH

相关文章:

  • 2021-12-04
  • 2021-12-05
  • 2021-11-20
  • 2021-12-27
  • 2022-01-01
  • 2021-08-07
  • 2021-07-10
猜你喜欢
  • 2021-08-19
  • 2021-07-06
  • 2022-12-23
  • 2022-02-09
  • 2021-07-05
  • 2021-10-30
  • 2021-08-11
相关资源
相似解决方案