Fora

Install Matlab on playOnlinux

To Couple FEMM & Matlab, FEMM works only on Windows

Autor Odpowiedzi
freomy Wednesday 30 May 2018 at 9:18
freomyAnonymous

Hi,

I am working on the coupling on linux of Matlab and FEMM which is a software of Finit Element.FEMM works only  on windows so i have instaled it on PlayOnLinux version 4.2.12, but when trying to do same with Matlab i had got some issues.

i am working on ubuntu 16.04.10 LTS, i am using wine 3.7 which i downlaod on PlayOnLinux.

here the debugger messages :

 

0028:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0028:fixme:kerberos:kerberos_SpInstanceInit 65536,0x7ff44cb532e0,(nil): stub
0028:fixme:dwmapi:DwmIsCompositionEnabled 0x6dbd1518
0033:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69ebd3de, context 0x8d66b0, init_notify 0, handle 0x11cfa20): stub
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory004b:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
004b:fixme:kerberos:kerberos_SpInstanceInit 65536,0xf5ba5a2c,(nil): stub
004b:fixme:dwmapi:DwmIsCompositionEnabled 0x6d5d3018
004d:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0cb608, context 0x9589b0, init_notify 0, handle 0x119fc88): stub
wine: configuration in '/home/eomys/.PlayOnLinux//wineprefix/matlab' has been updated.
0009:fixme:ver:GetCurrentPackageId (0x33fe24 (nil)): stub
0062:fixme:heap:RtlSetHeapInformation 0x6a60000 0 0x413deb8 4 stub
0062:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
0062:fixme:toolhelp:Heap32ListFirst : stub
0062:fixme:reg:GetActiveProcessorGroupCount semi-stub, always returning 1
0062:fixme:msvcrt:MSVCRT__set_abort_behavior _WRITE_CALL_REPORTFAULT unhandled
0062:fixme:shell:SetCurrentProcessExplicitAppUserModelID L"Mathworks.MATLAB.MATLAB.R2018a": stub
0062:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x413d794, 0x413d7b0 0x413d790
0062:fixme:nls:get_dummy_preferred_ui_language (0x38 0x413d794 0x413d7b0 0x413d790) returning a dummy value (current locale)
0062:fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for CEST, bias -161753, std (d/m/y): 17/02/2019, dlt (d/m/y): 15/07/2018
0062:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
0062:fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
0062:fixme:reg:GetActiveProcessorGroupCount semi-stub, always returning 1
0062:fixme:reg:GetActiveProcessorGroupCount semi-stub, always returning 1
0062:fixme:wbemprox:client_security_SetBlanket 0x7fa46c3b2370, 0xd4570, 10, 0, (null), 3, 3, (nil), 0x00000000
0062:fixme:wbemprox:client_security_Release 0x7fa46c3b2370
0062:fixme:wbemprox:client_security_SetBlanket 0x7fa46c3b2370, 0xd47b0, 10, 0, (null), 3, 3, (nil), 0x00000000
0062:fixme:wbemprox:client_security_Release 0x7fa46c3b2370
0067:fixme:win:RegisterDeviceNotificationA (hwnd=0x40054, filter=0x2b4df418,flags=0x00000004) returns a fake device notification handle!
0062:fixme:font:freetype_SelectFont Untranslated charset 255
0062:fixme:dwmapi:DwmIsCompositionEnabled 0x413cc18
0062:fixme:msvcrt:MSVCRT__set_abort_behavior _WRITE_CALL_REPORTFAULT unhandled
0062:fixme:ntdll:server_ioctl_file Unsupported ioctl 900a8 (device=9 access=0 func=2a method=0)
0062:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0062:fixme:win:EnumDisplayDevicesW ((null),0,0x4132680,0x00000000), stub!
0086:fixme:shell:SHGetPropertyStoreForWindow (0x4006e 0xe924f40 0x7fa3f378e108) stub!
0086:fixme:seh:RtlCaptureStackBackTrace (0, 128, 0x7fa3f378c750, (nil)) stub!
0086:fixme:seh:RtlCaptureStackBackTrace (0, 128, 0x7fa3f378bef0, (nil)) stub!
00c0:fixme:font:freetype_SelectFont Untranslated charset 255
00c0:fixme:dwmapi:DwmIsCompositionEnabled 0x18decf28
00bf:fixme:imm:ImmGetOpenStatus (0xa0ef0): semi-stub
00bf:fixme:imm:ImmReleaseContext (0x200e2, 0xa0ef0): stub
00b2:fixme:msvcrt:__clean_type_info_names_internal (0x70edca60) stub
00b2:fixme:msvcrt:__clean_type_info_names_internal (0x6d5505e0) stub
00b2:fixme:msvcrt:__clean_type_info_names_internal (0x70e975a0) stub
00b2:fixme:msvcrt:__clean_type_info_names_internal (0x7040d730) stub
00b2:fixme:msvcrt:__clean_type_info_names_internal (0x703f6970) stub
00b2:fixme:msvcrt:__clean_type_info_names_internal (0x70e7fb50) stub
00b2:fixme:msvcrt:__clean_type_info_names_internal (0x6d14edb0) stub
00b2:fixme:msvcrt:__clean_type_info_names_internal (0x70fa2690) stub
00b2:fixme:msvcrt:__clean_type_info_names_internal (0x6d7d5d20) stub
00b2:fixme:msvcrt:__clean_type_info_names_internal (0x70f1b670) stub
00b2:fixme:msvcrt:__clean_type_info_names_internal (0x70d10a30) stub

--------------------------------------------------------------------------------
Binary file (standard input) matches

 

 

 I have tried to change the wine version and use 3.8 and i have got :

 

0009:fixme:ver:GetCurrentPackageId (0x33fe24 (nil)): stub
002d:fixme:heap:RtlSetHeapInformation 0x6a60000 0 0x413deb8 4 stub
002d:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
002d:fixme:toolhelp:Heap32ListFirst : stub
002d:fixme:reg:GetActiveProcessorGroupCount semi-stub, always returning 1
002d:fixme:msvcrt:MSVCRT__set_abort_behavior _WRITE_CALL_REPORTFAULT unhandled
002d:fixme:shell:SetCurrentProcessExplicitAppUserModelID L"Mathworks.MATLAB.MATLAB.R2018a": stub
002d:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x413d794, 0x413d7b0 0x413d790
002d:fixme:nls:get_dummy_preferred_ui_language (0x38 0x413d794 0x413d7b0 0x413d790) returning a dummy value (current locale)
002d:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
002d:fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
002d:fixme:reg:GetActiveProcessorGroupCount semi-stub, always returning 1
002d:fixme:reg:GetActiveProcessorGroupCount semi-stub, always returning 1
002d:fixme:wbemprox:client_security_SetBlanket 0x7fd4141c7370, 0xd4550, 10, 0, (null), 3, 3, (nil), 0x00000000
002d:fixme:wbemprox:client_security_Release 0x7fd4141c7370
002d:fixme:wbemprox:client_security_SetBlanket 0x7fd4141c7370, 0xd4790, 10, 0, (null), 3, 3, (nil), 0x00000000
002d:fixme:wbemprox:client_security_Release 0x7fd4141c7370
0032:fixme:win:RegisterDeviceNotificationA (hwnd=0x10060, filter=0x2b4df418,flags=0x00000004) returns a fake device notification handle!
002d:fixme:font:freetype_SelectFont Untranslated charset 255
002d:fixme:dwmapi:DwmIsCompositionEnabled 0x413cc18
002d:fixme:msvcrt:MSVCRT__set_abort_behavior _WRITE_CALL_REPORTFAULT unhandled
002d:fixme:ntdll:server_ioctl_file Unsupported ioctl 900a8 (device=9 access=0 func=2a method=0)
002d:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
002d:fixme:win:EnumDisplayDevicesW ((null),0,0x4132680,0x00000000), stub!
0051:fixme:shell:SHGetPropertyStoreForWindow (0x20066 0xe924f40 0x7fd39b77de88) stub!
0051:fixme:seh:RtlCaptureStackBackTrace (0, 128, 0x7fd39b77c4d0, (nil)) stub!
0051:fixme:seh:RtlCaptureStackBackTrace (0, 128, 0x7fd39b77bc70, (nil)) stub!
008b:fixme:font:freetype_SelectFont Untranslated charset 255
008b:fixme:dwmapi:DwmIsCompositionEnabled 0x1966cd98
008a:fixme:imm:ImmGetOpenStatus (0xa0ef0): semi-stub
008a:fixme:imm:ImmReleaseContext (0x200e2, 0xa0ef0): stub
007d:fixme:msvcrt:__clean_type_info_names_internal (0x70edca60) stub
007d:fixme:msvcrt:__clean_type_info_names_internal (0x6d5505e0) stub
007d:fixme:msvcrt:__clean_type_info_names_internal (0x70e975a0) stub
007d:fixme:msvcrt:__clean_type_info_names_internal (0x7040d730) stub
007d:fixme:msvcrt:__clean_type_info_names_internal (0x703f6970) stub
007d:fixme:msvcrt:__clean_type_info_names_internal (0x70e7fb50) stub
007d:fixme:msvcrt:__clean_type_info_names_internal (0x6d14edb0) stub
007d:fixme:msvcrt:__clean_type_info_names_internal (0x70fa2690) stub
007d:fixme:msvcrt:__clean_type_info_names_internal (0x6d7d5d20) stub
007d:fixme:msvcrt:__clean_type_info_names_internal (0x70f1b670) stub
007d:fixme:msvcrt:__clean_type_info_names_internal (0x70d10a30) stub

--------------------------------------------------------------------------------
Binary file (standard input) matches

 

How can i fix it?

 

Thank you in advanced for your help!

 

freomy Wednesday 30 May 2018 at 9:20
freomyAnonymous

I m trying to install Matlab R2018a
 

booman Saturday 16 June 2018 at 1:45
booman

Did you know MatLab already runs in Linux natively?

 

Install tip 

Copy the installer folder to the Desktop

Open Terminal Ctrl+T

 

Type:

cd ~/Desktop/Installer/sys/java/jre/glnxa64/jre/bin/

 

Type:

sudo chmod +x ./java

Download the install file from http://www.mathworks.com/downloads/
Unzip and open downloaded directory to Desktop

Install

Run the installer as a super user

Open Terminal Ctrl+T

 

Type:

sudo ./install

 

Follow the instructions of the installer and install in /usr/local/MATLAB/R2014a

To add an entry to the launcher and some other features, install the matlab-support package:

sudo apt-get install matlab-support

During the installation you have to confirm the installation path of matlab and could restrict the installation only to certain users (which I did not require). In addition you could rename the GCC libraries, but I had no problems so far so I didn't deactivate those.

After completion, you have to change the ownership of the .matlab folder in the home folder to your own user account if you do not want to run Matlab as a super user.

sudo chown username -R ~/.matlab

Now Matlab should also be launchable through unity and should work as intended.

Edytowane przez booman


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained