linux 中fortran编译器 5

Linux入门,在安装LibRadtran时,官方要求已经安装下面的东西:Thefollowingsoftwareisrequiredtosuccessfullycomp... Linux入门,在安装LibRadtran时,官方要求已经安装下面的东西:
The following software is required to successfully compile, link and run all of the libRadtran tools:
1. GNU make. The compilation might work with other make programs, but usually it doesn't.
2. The GNU C compiler (gcc). Other compilers might also work.
3. A Fortran compiler that is compatible with the C compiler. If a C compatible Fortran compiler is not available, f2c will do the job.
4. Flex - The Fast Lexical Analyzer. Is usually available for all flavours of Linux, under Mac, and for cygwin, but not necessarily installed by default. You may have to select installation of flex manually.
5. The Perl programming language, version 5.004 or later, is required to run the automatic test.
6. For OPAC aerosol as well as for the additional cloud properties which can be obtained above, the packages netcdf and libnetcdf-devel are required.
在fedora系统里安装的,第三条什么意思,没搞懂....
展开
 我来答
红人咸干饭胖胖
2016-05-21 · TA获得超过299个赞
知道小有建树答主
回答量:284
采纳率:0%
帮助的人:154万
展开全部
方法一:
假如现在有两个Fortran程序1.f90和2.f90,其中1.f90是主程序,2.f90是在主程序中调用的子程序,将这两个程序传到Linux的一个目录下,使用fortran编译命令,如PGI的pgf90,Intel的ifort,命令如下:
  pgf90 -o exe_name 1.f90 2.f90
  ifort -o exe_name 1.f90 2.f90
方法二:
在主程序1.f90中加入include '2.f90'语句,然后在Linux下用fortran命令编译,命令如下:
  pgf90 -o exe_name 1.f90
  ifort -o exe_name 1.f90
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式