Labfans是一个针对大学生、工程师和科研工作者的技术社区。 论坛首页 | 联系我们(Contact Us)
MATLAB爱好者论坛-LabFans.com
返回   MATLAB爱好者论坛-LabFans.com > 其它 > 资料存档
资料存档 资料存档
回复
 
主题工具 显示模式
旧 2019-11-26, 19:22   #1
poster
高级会员
 
注册日期: 2019-11-21
帖子: 3,006
声望力: 66
poster 正向着好的方向发展
默认 MATLAB on a Docker windows container

We have a some WCF services which we are trying to move to a Docker container. We are using mcr.microsoft.com/dotnet/framework/wcf as our base image and have been able to setup the WCF services.



But one of the services use a MATLAB library compiled to run on MCR 8.2 64 bit version. Whenever the service is hit, it generates an exception as



System.TypeInitializationException: The type initializer for 'MathWorks.MATLAB.NET.Utility.MWMCR' threw an exception. 
System.TypeInitializationException: The type initializer for 'MathWorks.MATLAB.NET.Arrays.MWArray' threw an exception.
System.DllNotFoundException: Unable to load DLL 'mclmcrrt8_2.dll': The specified module could not be found.


For the sake of POC, we are manually installing the MCR on the docker container by initiating a powershell session and then then manually updating the Path environment variable. We can see in the installation logs that MCR has installed successfully and path variable has also been updated. But the error stills states that it was not able to locate 'mclmcrrt8_2.dll'.



Any ideas on how to get MCR running on docker windows container?





More answer...
poster 当前离线   回复时引用此帖
回复


发帖规则
不可以发表新主题
不可以发表回复
不可以上传附件
不可以编辑自己的帖子

启用 BB 代码
论坛禁用 表情符号
论坛启用 [IMG] 代码
论坛启用 HTML 代码



所有时间均为北京时间。现在的时间是 21:40


Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.