본문 바로가기
컴퓨터 & IT (Computer & IT)/병렬 프로그래밍

[MPI] MPI error under Cygwin

by Physics 2023. 2. 9.
728x90

When I started to compile MPI in cygwin, I saw the following error message, which indicated that proper libraries didn't exist; 

/cygdrive/c/cygwin64/bin/ld: cannot find -lhwloc: No such file or directory
/cygdrive/c/cygwin64/bin/ld: cannot find -levent_core: No such file or directory
/cygdrive/c/cygwin64/bin/ld: cannot find -levent_pthreads: No such file or directory
/cygdrive/c/cygwin64/bin/ld: cannot find -lz: No such file or directory
collect2: error: ld returned 1 exit status

 

Thus, in order to solve the problem, I downloaded the required libraries. 

(1) Install libhwloc-dev  
(2) Install libevent-devel (version: 2.1.12-1) 
  - then link problems for -levent_core and -levent_pthreads are resolved 
(3) install zlib-devel

 

728x90

댓글