summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-December/020800.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-December/020800.html')
-rw-r--r--zarb-ml/mageia-dev/2012-December/020800.html161
1 files changed, 161 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-December/020800.html b/zarb-ml/mageia-dev/2012-December/020800.html
new file mode 100644
index 000000000..58fa390b6
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-December/020800.html
@@ -0,0 +1,161 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] NVIDIA CUDA 5 has landed
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20NVIDIA%20CUDA%205%20has%20landed&In-Reply-To=%3C50CBAD22.6080307%40ono.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="020798.html">
+ <LINK REL="Next" HREF="020812.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] NVIDIA CUDA 5 has landed</H1>
+ <B>JA Magall&#243;n</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20NVIDIA%20CUDA%205%20has%20landed&In-Reply-To=%3C50CBAD22.6080307%40ono.com%3E"
+ TITLE="[Mageia-dev] NVIDIA CUDA 5 has landed">jamagallon at ono.com
+ </A><BR>
+ <I>Fri Dec 14 23:50:10 CET 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="020798.html">[Mageia-dev] NVIDIA CUDA 5 has landed
+</A></li>
+ <LI>Next message: <A HREF="020812.html">[Mageia-dev] NVIDIA CUDA 5 has landed
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#20800">[ date ]</a>
+ <a href="thread.html#20800">[ thread ]</a>
+ <a href="subject.html#20800">[ subject ]</a>
+ <a href="author.html#20800">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 12/14/2012 10:08 PM, Dimitri wrote:
+&gt;<i> Hi,
+</I>&gt;<i>
+</I>&gt;<i> Finally, NVIDIA CUDA Toolkit 5.0.35 has landed in Cauldron. I apologize
+</I>&gt;<i> for the delay, and ask everyone interested to test the packages
+</I>&gt;<i> (especially on x86_64).
+</I>&gt;<i>
+</I>
+Many thanks !!!
+
+&gt;<i> * GCC 4.7 is not supported. However, you can fool nvcc and compile a
+</I>&gt;<i> program with -D__GNUC_MINOR__=6;
+</I>
+I used to disable the check in CUDA itself, it is a simple patch, goes
+attached. So you dont have to tweak every compile line in yor project.
+BTW, CUDA works fine for me with gcc 4.7. The only problem I know is
+that cuda-gdb wont work with 4.7 because different formats in binaries
+(COFF/ELF related ???).
+
+&gt;<i>
+</I>&gt;<i> The work on the package is still not finished. The package contains an
+</I>&gt;<i> init script (nvidia) that creates device nodes and loads kernel module.
+</I>&gt;<i> This &quot;service&quot; is intended to be started on GUI-less compute nodes. I
+</I>&gt;<i> want to ask for assistance in migrating this script to systemd unit. As
+</I>&gt;<i> far as I know, with latest kernels and NVIDIA drivers the device nodes
+</I>&gt;<i> always get created automatically (never noticed them not being
+</I>&gt;<i> created). So probably the only thing left is to load kernel module.
+</I>&gt;<i> Seems like putting it into modules-load.d/* is a bad idea, because if
+</I>&gt;<i> the module is absent, systemd-modules-load.service will fail. Should we
+</I>&gt;<i> simply make a unit with ExecStart=/usr/sbin/modprobe nvidia-current instead?
+</I>
+I also used the script to workaround a problem with running CUDA on
+a system without X. If there is no X running on the nVidia card, CUDA
+programs take a looooot to launch. So the solution is to launch
+something like nvidia-smi at boot and let it running.
+
+Now you seem to be looking into packaging, I will tell about a problem
+I have. It can be at the same time very specific, but also very common.
+I have a box with Intel graphics, they work fine for 2D and desktop,
+and an nvidia card (a cheap but powerfull GT640), to crunch numbers.
+This can be a very common setup where someone has a box with
+intel graphics and an accelerator Tesla card. They want nVidia CUDA
+but not nVidia GL.
+
+So, I want the GL from Mesa for intel graphics, but libcuda from
+nVidia libraries. Problem: if /usr/lib64/nvidia-current is in the
+path (via alteratives), libGL also picks the nvidia one, not Mesa's.
+And that breaks desktop. I have to rm the nvidia GL libs.
+Also, cuda libraries are independent of GL ones, and should not go
+into nvidia-current, they could go just fine in /usr/lib[64].
+They should not even suggests x11-driver-nvidia, cause for example
+a server with a Tesla card needs the kernel module but not the x11
+driver.
+Then there is the problem of some utilities you need on a headless
+CUDA server that are now packaged into the x11-driver (nvidia-smi).
+In short, I would like a CUDA environment without the CUDA
+x11 driver and GL libraries. It can work fine.
+And as a side effect, now that drivers for 8xxx and 9xxx cards
+are different from the next generations, and both support CUDA,
+there should not be any cuda part in the driver package...
+
+So I would propose these, blame me if this is too complicated. All this
+can be done and checked in separate steps or package releases:
+
+- move libs in nvidia-current-cuda-opencl from /usr/lib[64]/nvidia-current
+ to /usr/lib[64]. None links against libGL, and work on an
+ environment with Mesa's libGL, and with alternatives for gl_conf
+ set to standard. They do not comflict with anybodyelse nor
+ any other package provides an alternative. And they can even
+ be used without an nVidia card with pthreads emulation.
+ (perhaps in the future if AMD or Intel give its own libOpenCL,but then
+ probaly OpenCL libraries would need to be split apart).
+- move libcuda.so symlink (and all from nvidia-current-devel related
+ to cuda libraries) to nvidia-cuda-toolkit-devel, also in /usr/lib).
+ So you don't need GL devel package and bunch of requires to build
+ CUDA apps...
+- move nvidia-smi/nvidia-xconfig to its own package (nvidia-cli-utils?),
+ they do not require GL not even X.
+- perhaps rename nvidia-cuda-tollkit-***** to nvidia-cuda-***** ;)
+ (I really think the -toolkit part is redundant...)
+
+So the target will be to be able to have a CUDA compute environment
+without the X or GL part of nvidia.
+
+Sorry for the long and boring mail, but I had this in mind since looong
+ago.
+
+TIA
+
+--
+J.A. Magallon &lt;jamagallon()ono!com&gt; \ Winter is coming...
+-------------- next part --------------
+A non-text attachment was scrubbed...
+Name: cuda-gcc-47.diff
+Type: text/x-patch
+Size: 613 bytes
+Desc: not available
+URL: &lt;/pipermail/mageia-dev/attachments/20121214/9be4482d/attachment.bin&gt;
+</PRE>
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="020798.html">[Mageia-dev] NVIDIA CUDA 5 has landed
+</A></li>
+ <LI>Next message: <A HREF="020812.html">[Mageia-dev] NVIDIA CUDA 5 has landed
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#20800">[ date ]</a>
+ <a href="thread.html#20800">[ thread ]</a>
+ <a href="subject.html#20800">[ subject ]</a>
+ <a href="author.html#20800">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>