DMTCP-CRAC / CRAC-early-development

Other
22 stars 9 forks source link

split-cuda plugin #2

Open hmeij07 opened 3 years ago

hmeij07 commented 3 years ago
      DLOG(ERROR, "Failed to get path for %s. Error: %s\n",

I receive that error when typing make, it is looking for

[hmeij@n79 split-cuda]$ ls -l /proc/self/fd/0 lrwx------ 1 hmeij its 64 Dec 3 15:32 /proc/self/fd/0 -> /dev/pts/0

in utils/utils.cpp bottom of file in the checkLibrary section.

Can you help bypass or fix that? Thanks

-Henk

Linux n79 3.10.0-1062.9.1.el7.x86_64 #1 SMP Fri Dec 6 15:49:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

jrwellshpc commented 2 years ago

Twinkle asked me to use GCC 8 when running this, and she removed a dependency that fixed this for me, FYI. It's live on this repository now.

hmeij07 commented 2 years ago

Thanks! Was able to compile using gcc 9.2.0. The plain ./configure followed by make finished without errors. However it reports when entering dir contrib 'nothing to do for default'. When I cd into contrib/split-cuda and issue make, it finishes without errors. Is that how it works? Or where do I enable split-cuda so first make process picks it up?

-Henk

jrwellshpc commented 2 years ago

Twinkle is working on adsorbing this into the wider DMTCP git. I'm not sure how long it'll take but it should be a plugin enable flag when compiling that.