对于一个程序的Readme里需要下载的软件包的一些说明不太明白

mp3Record 2016-08-24 07:30:52
LOVECLIM1.3 from scratch

Example of configuration

Compiler: intel Version 12.0.4.191 Build 20110427
OS: linux 2.6.37.6-0.5 x86_64 GNU/Linux

Requires

- udunits (1.12.11)
CC=icc CFLAGS='-Df2cFortran -fPIC' ./configure --prefix=/opt/udunits

- hdf5 (latest)
FC=ifort F77=ifort CXX=icc CC=icc CPP='icpc -E' CXXCPP='icpc -E' CFLAGS='-Df2cFortran -fPIC' ./configure --prefix=/opt/hdf5 --enable-fortran --enable-cxx

- netcdf (4.1.3)
FC=ifort F77=ifort CXX=icc CC=icc CPP='icpc -E' CXXCPP='icpc -E' CFLAGS='-Df2cFortran -fPIC' CPPFLAGS="-I/opt/hdf5/include" LIBS="-L/opt/hdf5/lib64" ./configure --prefix=/opt/netcdf --enable-netcdf4

- udunits2 (latest)
FC=ifort F77=ifort CXX=icc CC=icc CPP='icpc -E' CXXCPP='icpc -E' CFLAGS='-Df2cFortran -fPIC' ./configure --prefix=/opt/udunits2

- lapack & blas (latest)
Use your package manager

- antlr (2.7.7)
Use your package manager(软件包管理器)

- nco (latest)
FC=ifort F77=ifort CXX=icc CC=icc CPP='icpc -E' CXXCPP='icpc -E' CFLAGS='-Df2cFortran -fPIC' CPPFLAGS="-I/opt/hdf5/include -I/opt/udunits2/include -I/opt/netcdf/include" LIBS="-L/opt/hdf5/lib64 -L/opt/udunits2/lib64 -L/opt/netcdf/lib64" NETCDF4_ROOT=/opt/netcdf UDUNITS2_PATH=/opt/udunits2 ./configure --prefix=/opt/nco

- cdo (latest)
FC=ifort F77=ifort CXX=icc CC=icc CPP='icpc -E' CXXCPP='icpc -E' CFLAGS='-Df2cFortran -fPIC' CPPFLAGS="-I/opt/hdf5/include -I/opt/udunits2/include" LIBS="-L/opt/hdf5/lib64 -L/opt/udunits2/lib64" ./configure --prefix=/opt/cdo --with-udunits2=/opt/udunits2 --with-hdf5=/opt/hdf5 --with-netcdf=/opt/netcdf

#############################################################################

Loveclim code

Changes to do (compiler's path and flags):
- TOOLS/Makefile - after adaptations, run make
- RUN/V1.3/tools/Makefile - after adaptations, run make
- RUN/V1.3/tools/atlas/Makefile - after adaptations, run make

- RUN/V1.3/expdir/ref/make.macros

For a quick test:
- Adapt RUN/V1.3/expdir/exp.param as you want

#############################################################################


以上是在Linux中运行的程序的readme中的主要部分,刚开始学习这些,我想请教一下,Rquires后面的udunits hdf5....这些都是需要自己上网找安装包下载吗,每一个下面的几行.....FC=ifort F77=ifort CXX=icc ........是什么用处?而且apack & blas (latest)下面的是Use your package manager,用管理包怎么用呢?我的系统装的是CentOS7.可能问的问题比较菜,但确实是刚开始学习的疑惑和一道坎,希望会这方面的大家给我解答一下,谢谢!
...全文
942 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
mp3Record 2016-09-03
  • 打赏
  • 举报
回复
引用 1 楼 wuhanqing 的回复:
你是要编译源码?还是只是要使用?
只是使用,搭建环境后调试程序
hanqingwu 2016-08-26
  • 打赏
  • 举报
回复
你是要编译源码?还是只是要使用?

427

社区成员

发帖
与我相关
我的任务
社区描述
非技术问题的乐园
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧