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
英特尔mkl fortran库_Fortran_Intel Mkl - Fatal编程技术网

英特尔mkl fortran库

英特尔mkl fortran库,fortran,intel-mkl,Fortran,Intel Mkl,我使用Fortran来估计主权风险的概率;因此,我编写了我的程序,并以以下形式调用mkl_vsl: : : include 'mkl_vsl.fi' : : USE MKL_VSL_TYPE USE MKL_VSL : : 代码块GNU fortran编译器向我发送错误消息: ||=== Build: Debug in thesis (compiler: GNU Fortran Compiler) ===| C:\___\___\____\___\___\mod_nonlinear_solve

我使用Fortran来估计主权风险的概率;因此,我编写了我的程序,并以以下形式调用mkl_vsl:

:
:
include 'mkl_vsl.fi'
:
:
USE MKL_VSL_TYPE
USE MKL_VSL
:
:
代码块GNU fortran编译器向我发送错误消息:

||=== Build: Debug in thesis (compiler: GNU Fortran Compiler) ===|
C:\___\___\____\___\___\mod_nonlinear_solver.f90|6|Error: Can't open included file 'mkl_vsl.fi'|
||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

您需要指定gfortran搜索包含文件的目录:。我猜代码块中的编译步骤没有设置该设置

$gfortran-I$(MKLROOT)/include
其中
MKLROOT
变量类似于

$echo$MKLROOT
/opt/exports/intel20/compilers_和_libraries_2020.1.217/linux/mkl

您需要指定gfortran搜索包含文件的目录:。我猜代码块中的编译步骤没有设置该设置

$gfortran-I$(MKLROOT)/include
其中
MKLROOT
变量类似于

$echo$MKLROOT
/opt/exports/intel20/compilers_和_libraries_2020.1.217/linux/mkl