78
M. Nakao and H. Murai
3.4.1 Build and Install
$ ./configure --prefix=(INSTALL PATH)
$ make
$ make install
3.4.2 Set PATH
• bash and zsh
$ export PATH=(INSTALL PATH)/bin:$PATH
• csh and tcsh
% setenv PATH (INSTALL PATH)/bin:$PATH
3.5 Optional Installation
3.5.1 OpenACC
Please add “--enable-openacc” and “--with-cuda=(CUDA PATH)”
options to “./configure”.
$ ./configure --enable-openacc --with-cuda=(CUDA PATH)
$ make
$ make install
It may be possible to generate a more suitable runtime library by adding options
to “nvcc” command, which is used to generate the runtime library for OpenACC
and XACC. In that case, please also add the “--with-gpu-cflags=(NVCC
CFLAGS)” option.
Précédent

- 85/265

Suivant