精华内容
下载资源
问答
  • Linux安装Fortran编译器

    万次阅读 2012-06-04 19:54:44
    本文详细的记录了在 Linux 安装Fortran编译器的过程     1. 在浏览器中打开 http://gcc.gnu.org/wiki/GFortranBinaries 2. 下载Linux的2进制版本,我的Linux是Fedora16, x86-64,所以我选择的是...

    本文详细的记录了在 Linux 安装Fortran编译器的过程

     

     

    1. 在浏览器中打开 http://gcc.gnu.org/wiki/GFortranBinaries

    2. 下载Linux的2进制版本,我的Linux是Fedora16, x86-64,所以我选择的是http://gcc.gnu.org/wiki/GFortranBinaries下的
       64-bit AMD-compatible processors (x86_64, AMD64,Intel64, em64t)
       2.1 找到一个文件并下载到本机,我选择的是http://gfortran.com/download/x86_64/nightlies/gcc-trunk-20120601-r188095.tar.xz
       2.2 下载 gcc-infrastructure.tar.xz

    3. 解压缩上面的两个.xz文件文件到.tar文件,我用的是peaZip,也可以用其他工具解压缩
    4. 复制上一步解开的文件 gcc-infrastructure.tar 和 gcc-trunk-20120601-r188095.tar 到Linux PC /opt/目录,需要root权限

    5. 展开gcc-trunk-20120601-r188095.tar 到 /opt目录,
       cd /opt
       tar -xf gcc-trunk-20120601-r188095.tar

    6. 移动 gcc-infrastructure.tar 到 gcc-trunk
       mv gcc-infrastructure.tar ./gcc-trunk/

    7. 展开gcc-infrastructure.tar 到 /opt/gcc-trunk/lib64 目录
       tar -xf gcc-infrastructure.tar

    8. 删除原始的tar文件(略)

    9. 在你的家目录,也可以是其他目录,创建一个f.sh文件,内容如下

    #!/bin/bash

    if [ -z "$LD_LIBRARY_PATH" ] ; then
            export  LD_LIBRARY_PATH="/opt/gcc-trunk/lib64"
    else
            export  LD_LIBRARY_PATH="/opt/gcc-trunk/lib64:$LD_LIBRARY_PATH"
    fi

    export PATH=/opt/gcc-trunk/bin:$PATH


    10. 在你的家目录,运行source f.sh 来设置环境变量
    这是,你就可以使用gfortran 来编译和链接你的fortran程序了,你可以使用gfortran --version来检查你的编译器版本。

    展开全文
  • linux下安装fortran编译器详细教程

    万次阅读 多人点赞 2018-10-20 16:45:38
    linux下安装fortran编译器 本教程安装的编译器是Intel® Parallel Studio XE 2013 for Linux*,建议使用相同的版本(也可自行去下载Linux版的压缩包),压缩包和许可文件链接...

    在linux下安装fortran编译器
    本教程安装的编译器是Intel® Parallel Studio XE 2013 for Linux*,建议使用相同的版本(也可自行去下载Linux版的压缩包),压缩包和许可文件链接https://pan.baidu.com/s/1HtjIvmcPjiLyUjYkjNLSBw
    安装步骤:

    1. 在根目录下新建software文件夹,将压缩包放到此文件夹下解压
      #mkdir /software
      #tar –xzvf parallel_studio_xe_2013_update2
    2. 进入parallel_studio_xe_2013_update2文件夹执行安装脚本。
      #cd parallel_studio_xe_2013_update2
      #./install.sh
      正确执行后会显示如下信息:
      在这里插入图片描述
      3.按回车键继续进行下一步,出现下列信息,还是回车键,默认选择1号选项。
      在这里插入图片描述
      4.下面出现一大段安装导读,空格键浏览到末端,根据提示输入accept并回车。
      在这里插入图片描述

    5.接下来来到step3,因为我们使用的是许可文件license file,所以选择3选项并回车执行下一步。
    在这里插入图片描述
    6.再根据提示选输入选项2回车,接下来会提示你输入许可文件license file的绝对路径,之前我们将安装包和许可文件都放在了根目录下的software文件夹中,所以输入/software/回车,后面会提示认证成功,回车继续后续步骤。
    在这里插入图片描述
    在step4中直接选择推荐的选项1回车。
    在这里插入图片描述
    7.Step5才开始正式的安装,安装路径直接回车默认选择软件设定的路径即可,后面就是等待安装结束,还会再跳出几个选项,不过都是回车键默认,就不再赘述。
    在这里插入图片描述
    8.接下来是最后一步环节,配置编译器环境变量以普通用户登录,登录以后修改用户根目录下的.bash_profile文件,在最后一行加入下面一行:. /opt/intel/bin/ifortvars.sh intel64
    注意,上面的语句中点号之后有空格。
    $vim ~/.bash_profile
    在这里插入图片描述
    然后重新登录或执行下面的命令:
    $source .bash_profile intel64
    至此intel_fortan编译器在Linux系统下的安装结束,可以放入代码测试有没有正确安装。

    展开全文
  • Fortran编译器介绍 乱七八糟的处理软件安装,lev等等…… 安装lev的时候需要安装fortran编译器g77,本来想用intel Fortran Compiler代替的,结果不行,f77,fort,gfortran都不行,没办法只好安装g77了。g77安装...
  • 现在对之一一做介绍:1、g77(f77):是GCC中默认的fortran编译器,编译出的程序执行速度快,健壮,是十分优秀的编译器,可惜只能针对f77格式的fortran代码;下面就其安装做一简单介绍:[日期:200...

    popleaf1

    2008-06-21 21:52

    在各种

    Linux

    平台下,常用的有下列几种:

    g77(f77)

    Intel Fortran compiler, G95, gfortran

    .

    现在对之一一做介

    绍:

    1

    g77(f77)

    :是

    GCC

    中默认的

    fortran

    编译器

    ,编译出的程序执行速度快,健壮,是十分优秀的

    编译器

    ,可惜只能针对

    f77

    式的

    fortran

    代码;

    下面就其安装做一简单介绍:

    [

    日期:

    2008-03-23]

    来源:

    Linux

    公社

    作者:

    Linux

    整理

    Linux

    下安装

    g77

    fortran

    complier

    的具体过程:

    1.

    ftp://ftp.ntu.edu.tw/pub/gnu/gnu/g77

    下载

    g77-0.5.23.tar.gz

    ftp://ftp.ntu.edu.tw/pub/gnu/gnu/gcc

    下载

    gcc-2.8.1.tar.gz

    确定这两个东西是相容的

    (g77-0.5.23.tar.gz

    gcc-2.8.*.tar.gz

    等版本相容

    )

    可以先解压

    g77-0.5.*.tar.gz

    然后查看解压后资料夹内的

    ./f/INSTALL

    档案查看跟它相容的

    gcc

    版本

    .

    2.

    root

    的身分在

    /usr/

    下制造一个叫

    FSF

    的目录

    ,

    如以下指令

    #cd /usr

    #mkdir FSF

    将下载好的两个压缩档移到

    FSF

    目录中

    #mv g77-0.5.23.tar.gz /usr/FSF

    #mv gcc-2.8.1.tar.gz /usr/FSF

    3.

    接下来跟着以下指令一步一步做

    ,

    不要改变任何细节

    :

    #cd /usr/src

    #gunzip -c 

    注意

    |

    pipe)

    #gunzip -c 

    #ln -s gcc-2.8.1 gcc

    #ln -s g77-0.5.23 g77

    #mv -i g77/* gcc

    #cd gcc

    #./configure –prefix=/usr

    #make bootstrap (

    这里请耐心等它跑完这边最容易出错

    )

    #make compare

    #rm -fr stage1

    #make -k install

    #g77 -v (

    检查

    g77

    版本确定已安装

    OK)

    4.

    详细说明请参看

    g77-0.5.23.tar.gz

    解压后的

    ./g77-0.5.23/f/INSTALL

    展开全文
  • 我的是红帽6.4,网上说fortran编译器已经集成在GCC中,为G77或GFORTRAN。但是为什么我which gfortran和which g77 都没有结果? 如何安装?
  • CentOS 5.2 Linux 安装 Intel fortran 编译器 2012-5-11 (1) 下载 进入 http://software.intel.com/en-us/articles/intel-software-developer-support, 选择 Tools & Downloads, 选择 Free Non-...

    CentOS 5.2 Linux 下安装 Intel fortran 编译器

    2012-5-11


    (1) 下载

    进入 http://software.intel.com/en-us/articles/intel-software-developer-support,
    选择 Tools & Downloads, 选择 Free Non-Commercial(非商业版),进入页面后,选择接受,
    然后选择 Intel® Fortran Composer XE 2011 for Linux 进行下载,此后,弹出一个页面,
    需要用户提供一些信息,包括邮箱。intel会把一个licence文件发到你邮箱里,用于安装时的激活。
    这里下载了64位版本 l_fcompxe_intel64_2011.10.319.tar.gz。

    下载链接是:

    64位:

    http://registrationcenter-download.intel.com/akdlm/irc_nas/2568/l_fcompxe_intel64_2011.10.319.tgz

    32位:

    http://registrationcenter-download.intel.com/akdlm/irc_nas/2476/l_fcompxe_ia32_2011.9.293.tgz


    (2) 安装
    [root@glnode05 l_fcompxe_intel64_2011.10.319]# ./install.sh

    --------------------------------------------------------------------------------
    Initializing, please wait...
    --------------------------------------------------------------------------------

    Step no: 1 of 6 | Welcome
    --------------------------------------------------------------------------------
    Welcome to the Intel(R) Composer XE 2011 Update 10 for Linux* installation
    program.

    Intel(R) Fortran Composer XE 2011 Update 10 for Linux* includes not only the
    high-performance Intel(R) Fortran Compiler XE 12.1 Update 4, but also Intel(R)
    Debugger 12.1 Update 4, and Intel(R) Math Kernel Library (Intel(R) MKL) to
    create a strong foundation for building robust, high performance parallel code
    at significant price savings.
    --------------------------------------------------------------------------------
    You will complete the steps below during this installation:
    Step 1 : Welcome
    Step 2 : License
    Step 3 : Activation
    Step 4 : Options
    Step 5 : Installation
    Step 6 : Complete
    --------------------------------------------------------------------------------
    Press "Enter" key to continue or "q" to quit: <回车>

    --------------------------------------------------------------------------------
    Checking the prerequisites. It can take several minutes. Please wait...
    --------------------------------------------------------------------------------

    Step no: 1 of 6 | Options > Missing Optional Pre-requisite(s)
    --------------------------------------------------------------------------------
    There are one or more optional unresolved issues. It is highly recommended to
    resolve them all before you continue the installation. You can fix them without
    exiting from
    the installation and re-check. Or you can quit from the installation, fix them
    and run the installation again.
    --------------------------------------------------------------------------------
    Missing optional pre-requisites
    -- unsupported OS
    --------------------------------------------------------------------------------
    1. Skip missing optional pre-requisites [default]
    2. Show the detailed info about issue(s)
    3. Re-check the pre-requisites

    h. Help
    b. Back to the previous menu
    q. Quit
    --------------------------------------------------------------------------------
    Please type a selection or press "Enter" to accept default choice [1]: <回车>

    Step no: 2 of 6 | License
    --------------------------------------------------------------------------------
    To continue with the installation of this product you are required to accept the
    terms and conditions of the End User License Agreement (EULA). The EULA is
    displayed using the "more" utility. Press the spacebar to advance to the next
    page or enter "q" to skip to the end. After reading the EULA, you must enter
    "accept" to continue the installation or "decline" to return to the previous
    menu.
    --------------------------------------------------------------------------------
    IMPORTANT - READ BEFORE COPYING, INSTALLING OR USING.
    Do not copy, install, or use the Materials provided under this license agreement
    ("Agreement"), until you have carefully read the following terms and conditions.

    By copying, installing, or otherwise using the Materials, you agree to be bound
    by the terms of this Agreement. If you do not agree to the terms of this
    Agreement, do not copy, install, or use the Materials.

    End User License Agreement for the Intel(R) Software Development Products

    1.    LICENSE DEFINITIONS:

    A.    "Materials" are defined as the software, documentation, license key codes
    and other materials, including any updates and upgrade thereto, that are
    provided to you under this Agreement. Materials also include the
    Redistributables, Cluster OpenMP Library, and Sample Source as defined below.

    B.    "Redistributables" are the files listed in the following text files that
    may be included in the Materials for the applicable Intel Software Development
    Product: clredist.txt, credist.txt, fredist.txt, redist.txt.

    C.    "Cluster OpenMP Library", is comprised of the files listed in the
    "clredist.txt" file specified above, is the Intel(R) Cluster OpenMP* Library
    add-on option to the Intel(R) C++ Compiler for Linux* and Intel(R) Fortran
    Compiler for Linux* products ("Intel Compiler for Linux"). The use of the
    Cluster OpenMP Library is conditioned on having a valid license from Intel for
    the Cluster OpenMP Library and for either Intel Compiler for Linux, and further
    is governed by the terms and conditions of the license agreement for applicable
    the Intel Compiler for Linux.

    D.    "Source Code" is defined as the Materials provided in human readable
    format, whether unmodified or modified by you.

    E.    "Sample Source" is the Source Code file(s) that: (i) demonstrate certain

    --------------------------------------------------------------------------------
    Do you agree to be bound by the terms and conditions of this license agreement?
    Type "accept" to continue or "decline" to back to the previous menu: 输入 accept,接受

    Step no: 3 of 6 | Activation
    --------------------------------------------------------------------------------
    If you have purchased this product and have the serial number and a connection
    to the internet you can choose to activate the product at this time. Activation
    is a secure and anonymous one-time process that verifies your software licensing
    rights to use the product. Alternatively, you can choose to evaluate the
    product or defer activation by choosing the evaluate option. Evaluation software
    will time out in about one month. Also you can use license file, license
    manager, or the system you are installing on does not have internet access
    activation options.
    --------------------------------------------------------------------------------
    1. I want to activate my product using a serial number [default]
    2. I want to evaluate my product or activate later
    3. I want to activate either remotely, or by using a license file, or by using a
       license manager

    h. Help
    b. Back to the previous menu
    q. Quit
    --------------------------------------------------------------------------------
    Please type a selection or press "Enter" to accept default choice [1]: 输入 3,回车

    Step no: 3 of 6 | Activation > Advanced activation
    --------------------------------------------------------------------------------
    You can use license file, license manager, or the system you are installing on
    does not have internet access activation options.
    --------------------------------------------------------------------------------
    1. Use a different computer with internet access [default]
    2. Use a license file
    3. Use a license server

    h. Help
    b. Back to the previous menu
    q. Quit
    --------------------------------------------------------------------------------
    Please type a selection or press "Enter" to accept default choice [1]: 输入 2,回车
    Note: Press "Enter" key to back to the previous menu.
    Please type the full path to your license file(s): /opt/zhankunlin/Ifort/NCOM_L_CMP_FOR_NR2M-3JK77XGB.lic
    --------------------------------------------------------------------------------
    Activation completed successfully.
    --------------------------------------------------------------------------------
    Press "Enter" key to continue: 回车

    Step no: 4 of 6 | Options
    --------------------------------------------------------------------------------
    You are now ready to begin installation. You can use all default installation
    settings by simply choosing the "Start installation Now" option or you can
    customize these settings by selecting any of the change options given below
    first. You can view a summary of the settings by selecting
    "Show pre-install summary".
    --------------------------------------------------------------------------------
    1. Start installation Now

    2. Change install directory      [ /opt/intel/composer_xe_2011_sp1.10.319 ]
    3. Change components to install  [ All ]
    4. Show pre-install summary

    h. Help
    b. Back to the previous menu
    q. Quit
    --------------------------------------------------------------------------------
    Please type a selection or press "Enter" to accept default choice [1]: 输入2,回车,可以修改安装目录
    Please type the full path to the installation directory starting with "/" : /opt/intel/composer_xe_2011_sp1.10.319,修改完后回车。

    Step no: 4 of 6 | Options
    --------------------------------------------------------------------------------
    You are now ready to begin installation. You can use all default installation
    settings by simply choosing the "Start installation Now" option or you can
    customize these settings by selecting any of the change options given below
    first. You can view a summary of the settings by selecting
    "Show pre-install summary".
    --------------------------------------------------------------------------------
    1. Start installation Now

    2. Change install directory      [
    /opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.319 ]
    3. Change components to install  [ All ]
    4. Show pre-install summary

    h. Help
    b. Back to the previous menu
    q. Quit
    --------------------------------------------------------------------------------
    Please type a selection or press "Enter" to accept default choice [1]: 输入 1 ,回车,开始安装。

    Step no: 5 of 6 | Installation
    --------------------------------------------------------------------------------
    Each component will be installed individually. If you cancel the installation,
    components that have been completely installed will remain on your system. This
    installation may take several minutes, depending on your system and the options
    you selected.
    --------------------------------------------------------------------------------
    Installing Intel Fortran Compiler XE 12.1 Update 4 on Intel(R) 64 component... done
    --------------------------------------------------------------------------------
    Installing Intel Debugger 12.1 Update 4 on Intel(R) 64 component... done
    --------------------------------------------------------------------------------
    Installing Intel Math Kernel Library 10.3 Update 10 on Intel(R) 64 component... done
    --------------------------------------------------------------------------------
    Press "Enter" key to continue  <回车> 继续

    Step no: 6 of 6 | Complete
    --------------------------------------------------------------------------------
    Thank you for installing and for using the
    Intel(R) Composer XE 2011 Update 10 for Linux*.

    Support services start from the time you install or activate your product, so
    please create your support account now in order to take full advantage of your
    product purchase. Your Subscription Service support account provides access to
    free product updates interactive issue management, technical support, sample
    code, and documentation.

    To create your support account, please visit the Subscription Services web site
    https://registrationcenter.intel.com/RegCenter/registerexpress.aspx?media=RB4

    To get started using Intel(R) Composer XE 2011 Update 10 located in
    /opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.319:
    - Set the environment variables for a terminal window using one of the following
      (replace "intel64" with "ia32" if you are using a 32-bit platform).
         For csh/tcsh:
            $ source install-dir/bin/compilervars.csh intel64
         For bash:
            $ source install-dir/bin/compilervars.sh intel64
         To invoke the installed compilers:
            For C++: icpc
            For C: icc
            For Fortran: ifort
      To get help, append the -help option or precede with the man command.
    - To view a table of getting started documents:
      install-dir/Documentation/en_US/documentation_f.htm.

    Movies and additional training are available on our website at
    www.intel.com/software/products.
    --------------------------------------------------------------------------------
    q. Quit [default]
    --------------------------------------------------------------------------------
    Please type a selection or press "Enter" to accept default choice [q]: 回车

    安装完毕。

    ifort 安装在 /opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.319 目录下

    (3) 使用ifort

    进入 /opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.319 目录,

    执行 source bin/compilervars.sh intel64 命令,设置环境变量,该脚本设置了如下环境变量:

    LD_LIBRARY_PATH  运行时需要
    LIBRARY_PATH     编译时连接时需要
    NLSPATH     
    MANPATH
    INCLUDE
    FPATH
    CPATH
    PATH

    LD_LIBRARY_PATH=/opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.319/compiler/lib/intel64:/opt/intel/composer_xe_2011_sp1.10.319/compos

    er_xe_2011_sp1.10.319/compiler/lib/intel64:/opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.319/mkl/lib/intel64:/opt/intel/composer_xe_

    2011_sp1.10.319/composer_xe_2011_sp1.10.319/debugger/lib/intel64:/opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.319/mpirt/lib/intel64
    LIBRARY_PATH=/opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.319/compiler/lib/intel64:/opt/intel/composer_xe_2011_sp1.10.319/composer_

    xe_2011_sp1.10.319/compiler/lib/intel64:/opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.319/mkl/lib/intel64
    NLSPATH=/opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.319/compiler/lib/intel64/locale/%l_%t/

    %N:/opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.319/mkl/lib/intel64/locale/%l_%t/

    %N:/opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.319/debugger/intel64/locale/%l_%t/%N
    MANPATH=/opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.319/man/en_US:/opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.3

    19/man/en_US:/development/gcc-

    4.3.0/man:/local/zkl/mpich2/man:/opt/jdk1.6.0_20/man:/usr/share/man/zh_CN:/usr/share/man:/usr/kerberos/man:/usr/local/share/man:/usr/X11R6/man:/usr/m

    an:/usr/local/man:
    INCLUDE=/opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.319/mkl/include
    FPATH=/opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.319/mkl/include
    CPATH=/opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.319/mkl/include
    PATH=/opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.319/bin/intel64:*****

    设置了这些环境变量后,可以保证编译程序时,不出现问题。

    一些函数文档:http://software.intel.com/sites/products/documentation/hpc/compilerpro/en-us/fortran/win/compiler_f/lref_for/source_files/rfseed.htm


    PS:

    ifort 支持 openMP,MPICH2 也支持 ifort,ifort编译高效,因此,使用 ifort 也是一个不错的选择。

    Intel的C编译器是 icc,也是不错的产品,下载链接是 http://registrationcenter-download.intel.com/akdlm/irc_nas/2567/l_ccompxe_intel64_2011.10.319.tgz 。

    Intel一系列的产品均有非商业版,例如VTune等,均可免费下载,

    VTune下载链接是:http://registrationcenter-download.intel.com/akdlm/irc_nas/2526/vtune_amplifier_xe_2011_update8.tar.gz

    建议得到下载链接后,用 wget 下载。

    Non-Commercial Software Download

    The Intel® Software Development Products listed below are available for free non-commercial download. Click on a product to initiate the download process. Non-commercial licenses are subject to theterms of non-commercial software development.

    Product Suites


    Compilers and Libraries


    Performance Libraries


    Performance Profilers


    Thread and Memory Checkers



    参考:http://xbbian.blog.hexun.com/18379789_d.html


    展开全文
  • fortran 编译器安装(转载)

    千次阅读 2010-05-27 23:24:00
    Linux操作系统安装盘中,一般自带有Fortran编译器,SuSe9.1以前为g77,Suse9.2以后为gfortran。但是,由于g77和gfortran编译的程序运行效率不高,一般情况不会选择安装这二个编译器,而是安装专业的Fortran...
  • Intel Fortan Compiler简称ifort, Windows的ifort是收费的,但是Linux系统提供免费的ifort,可以在下面的链接中下载需要的版本(必须先注册,随后会收到官网发来的邮件,里面提供了接下来安装需要的series-number)...
  • Linux Ubuntu安装Fortran90编译器

    千次阅读 2019-01-20 16:55:28
    1.安装包intel_fortran_xe_2013_for_linux解压 去intel官网下载:https://software.intel.com/en-us/fortran-compilers/choose-download 学生是免费的,需要注册 2.执行安装脚本:./install.sh 3.根据需要...
  • linux下gcc编译器的使用 在为Linux开发应用程序时,绝大多数情况下使用的都是C语言,因此几乎每一 位Linux程序员面临的首要问题都是如何灵活运用C编译器。目前Linux下最常用的C语言编译器是GCC(GNU Compiler ...
  • 问题 -------------------------------------------------------------------------------- Installing Intel IPP single-threaded libraries for IA-32: General package component... done ----------------------...
  • GNU编译器套件包括C、C++、 Objective-C、 Fortran、Java、Ada和Go语言前端,也包括了这些语言的库。在Linux上进行开发离不开GCC,本文将给出gcc的安装和基本使用方法。 目录一、gcc编译器的安装二、GCC基本使用方法...
  • Linux】GCC编译器

    2016-05-05 21:55:00
     GCC是Linux下的编译工具集,是GNU Compiler Collection的缩写,包含gcc g++ 等编译器。GCC工具集不仅能编译C/C++语言,其他例如Object-c、Pascal、Fortran、Java、Ada等语言进行编译。GCC在可以根据不同的硬件平台...
  • gcc是GNU Compiler Collection,原名为Gun C语言编译器,因为它原本只能处理C语言,但gcc很快地...而 Linux cc 一般是一个符号连接,指向 gcc;可以通过$ ls -l /usr/bin/cc来简单查看,该变量是 make 程序的内建...
  • 目前对于Fortran编译编译器的选择比较多,并且它们之间没有统一的规范,即在某个编译器的代码能正常运行,但在另一个编译器运行却会报错,没有形成一个统一的良好的Fortran编译器环境。 目前Fortran编译器有...
  • 本文的目的:在linux下编译单个的fortran程序,及运行软件环境 操作系统:redhat-release-3AS-13.6.2编译器:intel fortran1.编译器的安装,这个网上很多,就不写了,随便搜搜就有,需要注意的是安装路径,及安装后...
  • SLES10 Linux(kernel-2.6.16.21-0.8)平台搭建Fortran并行编译环境一.Fortran编译器的安装Linux安装盘一般都自带有Fortran编译器,在SuSe9.1以前均带有g77,在Suse9.2以后为gfortran。但是,相对来说,由于g77和...
  • LinuxC的gcc编译器

    2016-09-27 21:46:18
    gcc不仅功能强大,而且可以编译如C、C++、Object C、Java、Fortran、Pascal、Modula-3和Ada等多种语言,而且gcc又是一个交叉平台编译器,它能够在当前CPU平台上为多种不同体系结构的硬件平台开发软件,因此尤其适合...
  • 目前,GCC可以用来编译C/C++、FORTRAN、JAVA、OBJC、ADA等语言的程序
  • Linux下编译命令make,make install,./configure GCC以及依赖环境MPFR 、GMP 、MPC下载地址 安装及我所遇到问题总结 零 什么是GCC GCC(GNUCompiler Collection,GNU编译器套件)是由GNU开发的编程语言...
  • _首先,最权威清晰的安装文档还是官方的:那这个文档最开始就告诉我们,自NetCDF库4.2版本以后,Fortran的库和C的库就要分开build啦!而且要装Fortran的库必须先装好C的库。所以先装C的库咯:仍然官方文档:那这个...
  • gcc - 用于linux系统编程的编译器

    千次阅读 2011-05-12 23:56:00
    概述 GCC(GNU Compiler Collection,GNU编译器套装),是一套由 GNU 开发的编程语言编译器。它是一套 GNU编译器套装以 GPL 及 LGPL 许可证所发行的...之后也变得可处理 Fortran、Pascal、Objective-C、Java, 以及 Ad
  • _首先,最权威清晰的安装文档还是官方的:那这个文档最开始就告诉我们,自NetCDF库4.2版本以后,Fortran的库和C的库就要分开build啦!而且要装Fortran的库必须先装好C的库。所以先装C的库咯:仍然官方文档:那这个...
  • Linux下搭建Fortran开发环境

    万次阅读 2005-02-05 13:50:00
    Fortran是最早的计算机高级语言之一,至今已经有40年左右的历史了,其中经历了Fortran 66、Fortran 77、Fortran 90和Fortran 95。Fortran 200x目前还在草案过程中。在科学计算领域,... 主流的Fortran 90/95编译器
  • 原名为GNU C语言编译器(GNU C Compiler),当时只能处理C,后来经过扩展后可以处理C++、Fortran、Pascal、Objective-C、Java等语言。详细信息参见官网:http://gcc.gnu.org/许多Linux发布版本...
  • 原名为GNU C语言编译器(GNU C Compiler),当时只能处理C,后来经过扩展后可以处理C++、Fortran、Pascal、Objective-C、Java等语言。详细信息参见官网:http://gcc.gnu.org/许多Linux发布版本...
  • 这些日子,负责将199几年的fortran77格式的六个fortran计算处理程序从windows下cvf编译运行的,通过修改但不能违背源程序功能的原则下将其移植到linux下,我选择了gfortran作为linux下编译器,本来我想用g77编译器...
  • GCC:由GNU之父Stallman所开发的linux下编译器,全称为GNU Compiler Collection, 目前可以编译的语言包括:C, C++, Objective-C, Fortran, Java以及Ada。 GCC 4.3.0是一个大的版本,包含了大量GCC 4.2.x以及之前...

空空如也

空空如也

1 2 3 4 5 ... 10
收藏数 194
精华内容 77
关键字:

linux下fortran编译器

linux 订阅