Peter Rudenko

Results 65 comments of Peter Rudenko

@Madd works great with Cyrillic letters. Thank you.

Hi @Akshay-Venkatesh Go dynamically links only to ucp and ucs. SInce it doesn't use cuda API directly - only through ucp_mem_map, etc: https://github.com/openucx/ucx/blob/master/bindings/go/Makefile.am#L10-L11

So probably you would need to add to that file something like this: ``` if HAVE_CUDART CGOCFLAGS=$(CGOCFLAGS) $(CUDART_CPPFLAGS) CGOLDFLAGS=$(CGOLDFLAGS) $(CUDART_LDFLAGS) UCX_SOPATH=$(UCX_SOPATH) $(CUDART_LIBS) -l $(top_builddir)/src/uct/cuda/libuct_cuda.la endif ```

``` $UCX_TLS=cuda UCX_LOG_LEVEL=trace LD_LIBRARY_PATH=/hpc/local/oss/gdrcopy2.3_cuda11.4/lib:/hpc/local/oss/cuda11.4/lib64:/hpc/local/oss/cuda11.4/lib64/stubs:/hpc/mtr_scrap/users/peterr/devel/u cx-cuda-static/build/lib/:/hpc/mtr_scrap/users/peterr/devel/ucx-cuda-static/build/lib/ucx/ /hpc/mtr_scrap/users/peterr/devel/ucx-cuda-static/build/bindings/go/.libs/tmp/goperftest -m=cuda [1643915511.186673] [vulcan02:15421:0] stats.c:861 UCX TRACE statistics disabled [1643915511.186698] [vulcan02:15421:0] memtrack.c:409 UCX TRACE memtrack disabled [1643915511.186716] [vulcan02:15421:0] debug.c:1211 UCX DEBUG using signal stack 0x7f19a963a000...

Strange: `ucx_info -d | grep cuda` also empty. https://github.com/openucx/ucx/blob/master/buildlib/pr/go/go-test.yml#L35-L45 - build like this. ``` $module show dev/cuda11.4 ------------------------------------------------------------------- /hpc/local/etc/modulefiles/dev/cuda11.4: module-whatis add CUDA to your environment setenv CUDA_HOME /hpc/local/oss/cuda11.4 prepend-path PATH...

@Akshay-Venkatesh may be the issue with out of source build. Try ``` mkdir build cd build ../contrib/configure-devel --enable-debug --enable-debug-data --with-java=no --with-go --prefix=$PWD --with-cuda make install bin/ucx_info -d | grep cuda...

`UCX_LOG_LEVEL=trace LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/hpc/mtr_scrap/users/peterr/devel/ucx-cuda-static/build/lib:/hpc/mtr_scrap/users/peterr/devel/ucx-cuda-static/build/lib/ucx bin/ucx_info -d`: ``` [1643916642.815533] [vulcan02:17018:0] stats.c:861 UCX TRACE statistics disabled [1643916642.815554] [vulcan02:17018:0] memtrack.c:409 UCX TRACE memtrack disabled [1643916642.815570] [vulcan02:17018:0] debug.c:1211 UCX DEBUG using signal stack 0x7fa189830000 size 141824...

The issue is that `ucx_info -d` doesn't show cuda transport.

@Akshay-Venkatesh can you rerun `make distclean && make -j `nproc` && make install`

Here's a workaround we did in goperftest: https://github.com/openucx/ucx/blob/master/bindings/go/src/examples/perftest/perftest.go#L102 Probably would need to do something similar in java.