zoukankan      html  css  js  c++  java
  • fortran imsl 程序库

     
        IMSL是美国Visual Numerics公司开发的业内最全面和最可靠的数学和统计算法程序库,是开发科学数值计算必备的开发包,历经36年的历史,被全球超过50多万的科研人员所采用,已成为该领域的工业标准。
        IMSL(International Mathematical and Statistical Libraries)程序库-IMSL C 语言程序库、IMSL FORTRAN 程序库与提供 Java 语言程序开发的JMSL以及IMSL C#程序库,在过去的三十年终早已成为数值分析解决方案中的工业标准。不论您是使用 C/C++ 、FORTRAN 、Java,和C# 语言在UNIX 、Windows 或者 Linux 平台上开发,IMSL 程序库皆提供最完整与最值得信赖的程序库。
        IMSL可从http://www.vni.com.tw/tw/downloads/下载。

        power station fortran 4.0专业版可使用IMSL函数库,在安装过程要选择ISML数据库和环境变量的设置。

        Compaq Visual Fortran的专业版自带数值计算函数库IMSL,可以方便的进行各种运算,例如,矩阵的求逆,矩阵相乘,方程组求解。许多函数,不需要自己编写,减少了工作量。

        如何使用IMSL(以Compaq Visual Fortran 6.5为例):
        安装IMSL的默认路径为C:\Program Files\VNI。
        (1) 在PORTRAN编译器主窗口,点击“tools-options-directories”,在“show directories for”框中选择library files,在设置directories的列表窗口,点击表示“浏览”的按钮,增加 IMSL libraries文件夹的路径,即C:\Program Files\VNI\CTT6.0\lib\IA32,然后点击“OK”。
        (2) 在PORTRAN编译器主窗口,点击“tools-options-directories”,在“show directories for”框中选择include files,在设置directories的列表窗口,点击表示“浏览”的按钮,增加 IMSL include文件夹的路径,即C:\Program Files\VNI\CTT6.0\include\IA32,然后点击“OK”。
        (3) 增加下列任何一个到主程序或source file。
            INCLUDE 'link_f90_static.h'(To use the single-processor, static library form of the libraries)
            INCLUDE 'link_f90_dll.h' (To use the single-processor, dynamic link library form of the libraries)
            INCLUDE 'link_f90_static_smp.h'(To use the multiprocessor, static library form of the libraries; the DLL form of the

    Intel MKL will always be used. Multiprocessor libraries are supported on IA-32 and Intel?Itanium?based systems only)
            INCLUDE 'link_f90_dll_smp.h'(To use the multiprocessor, dynamic link library form of the libraries; multiprocessor

    libraries are supported on IA-32 and Intel甛 Itanium?based systems only)
       (4) 确保下列project properties的设置。projects-settings-
            Fortran>External Procedures>Calling Convention>Default
            Fortran>External Procedures>Name Case Interpretation>Upper Case
            Fortran>External Procedures>String Length Argument Passing>After All Arguments
            Fortran>External Procedures>Append Underscores to External Names>No
            Fortran>Floating Point>Floating Point Exception Handling>Produce NaN, signed infinities, and denormal results
    Linker>System>Stack Reserve Amount>6000000 (this value may need to be adjusted upwards if stack overflow errors are seen)
        (5) 如果在(3)里选择的是the multiprocessor libraries,则必须设置下列project properties。
            projects-settings-
            Fortran>Language>Process OpenMP Directives>Generate Parallel Code
            Fortran>Preprocessor>Preprocess Source File>Yes

    摘自: http://scg8800.blog.163.com/blog/static/1036835120074274494392/

  • 相关阅读:
    gj10 python socket编程
    自定义Git
    使用GitHub
    标签管理之操作标签
    标签管理之创建标签
    标签管理
    git分支管理之多人协作
    git分支管理之Feature分支
    git分支管理之Bug分支
    git分支管理之分支管理策略
  • 原文地址:https://www.cnblogs.com/djcsch2001/p/2315156.html
Copyright © 2011-2022 走看看