Hi all,
I have made a new *.cpp file that I want to run that will use magma functions. I have saved this file in the testing folder of MAGMA 1.4.1. However when I pass 'make' into the terminal it doesn't create the *.o file and executable.
What do I need to do ??
Regards,
Kevin
Running Programs using MAGMA
Re: Running Programs using MAGMA
Found the solution.
Type the following into the terminal
Type the following into the terminal
Code: Select all
nvcc <file_name>.cpp -o <file_name> -I/usr/local/magma/magma-1.4.1/include -llapack -lm -lcublas -lf77blas -latlas -lcblas -DHAVE_CUBLAS -DNOCHANGE