Hi there!
Hope everyone is doing as well as possible.
I updated to CUDA 10.2 on Windows yesterday. There are examples in CUDA Fortran, within the SDK. However, when I tried the “make all”, I got the following error message:
cd sgemm; make build; make run; make clean
make[1]: Entering directory '/Program Files/PGI/win64/2019/examples/CUDA-Fortran/SDK/sgemm'
pgfortran -fast -o sgemm.out sgemm.cuf -lcublas
LINK : fatal error LNK1104: cannot open file 'libcublas.lib'
./sgemm.exf: error STP001: cannot open file
make[1]: *** [Makefile:30: build] Error 2
make[1]: Leaving directory '/Program Files/PGI/win64/2019/examples/CUDA-Fortran/SDK/sgemm'
make[1]: Entering directory '/Program Files/PGI/win64/2019/examples/CUDA-Fortran/SDK/sgemm'
make[1]: *** No rule to make target 'sgemm.out', needed by 'run'. Stop.
make[1]: Leaving directory '/Program Files/PGI/win64/2019/examples/CUDA-Fortran/SDK/sgemm'
make[1]: Entering directory '/Program Files/PGI/win64/2019/examples/CUDA-Fortran/SDK/sgemm'
Cleaning up...
make[1]: Leaving directory '/Program Files/PGI/win64/2019/examples/CUDA-Fortran/SDK/sgemm'
I do have libcublas.ipl but not libcublas.lib.
Should I have the libcublas.lib somewhere, please?
Thanks,
Erin