KnutAM / AbaqusRolloverSimulation

https://abaqusrolloversimulation.readthedocs.io/en/latest/index.html
MIT License
5 stars 2 forks source link

I got the following errors when I tried to submit a job with the subroutine usub_3d.for #5

Open wenli718 opened 1 year ago

wenli718 commented 1 year ago

Thank you. I got the following errors when I tried to submit a job with the subroutine usub_3d.for.


LINK : warning LNK4044: 无法识别的选项“/DEBUG/nologo”;已忽略 正在创建库 standardU.lib 和对象 standardU.exp usub_3d.obj : error LNK2019: 无法解析的外部符号 GETOUTDIR,函数 USUB_UTILS_MOD_mp_GET_FID 中引用了该符号 usub_3d.obj : error LNK2019: 无法解析的外部符号 XIT,函数 USUB_UTILS_MOD_mp_GET_FID 中引用了该符号 usub_3d.obj : error LNK2019: 无法解析的外部符号 DGESV,函数 BC_MOD_mp_GET_FDOFS 中引用了该符号 usub_3d.obj : error LNK2019: 无法解析的外部符号 DBFILE,函数 URDFIL_MOD_mp_GET_NODE_DATA 中引用了该符号 usub_3d.obj : error LNK2019: 无法解析的外部符号 POSFIL,函数 URDFIL_MOD_mp_GET_DATA_FIRST_TIME 中引用了该符号 standardU.dll : fatal error LNK1120: 5 个无法解析的外部命令


I'm not sure what's wrong with my settings.

KnutAM commented 1 year ago

It looks like mkl is not installed correctly (and possible even something for the regular abaqus subroutine since XIT is not there either). Did you check that abaqus verify -user_std works ?

I realize now that I cannot find in the documentation the requirements for having mkl, which seems to be the issue. So you should add "/Qmkl" to the compile_fortran list in your abaqus_v6.env file This can be done by writing e.g.

compile_fortran = compile_fortran + ["/Qmkl",]

If your fortran compiler is v16 or newer, you should probably add

compile_fortran = compile_fortran + ["/Qmkl","/nostandard-realloc-lhs", "/names:lowercase"]

instead.