Hello list. I've been playing with building AWS and trying to run them on GPU instances. It seems like I was able to create AMI which runs on cg1.4xlarge. It is ami-90dd35f8 on us-east-1 with Debian Wheezy. I built it using attached manifest. It seems like I forgot to add plugin "admin_user" so you login to root - can anyone confirm that lack of admin user is caused by not calling plugin and not by other mistake. I was able to install NVIDIA drivers and AMD OpenCL provider. I was also able to install and run PyOpenCL and PyCUDA, see attached info. I built this AMI using code from my repository https://github.com/rybaktomasz/bootstrap-vz.git branch grub-mapping, which contains code heavily influenced by Mike Christopher's PR https://github.com/andsens/bootstrap-vz/pull/35 So - the task for now is to clean this code, thinking about why there is bad mapping of devices in chroot. I'll look into it at the end of the week, and shall let you know if I discover something. Best regards. Manifest: { "provider": "ec2", "virtualization": "hvm", "credentials": { "access-key":null, "secret-key":null }, "bootstrapper": { "workspace": "/target" }, "image": { "name": "debian-{system.release}-{system.architecture}-{virtualization}-{%Y}-{% m}-{%d}-ebs", "description": "Debian {system.release} {system.architecture}" }, "system": { "release": "wheezy", "architecture": "amd64", "bootloader": "grub", "timezone": "UTC", "locale": "en_US", "charmap": "UTF-8" }, "packages": { "mirror": "http://cloudfront.debian.net/debian" }, "volume": { "backing": "ebs", "partitions": { "type": "msdos", "root": { "size": "8GiB", "filesystem": "ext4" } } } } CUDA info: 2 device(s) found. Device #0: Tesla M2050 Compute Capability: 2.0 Total Memory: 2751936 KB ASYNC_ENGINE_COUNT: 2 CAN_MAP_HOST_MEMORY: 1 CLOCK_RATE: 1147000 COMPUTE_MODE: DEFAULT CONCURRENT_KERNELS: 1 ECC_ENABLED: 1 GLOBAL_MEMORY_BUS_WIDTH: 384 GPU_OVERLAP: 1 INTEGRATED: 0 KERNEL_EXEC_TIMEOUT: 0 L2_CACHE_SIZE: 786432 MAXIMUM_SURFACE1D_LAYERED_LAYERS: 2048 MAXIMUM_SURFACE1D_LAYERED_WIDTH: 65536 MAXIMUM_SURFACE1D_WIDTH: 65536 MAXIMUM_SURFACE2D_HEIGHT: 32768 MAXIMUM_SURFACE2D_LAYERED_HEIGHT: 32768 MAXIMUM_SURFACE2D_LAYERED_LAYERS: 2048 MAXIMUM_SURFACE2D_LAYERED_WIDTH: 65536 MAXIMUM_SURFACE2D_WIDTH: 65536 MAXIMUM_SURFACE3D_DEPTH: 2048 MAXIMUM_SURFACE3D_HEIGHT: 32768 MAXIMUM_SURFACE3D_WIDTH: 65536 MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS: 2046 MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH: 32768 MAXIMUM_SURFACECUBEMAP_WIDTH: 32768 MAXIMUM_TEXTURE1D_LAYERED_LAYERS: 2048 MAXIMUM_TEXTURE1D_LAYERED_WIDTH: 16384 MAXIMUM_TEXTURE1D_LINEAR_WIDTH: 134217728 MAXIMUM_TEXTURE1D_WIDTH: 65536 MAXIMUM_TEXTURE2D_ARRAY_HEIGHT: 16384 MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES: 2048 MAXIMUM_TEXTURE2D_ARRAY_WIDTH: 16384 MAXIMUM_TEXTURE2D_GATHER_HEIGHT: 16384 MAXIMUM_TEXTURE2D_GATHER_WIDTH: 16384 MAXIMUM_TEXTURE2D_HEIGHT: 65535 MAXIMUM_TEXTURE2D_LINEAR_HEIGHT: 65000 MAXIMUM_TEXTURE2D_LINEAR_PITCH: 1048544 MAXIMUM_TEXTURE2D_LINEAR_WIDTH: 65000 MAXIMUM_TEXTURE2D_WIDTH: 65536 MAXIMUM_TEXTURE3D_DEPTH: 2048 MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE: 0 MAXIMUM_TEXTURE3D_HEIGHT: 2048 MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE: 0 MAXIMUM_TEXTURE3D_WIDTH: 2048 MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE: 0 MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS: 2046 MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH: 16384 MAXIMUM_TEXTURECUBEMAP_WIDTH: 16384 MAX_BLOCK_DIM_X: 1024 MAX_BLOCK_DIM_Y: 1024 MAX_BLOCK_DIM_Z: 64 MAX_GRID_DIM_X: 65535 MAX_GRID_DIM_Y: 65535 MAX_GRID_DIM_Z: 65535 MAX_PITCH: 2147483647 MAX_REGISTERS_PER_BLOCK: 32768 MAX_SHARED_MEMORY_PER_BLOCK: 49152 MAX_THREADS_PER_BLOCK: 1024 MAX_THREADS_PER_MULTIPROCESSOR: 1536 MEMORY_CLOCK_RATE: 1546000 MULTIPROCESSOR_COUNT: 14 PCI_BUS_ID: 0 PCI_DEVICE_ID: 3 PCI_DOMAIN_ID: 0 SURFACE_ALIGNMENT: 512 TCC_DRIVER: 0 TEXTURE_ALIGNMENT: 512 TEXTURE_PITCH_ALIGNMENT: 32 TOTAL_CONSTANT_MEMORY: 65536 UNIFIED_ADDRESSING: 1 WARP_SIZE: 32 Device #1: Tesla M2050 Compute Capability: 2.0 Total Memory: 2751936 KB ASYNC_ENGINE_COUNT: 2 CAN_MAP_HOST_MEMORY: 1 CLOCK_RATE: 1147000 COMPUTE_MODE: DEFAULT CONCURRENT_KERNELS: 1 ECC_ENABLED: 1 GLOBAL_MEMORY_BUS_WIDTH: 384 GPU_OVERLAP: 1 INTEGRATED: 0 KERNEL_EXEC_TIMEOUT: 0 L2_CACHE_SIZE: 786432 MAXIMUM_SURFACE1D_LAYERED_LAYERS: 2048 MAXIMUM_SURFACE1D_LAYERED_WIDTH: 65536 MAXIMUM_SURFACE1D_WIDTH: 65536 MAXIMUM_SURFACE2D_HEIGHT: 32768 MAXIMUM_SURFACE2D_LAYERED_HEIGHT: 32768 MAXIMUM_SURFACE2D_LAYERED_LAYERS: 2048 MAXIMUM_SURFACE2D_LAYERED_WIDTH: 65536 MAXIMUM_SURFACE2D_WIDTH: 65536 MAXIMUM_SURFACE3D_DEPTH: 2048 MAXIMUM_SURFACE3D_HEIGHT: 32768 MAXIMUM_SURFACE3D_WIDTH: 65536 MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS: 2046 MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH: 32768 MAXIMUM_SURFACECUBEMAP_WIDTH: 32768 MAXIMUM_TEXTURE1D_LAYERED_LAYERS: 2048 MAXIMUM_TEXTURE1D_LAYERED_WIDTH: 16384 MAXIMUM_TEXTURE1D_LINEAR_WIDTH: 134217728 MAXIMUM_TEXTURE1D_WIDTH: 65536 MAXIMUM_TEXTURE2D_ARRAY_HEIGHT: 16384 MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES: 2048 MAXIMUM_TEXTURE2D_ARRAY_WIDTH: 16384 MAXIMUM_TEXTURE2D_GATHER_HEIGHT: 16384 MAXIMUM_TEXTURE2D_GATHER_WIDTH: 16384 MAXIMUM_TEXTURE2D_HEIGHT: 65535 MAXIMUM_TEXTURE2D_LINEAR_HEIGHT: 65000 MAXIMUM_TEXTURE2D_LINEAR_PITCH: 1048544 MAXIMUM_TEXTURE2D_LINEAR_WIDTH: 65000 MAXIMUM_TEXTURE2D_WIDTH: 65536 MAXIMUM_TEXTURE3D_DEPTH: 2048 MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE: 0 MAXIMUM_TEXTURE3D_HEIGHT: 2048 MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE: 0 MAXIMUM_TEXTURE3D_WIDTH: 2048 MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE: 0 MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS: 2046 MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH: 16384 MAXIMUM_TEXTURECUBEMAP_WIDTH: 16384 MAX_BLOCK_DIM_X: 1024 MAX_BLOCK_DIM_Y: 1024 MAX_BLOCK_DIM_Z: 64 MAX_GRID_DIM_X: 65535 MAX_GRID_DIM_Y: 65535 MAX_GRID_DIM_Z: 65535 MAX_PITCH: 2147483647 MAX_REGISTERS_PER_BLOCK: 32768 MAX_SHARED_MEMORY_PER_BLOCK: 49152 MAX_THREADS_PER_BLOCK: 1024 MAX_THREADS_PER_MULTIPROCESSOR: 1536 MEMORY_CLOCK_RATE: 1546000 MULTIPROCESSOR_COUNT: 14 PCI_BUS_ID: 0 PCI_DEVICE_ID: 4 PCI_DOMAIN_ID: 0 SURFACE_ALIGNMENT: 512 TCC_DRIVER: 0 TEXTURE_ALIGNMENT: 512 TEXTURE_PITCH_ALIGNMENT: 32 TOTAL_CONSTANT_MEMORY: 65536 UNIFIED_ADDRESSING: 1 WARP_SIZE: 32 -- Tomasz Rybak GPG/PGP key ID: 2AD5 9860 Fingerprint A481 824E 7DD3 9C0E C40A 488E C654 FB33 2AD5 9860 http://member.acm.org/~tomaszrybak
Attachment:
signature.asc
Description: This is a digitally signed message part