Changes between Version 33 and Version 34 of Xen_GPU_cluster


Ignore:
Timestamp:
Mar 19, 2009, 5:55:45 PM (15 years ago)
Author:
rider
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Xen_GPU_cluster

    v33 v34  
    351351}}}
    352352
    353 = Part 3 CUDA !HowTo =
    354 == 3.1 NVIDIA CUDA Example ==
     353= Part 3 Running CUDA on Xen !HowTo =
     354
     355== 3.1 Create a virtual machine for CUDA ==
     356
     357rider@cloud:~$ sudo vim /etc/xen-tools/xen-tools.conf [[BR]]
     358{{{
     359dir = /home
     360install-method = debootstrap
     361size   = 6Gb      # Disk image size.
     362memory = 256Mb    # Memory size
     363swap   = 128Mb    # Swap size
     364fs     = ext3     # use the EXT3 filesystem for the disk image.
     365dist   = hardy    # Default distribution to install. ---> For CUDA Support (Ubuntu 8.0.4)
     366image  = sparse   # Specify sparse vs. full disk images.
     367gateway   = 140.XXX.XXX.XXX
     368netmask   = 255.255.255.0
     369broadcast = 140.XXX.XXX.XXX
     370kernel      = /boot/vmlinuz-`uname -r`
     371initrd      = /boot/initrd.img-`uname -r`
     372mirror = http://gb.archive.ubuntu.com/ubuntu/
     373ext3_options   = noatime,nodiratime,errors=remount-ro
     374ext2_options   = noatime,nodiratime,errors=remount-ro
     375xfs_options    = defaults
     376reiser_options = defaults
     377}}}
     378rider@cloud:~$ sudo xen-create-image --hostname cuda --ip 140.XXX.XXX.XXX [[BR]]
     379
     380== 3.2 NVIDIA CUDA Example ==
    355381'''In this case, We have to use "gcc-4.1" & "g++-4.1" instead of "gcc-4.3" to avoid getting stdio error.'''[[BR]]
    356382---> /usr/include/bits/stdio2.h(35): error: identifier "__builtin_va_arg_pack" is undefined [[BR]]