問題
Imatestの以前のバージョンにおいて、以前は正常に動作していた一般的なモジュールやユーティリティがフリーズする問題が発生しています。お使いのコンピューターでこの問題が発生している場合は、以下の解決策をお試しください。
解決
この問題を解決するには、libcudart.dylib の該当バージョンのコード署名を更新する必要があります。複雑に聞こえるかもしれませんが、これは単一のターミナルコマンドで実行できます。このコマンドを実行するには、MATLAB Runtime に付属する libcudart.dylib のファイルパスを知っている必要があります。影響を受ける最新の Imatest バージョンのファイルパスは、以下の表に記載されています。
Imatestバージョン | ライブラリパス |
|---|---|
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 |
お使いの Imatest のバージョンが上記の表に記載されておらず、問題が発生している場合は、お使いの Imatest のバージョンに付属していた MATLAB Runtime のバージョンでlibcudart.<major number>.<minor number>.dylib
ファイルパスがわかったら、ImatestをインストールしたMacで以下の手順を実行してください。
Open a terminal window
Enter the following and then press `return`
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 runsudo codesign --deep -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
codesign --verbose --verify <library path>
If the code-signing operation was successful, you should see output similar tocodesign --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 froze.
libcudart.10.2.dylibが存在しない場合(2020.2)
この問題を解決するには、次の2つの方法があります。
Matlab v97ランタイムがインストールされている場合、v98で必要なファイルと同じものが含まれているはずです。v97ランタイムディレクトリ内の該当フォルダからこのファイルをコピーし、v98ランタイムディレクトリ内の同じ場所に貼り付けてください。
上記で示したImatest v2020.1のファイルパスは、v97ランタイム用のこのファイルが存在する場所と同じです。
Matlab v97ランタイムがインストールされていない場合は、 Matlab v98ランタイムを再インストールすることをお勧めします。新規インストールには、不足しているファイルが含まれているはずです。
これらの手順に従っても問題が解決しない場合は、 support@imatest.com までお問い合わせください。