1
1

Small fix for case where no libcuda.so.1 is found.

This commit was SVN r32461.
Этот коммит содержится в:
Rolf vandeVaart 2014-08-08 16:05:19 +00:00
родитель abedb97be4
Коммит ac16af0bff
2 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -440,6 +440,7 @@ int mca_common_cuda_stage_one_init(void)
errmsg = opal_argv_join(errmsgs, '\n');
opal_show_help("help-mpi-common-cuda.txt", "dlopen failed", true,
errmsg);
ompi_mpi_cuda_support = 0;
}
opal_argv_free(errmsgs);
free(errmsg);

Просмотреть файл

@ -168,6 +168,10 @@ MPI developers.
The library attempted to open the following supporting CUDA libraries,
but each of them failed. CUDA-aware support is disabled.
%s
If you are not interested in CUDA-aware support, then run with
--mca mpi_cuda_support 0 to suppress this message. If you are interested
in CUDA-aware support, then try setting LD_LIBRARY_PATH to the location
of libcuda.so.1 to get passed this issue.
#
[dlsym failed]
An error occurred while trying to map in the address of a function.