我是单声道和 ILNumerics 的新手。下载社区版后,我想从 ILNumerics 快速入门页面运行“Hello ILNumerics!-核心功能”应用程序。编译(使用 monodevelop 3.0.6)有效,但是当我在 x86 调试模式下启动程序时,我收到如下错误消息:
Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer
for ILNumerics.ILMath ---> ILNumerics.Exceptions.ILArgumentException: conversion from
Single to fcomplex is currently not supported.
at ILNumerics.ILMath.convert[Single,fcomplex] (ILNumerics.ILInArray`1 X) [0x00027] in
/home/dom/ILNumerics/Functions/builtin/convert.cs:910
at ILNumerics.ILMath.tofcomplex (ILNumerics.ILInArray`1 X) [0x00001] in /home/do
/ILNumerics/Functions/builtin/convert.cs:1633
at ILNumerics.Native.ILMKLFFT.FFTForward1D (ILNumerics.ILInArray`1 A, Int32 dim)
[0x00072] in /home/dom/ILNumerics/Native/FFT/ILMKLFFT.cs:657
at ILNumerics.ILMath.fft (ILNumerics.ILInArray`1 A) [0x0005d] in /home/dom/ILNumeric
/Functions/builtin/fft.cs:958
at ILNumerics.ILMath..cctor () [0x00199] in /home/dom/ILNumerics/Functions
/ILMath_General.cs:138
--- End of inner exception stack trace ---
at ConsoleApplication1.Program.Main (System.String[] args) [0x00001] in /home/do
/iltesrt/iltesrt/Main.cs:14
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception
was thrown by the type initializer for ILNumerics.ILMath --->
ILNumerics.Exceptions.ILArgumentException: conversion from Single to fcomplex is
currently not supported.
at ILNumerics.ILMath.convert[Single,fcomplex] (ILNumerics.ILInArray`1 X) [0x00027] in
/home/dom/ILNumerics/Functions/builtin/convert.cs:910
at ILNumerics.ILMath.tofcomplex (ILNumerics.ILInArray`1 X) [0x00001] in /home/do
/ILNumerics/Functions/builtin/convert.cs:1633
at ILNumerics.Native.ILMKLFFT.FFTForward1D (ILNumerics.ILInArray`1 A, Int32 dim)
[0x00072] in /home/dom/ILNumerics/Native/FFT/ILMKLFFT.cs:657
at ILNumerics.ILMath.fft (ILNumerics.ILInArray`1 A) [0x0005d] in /home/dom/ILNumeric
/Functions/builtin/fft.cs:958
at ILNumerics.ILMath..cctor () [0x00199] in /home/dom/ILNumerics/Function
/ILMath_General.cs:138
--- End of inner exception stack trace ---
at ConsoleApplication1.Program.Main (System.String[] args) [0x00001] in /home/dom/iltesrt/iltesrt/Main.cs:14
我在 SuSE 12.3 上执行此操作。32 位系统(但在 64 位机器上同样的错误)和单声道版本
dom@linux-b0sl:~/ILNumerics> mono --version
Mono JIT compiler version 3.0.4 (tarball Thu Mar 7 10:35:21 UTC 2013)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: Included Boehm (with typed GC and Parallel Mark)
任何建议将不胜感激。