---
 src/modules/cuda/cuda.mk   |    2 +-
 src/modules/cuda/cudalt.py |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

--- a/src/modules/cuda/cuda.mk
+++ b/src/modules/cuda/cuda.mk
@@ -2,5 +2,5 @@
 	$(NVCC) -o $@ -c $< $(AM_CPPFLAGS) $(AM_CFLAGS) $(TLCFLAGS) $(CUPTI_CFLAGS) $(NVCCFLAGS)
 
 .cu.lo:
-	python $(top_srcdir)/src/modules/cuda/cudalt.py $@ $(NVCC) --compiler-options=\" $(CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(AM_CFLAGS) $(CPPFLAGS) \" $(TLCFLAGS) -c $< $(CUPTI_CFLAGS) $(NVCCFLAGS)
+	python3 $(top_srcdir)/src/modules/cuda/cudalt.py $@ $(NVCC) --compiler-options=\" $(CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(AM_CFLAGS) $(CPPFLAGS) \" $(TLCFLAGS) -c $< $(CUPTI_CFLAGS) $(NVCCFLAGS)
 
--- a/src/modules/cuda/cudalt.py
+++ b/src/modules/cuda/cudalt.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 # libtoolish hack: compile a .cu file like libtool does
 import sys
 import os
@@ -37,7 +37,7 @@ args.extend(["-Xcompiler","-fPIC"]) # po
 args.append("-o")
 args.append(pic_filepath)
 command = " ".join(args)
-print command
+print(command)
 
 # compile the .cu
 rv = os.system(command)
@@ -49,7 +49,7 @@ args = sys.argv[2:]
 args.append("-o")
 args.append(npic_filepath)
 command = " ".join(args)
-print command
+print(command)
 
 # compile the .cu
 rv = os.system(command)
