Comments (17)
@tonycurtis which OS/distro were you using?
from gdrcopy.
from gdrcopy.
Eventually I'll need to switch to autoconf/automake to take care of that.
from gdrcopy.
@tonycurtis We are switching to autoconf. Can you try this branch (https://github.com/pakmarkthub/gdrcopy/tree/dev-autotools) out and see whether it addresses your issue or not?
from gdrcopy.
Sure, will give it a go...
from gdrcopy.
Looks like it works, was able to compile gdrdrv
from gdrcopy.
Thank you for the confirmation.
Let me double-check just in case. Did you pass "--enable-test" to ./configure? Right now, copybw is not compiled by default since it is a test program.
from gdrcopy.
Oh, no. This is what configure gives me with --enable-test
configure: Test is enabled
checking for cuMemAlloc in -lcuda... yes
checking for cudaMalloc in -lcudart... no
configure: error: in `/usr/local/src/gdrcopy/autoconf':
configure: error: libcudart not found
See `config.log' for more details
There's nothing in the configure --help
output about where CUDA is
from gdrcopy.
It cannot find cuda. Could you make sure that LD_LIBRARY_PATH, LIBRARY_PATH, C_PATH points to your cuda folder and run the script again?
from gdrcopy.
LD_LIBRARY_PATH and CPATH were set, but not LIBRARY_PATH. The latter is required. I know this is a matter of autoconf debate but being able to set this via --with-cuda
would be nice.
from gdrcopy.
How do I run the tests?
eureka[1](/usr/local/src/gdrcopy/autoconf) make test
make: *** No rule to make target `test'. Stop.
eureka[1](/usr/local/src/gdrcopy/autoconf) make tests
make: Nothing to be done for `tests'.
eureka[1](/usr/local/src/gdrcopy/autoconf) make check
Making check in src
make[1]: Entering directory `/usr/local/src/gdrcopy/autoconf/src'
Making check in gdrdrv
make[2]: Entering directory `/usr/local/src/gdrcopy/autoconf/src/gdrdrv'
make[2]: *** No rule to make target `check'. Stop.
make[2]: Leaving directory `/usr/local/src/gdrcopy/autoconf/src/gdrdrv'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gdrcopy/autoconf/src'
make: *** [check-recursive] Error 1
eureka[1](/usr/local/src/gdrcopy/autoconf) cd tests
eureka[1](/usr/local/src/gdrcopy/autoconf/tests) make
CXX basic.o
CXXLD basic
CXX copybw.o
CXXLD copybw
/usr/bin/ld: copybw.o: undefined reference to symbol 'clock_gettime@@GLIBC_2.2.5'
/usr/bin/ld: note: 'clock_gettime@@GLIBC_2.2.5' is defined in DSO /lib64/librt.so.1 so try adding it to the linker command line
/lib64/librt.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [copybw] Error 1
from gdrcopy.
Thank you for the feedback. Let me improve the build script and contact you back again. Surprisingly, the machines we have tested so far do not show this problem.
from gdrcopy.
It might be the much older Fedora. I can give you an account for testing if you like.
from gdrcopy.
@tonycurtis Thank you for waiting. I eventually have time to come back to this issue.
Can you give it another try? If the issue is still there, can I ask for an account so that I can debug on your machine?
P.S. I also add "--with-cuda" as you requested.
from gdrcopy.
That looks good, thanks. You could presumably simplify autogen.sh to something like e.g.
from gdrcopy.
Thank you for the feedback as well.
I will close this issue after the PR gets merged upstream.
from gdrcopy.
The fix has been integrated to the master branch. Closing this issue.
from gdrcopy.
Related Issues (20)
- Facing issue when installing HOT 1
- Ubuntu 22 - dpkg: error processing package gdrdrv-dkms:amd64 (--install) during installation of gdrcopy HOT 3
- Why D2H is relatively slower? HOT 2
- Query: Confusion about sudo requirement HOT 3
- thinking about working with CUDA async API
- gdrcopy_sanity failed when GPU Compute Mode is set to EXCLUSIVE HOT 1
- Unable to compile GDRCOPY v2.4 HOT 2
- Minimal steps to install gdrdrv driver only please HOT 6
- Fail to access mapped memory from CPU side(Fail data_validation tests) HOT 14
- tests build failing when check.h is not available HOT 1
- How to understand the file "nv-p2p-dummpy.c" HOT 3
- Driver flavor detection fails for 545 series HOT 2
- bad performance(compare with cuMemcpy) on x86 system HOT 3
- GDRCopy 2.4 on Centos7 failing build of RPM packages HOT 2
- Increasing utilization - gdrcopy_copybw HOT 3
- Improve the error report of gdrcopy_pplat when the CUDA kernel cannot be launched
- Safe Mounting of /dev/gdrdrv in a kubernetes environment - HostPath appears to fail HOT 10
- How to effectively test if gdrcopy is enabled using Real world ML workload ? HOT 2
- Can't make with Intel Compiler HOT 4
- MAINT: gdr_unmap segfault on master branch via NVSHMEM 2.10.1 on Cray Slingshot 11 with cuFFTMp HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdrcopy.