kkkttt 发表于 2014-3-25 05:23

【转帖】子程序编程中要注意的几点


1. 并行计算中,不能用common块定义公共变量,今天刚看到的。User subroutines can be used when running jobs in parallel. However, the use of common block statements in the user subroutines or in subroutines called by the user subroutines must be avoided since it will result in unpredictable behavior of the executable.
2. 6.6以后的版本终止程序时尽量用XIT(ABAQUS/STANDARD)或 XPLB_EXIT(ABAQUS/EXPLICIT),而不要用stop命令,这样可以保证各个文件能正常被程序关闭。CALL XIT or CALL XPLB_EXIT

转自:http://chenjj.ecust.blog.163.com/blog/static/3773821520098139183117/
页: [1]
查看完整版本: 【转帖】子程序编程中要注意的几点