A good CUDA repo setup

General discussion Forum. All YDL related question which are not Install or Beginner questions.

A good CUDA repo setup

Postby ppietro » 13 Apr 2011, 02:26

Hi everyone,

More 'CUDA notes. This one's kind of a quickie - mostly for my reference.

I've been using the following repos with 'CUDA. This isn't the same way we configure YDL for PPC.

- EPEL
- RPM Fusion free
- RPM Fusion non-free
- Livna

NOTE: The Livna repo won't parse 'CUDA correctly - it guesses the wrong build number from the $releasever parameter. My livna.repo files looks like this:

/etc/yum.repos.d/livna.repo
Code: Select all
[livna]
name=rpm.livna.org for $releasever - $basearch
#baseurl=http://rpm.livna.org/repo/$releasever/$basearch/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/repo/$releasever/$basearch/
baseurl=http://rpm.livna.org/repo/5/x86_64/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/repo/5/x86_64/
#mirrorlist=http://rpm.livna.org/mirrorlist
failovermethod=roundrobin
enabled=1
priority=31
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna

[livna-debuginfo]
name=rpm.livna.org for $releasever - $basearch - Debug
#baseurl=http://rpm.livna.org/repo/$releasever/$basearch/debug/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/repo/$releasever/$basearch/debug/
mirrorlist=http://rpm.livna.org/mirrorlist-debug
failovermethod=roundrobin
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1

[livna-source]
name=rpm.livna.org for $releasever - $basearch - Source
#baseurl=http://rpm.livna.org/repo/$releasever/SRPMS/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/repo/$releasever/SRPMS/
mirrorlist=http://rpm.livna.org/mirrorlist-source
failovermethod=roundrobin
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1


Also - you'll want to install yum-priorities first thing. This is like protectbase but faster and more configurable. You'll notice the priority I have set in the livna repo.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: A good CUDA repo setup

Postby ppietro » 04 Jun 2011, 02:11

For reference, here's my complete repo setup. All of these are in the /etc/yum.repos.d subdirectory

yellowdog-base.repo

Code: Select all
#generated by system-config-ydlnet
[base]
name=Yellow Dog Linux for CUDA 6.2 Base
mirrorlist=http://www.ydl.net/resources/ydlcuda62-base-mlist
enabled=1
priority=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY


yellowdog-updates.repo

Code: Select all
#generated by system-config-ydlnet
[updates]
name=Yellow Dog Linux for CUDA 6.2 Updates
mirrorlist=http://www.ydl.net/resources/ydlcuda62-updates-mlist
enabled=1
priority=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY


epel.repo

Code: Select all
[epel]
name=Extra Packages for Enterprise Linux 5 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/5/$basearch
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch
failovermethod=priority
enabled=1
priority=11
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 5 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/5/$basearch/debug
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-5&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 5 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/5/SRPMS
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-source-5&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
gpgcheck=1


livna.repo

Code: Select all
[livna]
name=rpm.livna.org for $releasever - $basearch
#baseurl=http://rpm.livna.org/repo/$releasever/$basearch/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/repo/$releasever/$basearch/
baseurl=http://rpm.livna.org/repo/5/x86_64/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/repo/5/x86_64/
#mirrorlist=http://rpm.livna.org/mirrorlist
failovermethod=roundrobin
enabled=1
priority=31
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna

[livna-debuginfo]
name=rpm.livna.org for $releasever - $basearch - Debug
#baseurl=http://rpm.livna.org/repo/$releasever/$basearch/debug/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/repo/$releasever/$basearch/debug/
mirrorlist=http://rpm.livna.org/mirrorlist-debug
failovermethod=roundrobin
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1

[livna-source]
name=rpm.livna.org for $releasever - $basearch - Source
#baseurl=http://rpm.livna.org/repo/$releasever/SRPMS/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/repo/$releasever/SRPMS/
mirrorlist=http://rpm.livna.org/mirrorlist-source
failovermethod=roundrobin
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1


rpmfusion-free-updates.repo

Code: Select all
[rpmfusion-free-updates]
name=RPM Fusion for EL 5 - Free - Updates
#baseurl=http://download1.rpmfusion.org/free/el/updates/5/$basearch/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-5&arch=$basearch
enabled=1
priority=21
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el

[rpmfusion-free-updates-debuginfo]
name=RPM Fusion for EL 5 - Free - Updates Debug
#baseurl=http://download1.rpmfusion.org/free/el/updates/5/$basearch/debug/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-debug-5&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el

[rpmfusion-free-updates-source]
name=RPM Fusion for EL 5 - Free - Updates Source
#baseurl=http://download1.rpmfusion.org/free/el/updates/5/SRPMS/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-source-5&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el


rpmfusion-free-updates-testing.repo

Code: Select all
[rpmfusion-free-updates-testing]
name=RPM Fusion for EL 5 - Free - Test Updates
#baseurl=http://download1.rpmfusion.org/free/el/updates/testing/5/$basearch/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-testing-5&arch=$basearch
enabled=1
priority=21
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el

[rpmfusion-free-updates-testing-debuginfo]
name=RPM Fusion for EL 5 - Free - Test Updates Debug
#baseurl=http://download1.rpmfusion.org/free/el/updates/testing/5/$basearch/debug/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-testing-debug-5&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el

[rpmfusion-free-updates-testing-source]
name=RPM Fusion for EL 5 - Free - Test Updates Source
#baseurl=http://download1.rpmfusion.org/free/el/updates/testing/5/SRPMS/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-testing-source-5&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el


rpmfusion-nonfree-updates.repo

Code: Select all
[rpmfusion-nonfree-updates]
name=RPM Fusion for EL 5 - Nonfree - Updates
#baseurl=http://download1.rpmfusion.org/nonfree/el/updates/5/$basearch/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-released-5&arch=$basearch
enabled=1
priority=21
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el

[rpmfusion-nonfree-updates-debuginfo]
name=RPM Fusion for EL 5 - Nonfree - Updates Debug
#baseurl=http://download1.rpmfusion.org/nonfree/el/updates/5/$basearch/debug/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-released-debug-5&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el

[rpmfusion-nonfree-updates-source]
name=RPM Fusion for EL 5 - Nonfree - Updates Source
#baseurl=http://download1.rpmfusion.org/nonfree/el/updates/5/SRPMS/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-released-source-5&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el



rpmfusion-nonfree-updates.repo

Code: Select all
[rpmfusion-nonfree-updates-testing]
name=RPM Fusion for EL 5 - Nonfree - Test Updates
#baseurl=http://download1.rpmfusion.org/nonfree/el/updates/testing/5/$basearch/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-testing-5&arch=$basearch
enabled=1
priority=21
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el

[rpmfusion-nonfree-updates-testing-debuginfo]
name=RPM Fusion for EL 5 - Nonfree - Test Updates Debug
#baseurl=http://download1.rpmfusion.org/nonfree/el/updates/testing/5/$basearch/debug/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-testing-debug-5&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el

[rpmfusion-nonfree-updates-testing-source]
name=RPM Fusion for EL 5 - Nonfree - Test Updates Source
#baseurl=http://download1.rpmfusion.org/nonfree/el/updates/testing/5/SRPMS/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-testing-source-5&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el

cat rpmfusion-nonfree-updates-testing.repo
[rpmfusion-nonfree-updates-testing]
name=RPM Fusion for EL 5 - Nonfree - Test Updates
#baseurl=http://download1.rpmfusion.org/nonfree/el/updates/testing/5/$basearch/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-testing-5&arch=$basearch
enabled=1
priority=21
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el

[rpmfusion-nonfree-updates-testing-debuginfo]
name=RPM Fusion for EL 5 - Nonfree - Test Updates Debug
#baseurl=http://download1.rpmfusion.org/nonfree/el/updates/testing/5/$basearch/debug/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-testing-debug-5&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el

[rpmfusion-nonfree-updates-testing-source]
name=RPM Fusion for EL 5 - Nonfree - Test Updates Source
#baseurl=http://download1.rpmfusion.org/nonfree/el/updates/testing/5/SRPMS/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-testing-source-5&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-el


CentOS-Chromium.repo

Code: Select all
# CentOS-Chromium.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[chromium]
name=CentOS-5 - Custom Chromium kit from linux-powered.com
baseurl=ftp://ftp.linux-powered.com/CentOS/5.x/Chromium/$basearch/
gpgcheck=1
priority=66
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rk



Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: A good CUDA repo setup

Postby ACEFOMIQUZ » 13 Jun 2011, 16:02

Aha,I think it's useful for us.I've got to CUDA platform with TOSHIBA SpursEngine.That's a nice portfolio!
藍與紅如同水火不容,正藍者必憎紅!
User avatar
ACEFOMIQUZ
ydl addict
ydl addict
 
Posts: 101
Joined: 27 Oct 2008, 17:40


Return to General

Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron