Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/fortran/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Fortran 为什么不能在ABAQUS子例程中调用MKL-FFTW3库_Fortran_Linker Errors_Fftw_Intel Mkl_Abaqus - Fatal编程技术网

Fortran 为什么不能在ABAQUS子例程中调用MKL-FFTW3库

Fortran 为什么不能在ABAQUS子例程中调用MKL-FFTW3库,fortran,linker-errors,fftw,intel-mkl,abaqus,Fortran,Linker Errors,Fftw,Intel Mkl,Abaqus,我在中找到了在ABAQUS子例程中调用MKL库的方法。 我按照这个方法添加了 compile_fortran=[...'/Qmkl:sequential'...] 它可以很好地与degsv等普通MKL库配合使用。但是当我 要调用MKL-FFTW3库,ABAQUS显示错误,我检查日志文件,错误如下 Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.0.

我在中找到了在ABAQUS子例程中调用MKL库的方法。 我按照这个方法添加了

compile_fortran=[...'/Qmkl:sequential'...]
它可以很好地与degsv等普通MKL库配合使用。但是当我 要调用MKL-FFTW3库,ABAQUS显示错误,我检查日志文件,错误如下

Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on 
Intel(R) 64, Version 19.0.1.144 Build 20181018
Copyright (C) 1985-2018 Intel Corporation.  All rights reserved.

End Compiling Abaqus/Standard User Subroutines
Begin Linking Abaqus/Standard User Subroutines
building library object standardU.lib and object standardU.exp
fft_elastic_subroutine.obj : error LNK2019: unresolved external symbol dfftw_plan_dft_3d,referenced in function fft3.R
fft_elastic_subroutine.obj : error LNK2019: unresolved external symbol dfftw_execute_dft,referenced in function fft3.R
fft_elastic_subroutine.obj : error LNK2019: unresolved external symbol dfftw_destroy_plan,referenced in function fft3.R
standardU.dll : fatal error LNK1120: 3 unresolved external symbols
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.
我使用了Visual Studio 2017、英特尔Visual Fortran 2019、ABAQUS 2019


感谢您的帮助。

所有这些FFTW3接口都集成到英特尔MKL中。它们在英特尔64体系结构的mkl_英特尔ilp64.lib、mkl_英特尔ilp64.lib、mkl_英特尔lp64.lib和mkl_rt.lib中定义

您可以尝试按照MKL链接器顾问提示手动链接MKL