I am new at cuda programming. I am working on a project for parallelizing a sequential program. I began using the cuda 2.3 version on a GPU X295 card. Then I obtained an access to a server with e Fermi card with cuda 3.0 on it.
When I try to run my program on this server with Fermi on it, I have a segmentation fault on the first cudaMalloc of the program.
I have tried some simple programs and they run well, maybe the problem is on Makefile?
Do I have to change any linkage library or what else can I do to resolve this problem?
Thank you to all the users of this forum.
I attach part of my Makefile:
####### CUDA options
path of cuda
CUDAPATH = /usr/local/cuda
path of cuda compiler
NVCC = nvcc
#NVCC_FLAGS = -O0 -use_fast_math
NVCC_FLAGS = -G -g
#NVCC_FLAGS = -O0 -arch sm_13
CXX_FLAGS = -I$(CUDAPATH)/include/
LD_FLAGS = -L$(CUDAPATH)/lib64/
necessary at linking phase emulation
#LD_LIBRARIES = -lcublasemu
necessary at linking phase device
LD_LIBRARIES = -lcuda -lcudart