文档库 最新最全的文档下载
当前位置:文档库 › Abaqus与Fortran的设置

Abaqus与Fortran的设置


1、根据Abaqus版本的不同,官方对MVS和IVF的版本有一定的要求
Abaqus v6.11 可使用:MVS2008+IVF10.1 MVS2008+IVF11.1 这二种组合
Abaqus v6.10 可使用:MVS2008+IVF10.1 MVS2008+IVF11.1 这二种组合
Abaqus v6.9 可使用:MVS2005+IVF9.1 MVS2005+IVF10.1 MVS2008+IVF10.1 这三种组合
本人使用:Abaqus v6.11+MVS2008+IVF11.1.061


2、当Verification所有都pass的时候,仍然提示
Problem during compilation - ifort.exe not found in PATH
解决办法:找到ABAQUS安装目录下的Commands文件夹(例如D:\SIMULIA\Abaqus\Commands)下的abq6101.bat,右键,编辑此文件,插入下面这行(含空格)使之成为第一行
@call "X:\yourdir\Intel\Compiler\Fortran\你的版本号\IA32\Bin\ifortvars.bat"
例如本人使用:
@call "C:\Program Files\Intel\Compiler\11.0\061\fortran\Bin\IA32\ifortvars_ia32.bat"



另外:关于64位系统下安装,本人经验:
***********重中之重:64位系统的在安装Microsoft Visual Studio 2008 时一定要选择custom 自己选择64位 或是直接选择completely选项,不要选择default(系统默认值)


1. 寻找两个文件 .bat 文件
在我的计算机上路径如下:
1.1 Start--All Program--Abaqus 6.11-1-- Abaqus Verification (right click) -- Property
在出现的对话框中 点Shortcut子对话框 查看Target 中的内容, 我的是

D:\SIMULIA\Abaqus\Commands\abq6111.bat -verify -all -log && notepad.exe verify.log || notepad.exe verify.log

说明verification运行的是 abq6111.bat。 确认运行的哪个bat文件非常重要,因为如果版本不一样
commonds文件夹中有可能还会有不同的bat文件。 所以需要首先check
1.2 Start--All Program--Intel(R) Software Development Tools--Intel(R) Visual Fortran Compiler Professional
11.1.061 我的是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.0\061\fortran\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-2008 Intel Corporation. All rights re

served.
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.0.061
echo Copyright (C) 1985-2008 Intel Corporation. All rights reserved.
echo.

@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.0.061 build environment

echo.

SET IFORT_COMPILER11=C:\Program Files (x86)\Intel\Compiler\11.0\061\fortran

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

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

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

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





2、找到ABAQUS安装目录下的Commands文件夹(例如D:\SIMULIA\Abaqus\Commands)下的abq6111.bat,右键,编辑此文件,插入下面这行(含空格)使之成为第一行
@call "X:\yourdir\Intel\Compiler\Fortran\你的版本号\IA32\Bin\ifortvars.bat"
例如本人使用:
@call "C:\Program Files (x86)\Intel\Compiler\11.0\061\fortran\Bin\intel64\ifortvars_intel64.bat"




相关文档