문제
Imatest 초기 버전에서 이전에 정상적으로 작동했던 일반 모듈 및 유틸리티가 멈추는 문제가 발생했습니다. 이러한 문제가 발생하는 경우 아래 해결 방법을 시도해 보세요.
해결책
이 문제를 해결하려면 libcudart.dylib 버전의 코드 서명을 업데이트해야 합니다. 복잡해 보이지만 터미널 명령 하나로 간단하게 해결할 수 있습니다. 이 명령을 실행하려면 MATLAB 런타임에 포함된 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 런타임 버전에서 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)
이 문제를 해결하기 위해 할 수 있는 일은 두 가지입니다.
MATLAB v97 런타임이 설치되어 있다면, v98에 필요한 이 파일과 동일한 파일이 포함되어 있을 것입니다. v97 런타임 디렉터리 내의 해당 폴더에서 이 파일을 복사하여 v98 런타임 디렉터리의 동일한 위치에 붙여넣으십시오.
위에 제시된 Imatest v2020.1의 파일 경로는 v97 런타임용 파일을 찾을 수 있는 위치입니다.
MATLAB v97 런타임이 설치되어 있지 않은 경우, MATLAB v98 런타임을 다시 설치하는 것이 좋습니다. 새로 설치하면 누락된 파일이 포함될 것입니다.
**위의 안내를 따른 후에도 문제가 지속되는 경우 support@imatest.com 으로 문의해 주세요.**