\uD83E\uDD14 Problem
...
Problem
An issue has arisen on earlier releases of Imatest where common modules and utilities that formerly worked are now freezing. If this is the case on your machine, please try the solution below.
Solution
To resolve this issue, the code-signature for the version of libcudart.dylib needs to be updated. While this sounds complicated, it can be accomplished with a single terminal command. In order to run this command, you need to know the file path to the libcudart.dylib that comes with the MATLAB Runtime. The file paths for the most recent affected Imatest versions are in the table below:
Imatest version | library path |
---|---|
2021.1 | /Applications/MATLAB/MATLAB_Runtime/v99/bin/maci64/libcudart.10.2.dylib |
2020.2 | /Applications/MATLAB/MATLAB_Runtime/v98/bin/maci64/libcudart.10.1.dylib |
2020.1 | /Applications/MATLAB/MATLAB_Runtime/v97/bin/maci64/libcudart.10.1.dylib |
Info |
---|
If your Imatest version is not listed in the table above and you are experiencing the issue, then locate the file path to the copy of |
Once you know the file path, please perform the following steps on the mac on which you have installed Imatest:
Open a terminal window
Enter the following and then press `return`
Code Block language bash sudo codesign --deep -fs - <library path>
where
<library path>
should be replaced with the library path from the table above. Please note the spaces surrounding the trailing-
.
For example, for Imatest 2021.1, you would runCode Block language bash sudo codesign -fs - /Applications/MATLAB/MATLAB_Runtime/v99/bin/maci64/libcudart.10.2.dylib
[Optional] Verify that the library was successfully code-signed by running the following
Code Block language bash codesign --verbose --verify <library path>
If the code-signing operation was successful, you should see output similar toCode Block language bash codesign --verify --verbose /Applications/MATLAB/MATLAB_Runtime/v99/bin/maci64/libcudart.10.2.dylib /Applications/MATLAB/MATLAB_Runtime/v99/bin/maci64/libcudart.10.2.dylib: valid on disk /Applications/MATLAB/MATLAB_Runtime/v99/bin/maci64/libcudart.10.2.dylib: satisfies its Designated Requirement
Start Imatest as normal and attempt the operation that previously frozefrozen .
\uD83D\uDCCE Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|