Applications/BUILDS

[OpenMPI] 설치 옵션 정리

CRAY KOREA Blog 2022. 2. 8. 17:54

 

 

내용 옵션 비고
"bash: orted: command not found" 오류 --enable-mpirun-prefix-by-default  
"#PBS -V" 안될 경우 --with-tm  
IB --with-verbs (1.8.x 버전 이후) (1.8.x 버전 이전 --with-openib)
OPA --with-psm2  
Lustre filesystem --with-lustre  
UCX --with-ucx  

 

- 참고 : OpenMPI 설치 옵션

$ export LD_LIBRARY_PATH=/opt/pbs/lib:$LD_LIBRARY_PATH
$ export LDFLAGS="-L/opt/pbs/lib -lpbs -lpthread -lcrypto"
$ ./configure -prefix=/apps/compiler/intel/18.0.3/openmpi/3.1.0 \
  --enable-dlopen --enable-binaries --enable-mpirun-prefix-by-default \
  --enable-mpi-fortran --enable-mpi-cxx --enable-mpi-cxx-seek \
  --enable-oshmem --enable-oshmem-compat --enable-oshmem-profile \
  --enable-oshmem-fortran --enable-shared --enable-static \
  --enable-wrapper-rpath  --with-tm=/opt/pbs \
  --with-lustre=/usr --with-psm2=/usr \
  --with-hwloc=/cm/shared/apps/hwloc/1.11.8 \
  --with-hwloc-include=/cm/shared/apps/hwloc/1.11.8/include \
  --with-hwloc-lib=/cm/shared/apps/hwloc/1.11.8/lib \
  --with-pic CC=icc CXX=icpc FC=ifort
$ make
$ make install