Re: [請益] abaqus2017連結VS2017&IVF2018

看板Cad_Cae作者 (Good Luck)時間3年前 (2021/01/22 16:24), 編輯推噓1(100)
留言1則, 1人參與, 3年前最新討論串2/2 (看更多)
Add the following line to a local abaqus_v6.env file: link_sl += ['/defaultlib:libucrt.lib', '/defaultlib:libvcruntime.lib', '/defaultlib:legacy_stdio_definitions.lib'] ※ 引述《caron0225 (淯仔)》之銘言: : 大家好 : 小弟的某個abaqus模擬需要用到user subroutine,因此安裝了 : Visual Studio 2017 (VS2017) 與 Intel Parallel Studio XE 2018 (IVF2018) : 已經確認 VS2017 與 IVF2018 連結順利,可以在 VS2017 新增 fortran 專案 : 接著小弟在 abq2017hf7.bat 加入語句 「@call ifortvars.bat intel64 vs2017」 : 嘗試將 abaqus2017 與 IVF2018 連結起來。 : 在 command 中輸入指令 「abaqus verify -user_std」確認是否連結成功 : 但是出現下列訊息: : ///////////////////////////////////////////////////////////////////////// : Analysis initiated from SIMULIA established products : Abaqus JOB std_user : Abaqus 3DEXPERIENCE R2017x HotFix 7 : Abaqus License Manager checked out the following licenses: : Abaqus/Standard checked out 5 tokens from Flexnet server DESKTOP-BO1GEG0. : <1019 out of 1024 licenses remain available>. : Begin Compiling Abaqus/Standard User Subroutines : 1/18/2021 10:05:54 PM : Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on : Intel(R) 64, Version 18.0.3.210 Build 20180410 : Copyright (C) 1985-2018 Intel Corporation. All rights reserved. : End Compiling Abaqus/Standard User Subroutines : Begin Linking Abaqus/Standard User Subroutines : 正在建立程式庫 standardU.lib 和物件 standardU.exp : standardU_static.lib(SMAStsStdU_IF.obj) : error LNK2019: 無法解析的外部符號 : __imp_printf 在函式 "void __cdecl SMABasOmniSetSSELevel(void)" : (?SMABasOmniSetSSELevel@@YAXXZ) 中被參考 : standardU_static.lib(SMAStsStdU_IF.obj) : error LNK2019: 無法解析的外部符號 : __imp_getenv 在函式 "void __cdecl SMABasOmniSetSSELevel(void)" : (?SMABasOmniSetSSELevel@@YAXXZ) 中被參考 : standardU_static.lib(SMAStsStdU_IF.obj) : error LNK2019: 無法解析的外部符號 : __imp__putenv 在函式 "void __cdecl SMABasOmniSetSSELevel(void)" : (?SMABasOmniSetSSELevel@@YAXXZ) 中被參考 : standardU_static.lib(ufluidpipefriction.obj) : error LNK2019: 無法解析的外部符 : 號 memmove 在函式 ufluidpipefriction 中被參考 : standardU_static.lib(umat_sst.obj) : error LNK2001: 無法解析的外部符號 memmove : standardU_static.lib(uxfemnonlocalweight.obj) : error LNK2001: 無法解析的外部 : 符號 memmove : standardU_static.lib(uanisohyper_inv.obj) : error LNK2001: 無法解析的外部符號 : memmove : standardU_static.lib(uanisohyper_strain.obj) : error LNK2001: 無法解析的外部符 : 號 memmove : standardU_static.lib(ufluidconnectorloss.obj) : error LNK2001: 無法解析的外部 : 符號 memmove : standardU_static.lib(ufluidconnectorvalve.obj) : error LNK2001: 無法解析的外部 : 符號 memmove : standardU.dll : fatal error LNK1120: 4 個無法解析的外部符號 : Abaqus Error: Problem during linking - Abaqus/Standard User Subroutines. : This error may be due to a mismatch in the Abaqus user subroutine arguments. : These arguments sometimes change from release to release, so user : subroutines : used with a previous release of Abaqus may need to be adjusted. : Begin MFS->SFS and SIM cleanup : 1/18/2021 10:05:56 PM : Run SMASimUtility.exe : 1/18/2021 10:05:56 PM : End MFS->SFS and SIM cleanup : Abaqus/Analysis exited with errors : ///////////////////////////////////////////////////////////////////////// : 似乎無法順利連結... : 請問版上大大們,有沒有不需要換 Visual Studio 版本的方法解決此問題!? : 在此先謝過版上大大 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 91.103.42.254 (法國) ※ 文章網址: https://www.ptt.cc/bbs/Cad_Cae/M.1611303876.A.562.html

01/23 15:53, 3年前 , 1F
Thanks for ur suggestion, it's very helpful!!
01/23 15:53, 1F
文章代碼(AID): #1W2el4LY (Cad_Cae)
文章代碼(AID): #1W2el4LY (Cad_Cae)