设置调试环境
for中添加暂停代码
logical :: firstrun = .true.
integer tempvar
if(firstrun) then
write(*,*)"please input an integer:"
read(*,*)tempvar
firstrun = .false.
endif
tempvar =1234 !设置断点
在ABAQUS command中启动ABAQUS计算程序
在ABAQUS commond中加
call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" X64
call "C:\Program Files (x86)\Intel\Composer XE 2013 SP1\bin\ifortvars.bat" intel64 vs2012
在ABAQUS cae调用的luncher.bat中加入,ABAQUS Command中也需要写入下列两句才能调试
abaqus job=job-1 user=umat.for int
本文介绍如何在Visual Studio中设置断点并调试ABAQUS计算程序,包括在FOR循环中添加暂停代码,设置环境变量,以及在ABAQUS Command中启动计算程序的方法。


621

被折叠的 条评论
为什么被折叠?



