프로그램 사용/openHPC
openmpi 및 예제
구차니
2020. 12. 22. 16:29
ㅋㅋㅋ lots of output
아무튼 configure에 --prefix로 설치될 경로를 넣어주고
make all install 하면 끝~
$ gunzip -c openmpi-4.1.0.tar.gz | tar xf -
$ cd openmpi-4.1.0
$ ./configure --prefix=/usr/local
<...lots of output...>
$ make all install
[링크 : https://www.open-mpi.org/faq/?category=building]
예제
# ./mpi_hello_world Hello world from processor master, rank 0 out of 1 processors |