OpenMP 4.0을 사용하기 위해 C++ Linux 용 인텔 ® 패러렐 스튜디오 XE 작성기 에디션을 설치했습니다. 내가 오류가 ./example 내가 실행할 때 내가공유 라이브러리를로드하는 동안 오류가 발생했습니다. libiomp5.so : 공유 오브젝트 파일을 열 수 없습니다. 해당 파일 또는 디렉토리가 없습니다.
icc example.c -openmp -o example
와 예제 코드를 컴파일 : 내가 먼저 module load intel
를 실행하지 않는 경우 HPC에서
./example: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
나를 위해 일했다. bashrc.local.blah에 모듈로드 인텔이 있음에도 불구하고 작업을 제출해도 여전히 libiomp5.so 오류가 발생했습니다. 작업 스크립트에 모듈로드 인텔을 배치해야했습니다. – amaleemur
제공된 링크에서'source /opt/intel/bin/compilervars.sh intel64'이 저에게 도움이되었습니다. 감사. – bejota