 
 	/* create base vector */
 	/* try to make a global vector of length T and then get size of local portion */
-	Vec x_Vec;
+	Vec x_Vec, y_VecCPU;
 	int Tlocal, Tbegin, Tend;
 	Vec layout;
 	TRY( VecCreate(PETSC_COMM_WORLD,&layout) );

			#ifndef USE_GPU
				TRY( VecGetArray(y.get_vector(), &values) );
			#else
				TRY( VecCUDAGetArrayReadWrite(y.get_vector(), &values) );
			#endif
		
			/* print row */

		TRY( VecSetType(x_Vec, VECMPICUDA) );
		TRY( VecSetSizes(x_Vec,K*Tlocal,K*T) );
		TRY( VecSetFromOptions(x_Vec) );

		TRY( VecCreateMPI(PETSC_COMM_WORLD,K*Tlocal,K*T, &y_VecCPU) ); /* for printing I need vector on CPU */

//		TRY( VecCreateMPICUDA(PETSC_COMM_WORLD,K*Tlocal,K*T, &x_Vec) );
	#endif
