我要加入 登录
声振论坛 返回首页

Lorraine的个人空间 http://home.vibunion.com/?112686 [收藏] [复制] [分享] [RSS]

日志

【转帖】abaqus verification------link abaqus with fortran

已有 3394 次阅读2012-11-14 10:37 |个人分类:Abaqus

在安装完abaqus后在进行verification时有可能碰到以下问题

Status:         Fail - Unable to locate or determine the version of a 
                Fortran compiler on this system.  If Intel Fortran is 
                installed on this system, please load ifortvars.bat before 
                running Abaqus.

这表示abaqus未能与fortran成功链接。

若需要链接abaqus with fortran 则安装完后需要进行以下设置。 当然有些在安装的时候已经设置好了。如果出现问题可以试试下面的方法。

以下过程主要目的是将ifortvars(可能有后缀,不通系统不一样)中的内容复制到 abaqus commond文件夹下的abaqus.bat(可能名称有区别) 文件,这样abaqus才能找到fortran。 之前搞了半天没弄明白,后来找了个非常nice的老外给弄好了,这老师那个亲切啊~~

我的系统:Windows 7 (64位) + Microsoft Visual studio 2008 + Intel(R) Fortran Compiler Professional 11.1.067 + Abaqus 6.10-1

1.  寻找两个文件 .bat 文件

     在我的计算机上路径如下:

       1.1   Start--All Program--Abaqus 6.10-1-- Abaqus Verification (right click) -- Property

               在出现的对话框中 点Shortcut子对话框  查看Target 中的内容, 我的是

               C:\SIMULIA\Abaqus\Commands\abq6101.bat -verify -all -log && notepad.exe verify.log || notepad.exe

               verify.log

               说明verification运行的是 abq6101.bat。 确认运行的哪个bat文件非常重要,因为如果版本不一样

               commonds文件夹中有可能还会有不同的bat文件。 所以需要首先check

      1.2    Start--All Program--Intel(R) Software Development Tools--Intel(R) Visual Fortran Compiler Professional

              11.1.067   我的是64位的,所以右键点击 Fortran Build Environment for applications running on Intel(R)

              64 -- Property  (如果是32位则选择另外一个,即Fortran Build Environment for applications running on

              Intel(R) IA-32)

             shortcut--target 中的内容为:

             C:\Windows\SysWOW64\cmd.exe /E:ON /V:ON /K ""C:\Program Files (x86)\Intel\Compiler\11.1\067

              \bin\ifortvars.bat" intel64"

               即需要在相应目录下寻找 ifortvars.bat,由于我的电脑是64位的  所以在bin文件夹下有两个文件夹ia32,

               intel 64以及 ifortvars.bat 文件。 对于我的电脑得在intel 64 中寻找 "ifortvars_intel64.bat"。 不同的系统

               可能稍有差异,有可能只需要找到ifortvars.bat 或者是找ifortvars_ia32.bat。可以都打开看看

我的ifortvars_intel64.bat文件内容为

@echo off
Rem
Rem Copyright  (C) 1985-2010 Intel Corporation. All rights reserved.
Rem
Rem The information and source code contained herein is the exclusive property
Rem of Intel Corporation and may not be disclosed, examined, or reproduced in
Rem whole or in part without explicit written authorization from the Company.
Rem

Rem Intel(R) Visual Fortran Intel(R) 64 Compiler Professional Build Environment for applications running on Intel(R) 64

echo.
echo Intel(R) Visual Fortran Intel(R) 64 Compiler Professional for applications running on Intel(R) 64, Version 11.1.067
echo Copyright (C) 1985-2010 Intel Corporation. All rights reserved.
echo.

if {%1} EQU {vs2008} (
  @call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x64
) else (
if {%1} EQU {vs2005} (
    @call echo. 
  ) else (
    @call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x64
  )
)

title Intel(R) Visual Fortran Intel(R) 64 Compiler Professional for applications running on Intel(R) 64, Version 11.1.067 build environment

echo.

SET IFORT_COMPILER11=C:\Program Files (x86)\Intel\Compiler\11.1\067

SET INTEL_LICENSE_FILE=C:\Program Files (x86)\Common Files\Intel\Licenses;%INTEL_LICENSE_FILE%

SET PATH=%IFORT_COMPILER11%\Bin\intel64;%PATH%

SET LIB=%IFORT_COMPILER11%\Lib\intel64;%LIB%

SET INCLUDE=%IFORT_COMPILER11%\Include;%IFORT_COMPILER11%\Include\Intel64;%INCLUDE%

 

 我的abq6101.bat文件内容为

@echo off
"C:\SIMULIA\Abaqus\6.10-1\exec\abq6101.exe" %*

2. 将ifortvars_intel64.bat文件内容复制粘贴到abaq6101.bat文件开头。如下

@echo off
Rem
Rem Copyright  (C) 1985-2010 Intel Corporation. All rights reserved.
Rem
Rem The information and source code contained herein is the exclusive property
Rem of Intel Corporation and may not be disclosed, examined, or reproduced in
Rem whole or in part without explicit written authorization from the Company.
Rem

Rem Intel(R) Visual Fortran Intel(R) 64 Compiler Professional Build Environment for applications running on Intel(R) 64

echo.
echo Intel(R) Visual Fortran Intel(R) 64 Compiler Professional for applications running on Intel(R) 64, Version 11.1.067
echo Copyright (C) 1985-2010 Intel Corporation. All rights reserved.
echo.

if {%1} EQU {vs2008} (
  @call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x64
) else (
if {%1} EQU {vs2005} (
    @call echo. 
  ) else (
    @call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x64
  )
)

title Intel(R) Visual Fortran Intel(R) 64 Compiler Professional for applications running on Intel(R) 64, Version 11.1.067 build environment

echo.

SET IFORT_COMPILER11=C:\Program Files (x86)\Intel\Compiler\11.1\067

SET INTEL_LICENSE_FILE=C:\Program Files (x86)\Common Files\Intel\Licenses;%INTEL_LICENSE_FILE%

SET PATH=%IFORT_COMPILER11%\Bin\intel64;%PATH%

SET LIB=%IFORT_COMPILER11%\Lib\intel64;%LIB%

SET INCLUDE=%IFORT_COMPILER11%\Include;%IFORT_COMPILER11%\Include\Intel64;%INCLUDE%
@echo off
"C:\SIMULIA\Abaqus\6.10-1\exec\abq6101.exe" %*

 

3. 点击abaqus verification 重新check, 结果可在verify.log文件中查询。(也可在commond session中输入 abaqus verify -install 会更快,而且结果直接在屏幕上输出) OK 结束。

一下为操作前和操作后的结果

操作前:

Abaqus Product Install Verification...

Tue Jun  7 12:10:49 2011

Running system requirement checks.

Requirement:    Windows Server 2003, Windows Server 2008, Windows Server
                2008 R2, Windows HPC Server 2008, Windows XP, Windows Vista,
                or Windows 7
Product:        All Abaqus Products
Status:         Pass - Found Windows 7 Professional  (Build 7600) (x64).

Requirement:    Microsoft Visual C++ 9.0 (2008), or 10.0 (2010)
Product:        Abaqus make utility with C++
Status:         Fail - Unable to locate or determine the version of a C++
                compiler on this system.  If Microsoft Visual C++ 8.0 (.NET
                2005) is installed on this system, please load
                vcvarsamd64.bat file before running Abaqus.

Requirement:    Intel Fortran Compiler 10.1, or 11.1
Product:        Abaqus make utility with Fortran and Abaqus with user
                subroutines
Status:         Fail - Unable to locate or determine the version of a
                Fortran compiler on this system.  If Intel Fortran is
                installed on this system, please load ifortvars.bat before
                running Abaqus.

Requirement:    MS-MPI 2.0, 3.0 or greater
Product:        Abaqus analyses using MPI-based parallelization and
                Abaqus/CFD
Status:         Pass - Found MS-MPI 2.1.1765.0.

Requirement:    Internet Explorer 6.0 or 7.0 or 8.0, Firefox 2.0 or 3.0 or
                3.5 or greater
Product:        Abaqus Documentation
Status:         Pass - Found Internet Explorer 8.0.7600.16766

Making C:\Temp\verify. All verification files will reside in this directory.

-----------------------------------------------------------------------------
Abaqus/Standard


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Standard with user subroutines


         ...INFORMATION

            System requirements were not met. Verification
            procedure will be skipped. However, user subroutines
            can be run using a precompiled library set by the
            variable usub_lib_dir. For more information please
            see the section 3.2.2 of Abaqus Analysis User's
            Manual.

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Explicit (single precision)


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Explicit (double precision)


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Explicit with user subroutines (single precision)


         ...INFORMATION

            System requirements were not met. Verification
            procedure will be skipped. However, user subroutines
            can be run using a precompiled library set by the
            variable usub_lib_dir. For more information please
            see the section 3.2.2 of Abaqus Analysis User's
            Manual.

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Explicit with user subroutines (double precision)


         ...INFORMATION

            System requirements were not met. Verification
            procedure will be skipped. However, user subroutines
            can be run using a precompiled library set by the
            variable usub_lib_dir. For more information please
            see the section 3.2.2 of Abaqus Analysis User's
            Manual.

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Viewer


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/CAE


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Geometry Translator for CATIA V4


         ...INFORMATION

            Product is not licensed. Verification procedure will
            be skipped.

         Continuing...

-----------------------------------------------------------------------------
Geometry Translator for CATIA V5


         ...INFORMATION

            Product is not licensed. Verification procedure will
            be skipped.

         Continuing...

-----------------------------------------------------------------------------
Direct Geometry Import for CATIA V5


         ...INFORMATION

            Product is not licensed. Verification procedure will
            be skipped.

         Continuing...

-----------------------------------------------------------------------------
Geometry Translator for I-DEAS


         ...INFORMATION

            Product is not licensed. Verification procedure will
            be skipped.

         Continuing...

-----------------------------------------------------------------------------
Geometry Translator for Parasolid


         ...INFORMATION

            Product is not licensed. Verification procedure will
            be skipped.

         Continuing...

-----------------------------------------------------------------------------
Geometry Translator for Pro/ENGINEER


         ...INFORMATION

            Product is not licensed. Verification procedure will
            be skipped.

         Continuing...

-----------------------------------------------------------------------------
SolidWorks Associative Interface


         ...INFORMATION

            Product is not licensed. Verification procedure will
            be skipped.

         Continuing...

-----------------------------------------------------------------------------
Abaqus/AMS


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus Interface for MSC.ADAMS


         ...INFORMATION

            Product is not licensed. Verification procedure will
            be skipped.

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Standard parametric studies


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Explicit parametric studies


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Design


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus Interface for Moldflow


         ...INFORMATION

            Product is not licensed. Verification procedure will
            be skipped.

         Continuing...

-----------------------------------------------------------------------------
Abaqus make utility with Fortran


         ...INFORMATION

            System requirements were not met. Verification
            procedure will be skipped.

         Continuing...

-----------------------------------------------------------------------------
Abaqus make utility with C++


         ...INFORMATION

            System requirements were not met. Verification
            procedure will be skipped.

         Continuing...

-----------------------------------------------------------------------------
Abaqus make utility with object code


         ...INFORMATION

            System requirements were not met. Verification
            procedure will be skipped.

         Continuing...

-----------------------------------------------------------------------------
Abaqus scripting interface


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus analyses using parallelization


      Running thread-based parallel with 2 cpu(s)

            Abaqus/Explicit domain-level parallel

         ...PASS

            Abaqus/Standard direct solver

         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Foundation


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus noGUI (CAE/Viewer)


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/CFD


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Clean-up...

Verification directory C:\Temp\verify has been deleted.

 

操作后:

Abaqus Product Install Verification...

Tue Jun  7 12:05:49 2011

Running system requirement checks.

Requirement:    Windows Server 2003, Windows Server 2008, Windows Server
                2008 R2, Windows HPC Server 2008, Windows XP, Windows Vista,
                or Windows 7
Product:        All Abaqus Products
Status:         Pass - Found Windows 7 Professional  (Build 7600) (x64).

Requirement:    Microsoft Visual C++ 9.0 (2008), or 10.0 (2010)
Product:        Abaqus make utility with C++
Status:         Pass - Found Microsoft Visual C++ 9.0.21022.8.

Requirement:    Intel Fortran Compiler 10.1, or 11.1
Product:        Abaqus make utility with Fortran and Abaqus with user
                subroutines
Status:         Pass - Found Intel Fortran Compiler 11.1 Build 20100806
                Package ID w_cprof_p_11.1.067.

Requirement:    MS-MPI 2.0, 3.0 or greater
Product:        Abaqus analyses using MPI-based parallelization and
                Abaqus/CFD
Status:         Pass - Found MS-MPI 2.1.1765.0.

Requirement:    Internet Explorer 6.0 or 7.0 or 8.0, Firefox 2.0 or 3.0 or
                3.5 or greater
Product:        Abaqus Documentation
Status:         Pass - Found Internet Explorer 8.0.7600.16766

Making C:\Temp\verify. All verification files will reside in this directory.

-----------------------------------------------------------------------------
Abaqus/Standard


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Standard with user subroutines


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Explicit (single precision)


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Explicit (double precision)


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Explicit with user subroutines (single precision)


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Explicit with user subroutines (double precision)


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Viewer


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/CAE


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Geometry Translator for CATIA V4


         ...INFORMATION

            Product is not licensed. Verification procedure will
            be skipped.

         Continuing...

-----------------------------------------------------------------------------
Geometry Translator for CATIA V5


         ...INFORMATION

            Product is not licensed. Verification procedure will
            be skipped.

         Continuing...

-----------------------------------------------------------------------------
Direct Geometry Import for CATIA V5


         ...INFORMATION

            Product is not licensed. Verification procedure will
            be skipped.

         Continuing...

-----------------------------------------------------------------------------
Geometry Translator for I-DEAS


         ...INFORMATION

            Product is not licensed. Verification procedure will
            be skipped.

         Continuing...

-----------------------------------------------------------------------------
Geometry Translator for Parasolid


         ...INFORMATION

            Product is not licensed. Verification procedure will
            be skipped.

         Continuing...

-----------------------------------------------------------------------------
Geometry Translator for Pro/ENGINEER


         ...INFORMATION

            Product is not licensed. Verification procedure will
            be skipped.

         Continuing...

-----------------------------------------------------------------------------
SolidWorks Associative Interface


         ...INFORMATION

            Product is not licensed. Verification procedure will
            be skipped.

         Continuing...

-----------------------------------------------------------------------------
Abaqus/AMS


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus Interface for MSC.ADAMS


         ...INFORMATION

            Product is not licensed. Verification procedure will
            be skipped.

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Standard parametric studies


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Explicit parametric studies


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Design


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus Interface for Moldflow


         ...INFORMATION

            Product is not licensed. Verification procedure will
            be skipped.

         Continuing...

-----------------------------------------------------------------------------
Abaqus make utility with Fortran


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus make utility with C++


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus make utility with object code


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus scripting interface


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus analyses using parallelization


      Running thread-based parallel with 2 cpu(s)

            Abaqus/Explicit domain-level parallel

         ...PASS

            Abaqus/Standard direct solver

         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/Foundation


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus noGUI (CAE/Viewer)


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Abaqus/CFD


         ...PASS

         Continuing...

-----------------------------------------------------------------------------
Clean-up...

Verification directory C:\Temp\verify has been deleted.

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 我要加入

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-12-18 13:47 , Processed in 0.046668 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部