How to use the GPU server

Computer Center has three operational GPU servers with Nvidia Tesla S1070 GPU cards. As per present policy these servers can be accessed by any user with a shell account by logging in via ssh (X-11 forwarding enabled).

The following "hello world" program may help you in getting started with CUDA compiler to compile a program


	$ vi helloworld.cu
	-------------------------------
	$include "stdio.h"
	int main()
		{
		printf("Hello, world\n");
		return 0;
		}
	-------------------------------
	$ nvcc -o helloworld helloworld.cu
	$./helloworld

With the above sample C program, CUDA compiler is used to compile it. Use nvcc to compile programs which has CUDA functionality.