More exactly, this option specifies up to which stage the input files must be
compiled, according to the following compilation trajectories for different
input file types:
.c/.cc/.cpp/.cxx : preprocess, compile, link
.o : link
.i/.ii : compile, link
.cu : preprocess, cuda frontend, ptxassemble,
merge with host C code, compile, link
.gpu : cicc compile into cubin
.ptx : ptxassemble into cubin
and so on.
I manually copied the config.cuda to config
My Config file config/config
-- makefile --
This file is automatically generated by configure.
I am trying to sphinxtrain from log-audio-training directory. I tried to
follow the steps from the following thread.
http://sourceforge.net/projects/cmusphinx/forums/forum/5471/topic/4778722
Cuda is installed properly.
$ nv
nvcc nvlc nvvp
$ nvcc --help
Usage : nvcc <inputfile> </inputfile>
Options for specifying the compilation phase
More exactly, this option specifies up to which stage the input files must be
compiled, according to the following compilation trajectories for different
input file types:
.c/.cc/.cpp/.cxx : preprocess, compile, link
.o : link
.i/.ii : compile, link
.cu : preprocess, cuda frontend, ptxassemble,
merge with host C code, compile, link
.gpu : cicc compile into cubin
.ptx : ptxassemble into cubin
and so on.
I manually copied the config.cuda to config
My Config file config/config
-- makefile --
This file is automatically generated by configure.
Do not hand edit.
CC = gcc
CFLAGS = -g -O2 -Wall -fPIC -DPIC
CPPFLAGS = -I/home/lahari/Speech/long-audio-
training/sphinxtrain/../sphinxbase/include -I/home/lahari/Speech/long-audio-
training/sphinxtrain/../sphinxbase/include
DEFS = -DPACKAGE_NAME=\"SphinxTrain\" -DPACKAGE_TARNAME=\"sphinxtrain\"
-DPACKAGE_VERSION=\"1.0.99\" -DPACKAGE_STRING=\"SphinxTrain\ 1.0.99\"
-DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_LIBM=1
LIBS = -lm -lsphinxbase
LDFLAGS = -L/home/lahari/Speech/long-audio-
training/sphinxtrain/../sphinxbase/src/libsphinxad -L/home/lahari/Speech/long-
audio-training/sphinxtrain/../sphinxbase/src/libsphinxbase
-L/home/lahari/Speech/long-audio-
training/sphinxtrain/../sphinxbase/src/libsphinxbase/.libs
AR = ar
RANLIB = ranlib
FESTIVAL = /usr/bin/festival
PERL = /usr/bin/perl
Still I am having the following error:
ar: obj.x86_64-unknown-linux-gnu/acmod_set.o: No such file or directory
make: *** Error 1
make: Leaving directory
/home/lahari/Speech/long-audio- training/sphinxtrain/src/libs/libcommon' make: *** Error 2 make: Leaving directory/home/lahari/Speech/long-audio-training/sphinxtrain/src/libs'
make: *** Error 2
make: Leaving directory `/home/lahari/Speech/long-audio-
training/sphinxtrain/src'
make: *** Error 2
please let me know why this error still appears.
Note: I am using Fedora 16 on Intel Core 5 Processor.
Sorry my stupid mistakes. I have solved the problem.
hi vijayabharadwaj
You need to copy config/config.cuda over config manually.