[INSTALL] OpenMPI (w/ PBS, CUDA)
Compiler :
GCC
Library :
CUDA Toolkit
export LDFLAGS="-L/opt/pbs/lib -Wl,-rpath,/opt/pbs/lib"
export CFLAGS="-I/opt/pbs/include"
export LIBS="-lcrypto -lz -lpbs -lsec"
(PBS는 필수고 CUDA 경로 PATH, LD_LIBRARY_PATH 설정 안되어 있으면 추가로 설정)
#아래는 최적화 옵션 (설정 안해도 ok)
export CFLAGS="-O3 -fPIC -m64"
export FFLAGS="-O3 -fPIC -m64"
export FCFLAGS="-O3 -fPIC -m64"
export CXXFLAGS="-O3 -fPIC -m64"
./configure --prefix=/custom/install/path \
--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 \
--enable-openib-rdmacm \
--enable-openib-rdmacm-ibaddr \
.....(기타 필요한 옵션들)
--with-pic \
--with-cuda=/cuda/install/path \
--with-ucx=/usr \
--with-tm=/opt/pbs \
--enable-verbose
# lustre 파일시스템은
--with-lustre=/usr \
--with-io-romio-flags='--with-file-system=lustre' \
# hcoll 설치되어 있다면
--with-hcoll=/opt/mellanox/hcoll \
make -j4 V=1
make install
'Linux > Installation' 카테고리의 다른 글
[INSTALL] Miniconda 설치 (0) | 2024.08.09 |
---|---|
[INSTALL] VASP (0) | 2024.08.07 |
[INSTALL] fltk-1.3.7 (0) | 2024.08.02 |
[INSTALL] GROMACS 2023.3 (GPU) (0) | 2024.07.31 |
[INSTALL] QMCPACK (0) | 2024.07.27 |
댓글
이 글 공유하기
다른 글
-
[INSTALL] Miniconda 설치
[INSTALL] Miniconda 설치
2024.08.09 -
[INSTALL] VASP
[INSTALL] VASP
2024.08.07 -
[INSTALL] fltk-1.3.7
[INSTALL] fltk-1.3.7
2024.08.02 -
[INSTALL] GROMACS 2023.3 (GPU)
[INSTALL] GROMACS 2023.3 (GPU)
2024.07.31