Closed kush930 closed 2 years ago
-msseX (SSE instructions) are not supported on risc architectures. Just remove the options from the makefiles (kaldi.mk line 46) y.
On Thu, Jun 9, 2022 at 2:11 PM kush930 @.***> wrote:
Hi all,
I want to build kaldi on riscv64, can anyone help me to build kaldi on riscv64.
when i am running this command facing issue, output log I attached here-
@.**:/opt/kaldi/src# make -j 10 online2 lm rnnlm
test -d /opt/kaldi/src/lib || mkdir /opt/kaldi/src/lib The version of configure script matches kaldi.mk version. Good. make -C base make[1]: Entering directory '/opt/kaldi/src/base' c++ -std=c++17 -I.. -isystem /opt/kaldi/tools/openfst/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_OPENBLAS -I/opt/kaldi/tools/OpenBLAS/install/include -msse -msse2 -pthread -g -fPIC -DUSE_KALDI_SVD -c -o kaldi-math.o kaldi-math.cc c++ -std=c++17 -I.. -isystem /opt/kaldi/tools/openfst/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_OPENBLAS -I/opt/kaldi/tools/OpenBLAS/install/include -msse -msse2 -pthread -g -fPIC -DUSE_KALDI_SVD -c -o kaldi-error.o kaldi-error.cc c++ -std=c++17 -I.. -isystem /opt/kaldi/tools/openfst/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_OPENBLAS -I/opt/kaldi/tools/OpenBLAS/install/include -msse -msse2 -pthread -g -fPIC -DUSE_KALDI_SVD -c -o io-funcs.o io-funcs.cc c++ -std=c++17 -I.. -isystem /opt/kaldi/tools/openfst/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_OPENBLAS -I/opt/kaldi/tools/OpenBLAS/install/include -msse -msse2 -pthread -g -fPIC -DUSE_KALDI_SVD -c -o kaldi-utils.o kaldi-utils.cc c++ -std=c++17 -I.. -isystem /opt/kaldi/tools/openfst/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_OPENBLAS -I/opt/kaldi/tools/OpenBLAS/install/include -msse -msse2 -pthread -g -fPIC -DUSE_KALDI_SVD -c -o timer.o timer.cc c++: error: unrecognized command-line option '-msse' c++: error: unrecognized command-line option '-msse' c++: error: unrecognized command-line option '-msse2' c++: error: unrecognized command-line option '-msse2' c++: error: unrecognized command-line option '-msse' make[1]: [
: kaldi-error.o] Error 1 make[1]: Waiting for unfinished jobs.... make[1]: [: kaldi-math.o] Error 1 c++: error: unrecognized command-line option '-msse2' make[1]: [: io-funcs.o] Error 1 c++: error: unrecognized command-line option '-msse' c++: error: unrecognized command-line option '-msse2' make[1]: [ : kaldi-utils.o] Error 1 c++: error: unrecognized command-line option '-msse' c++: error: unrecognized command-line option '-msse2' make[1]: [: timer.o] Error 1 make[1]: Leaving directory '/opt/kaldi/src/base' make: *** [Makefile:147: base] Error 2 T&R Kush — Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/4756, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUKYX5LKTHS7C3V4MZFIITVOHNOHANCNFSM5YJ3D3MA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi jtrmal,
I cloned kaldi from github link:-https://github.com/alphacep/kaldi/blob/master
I am not getting (kaldi.mk line 46) from https://github.com/alphacep/kaldi/blob/master/src/Makefile
Not getting exact line, what should I remove, can you make me clear.
T&R Kush
Hi all,
I cloned kaldi from github link:- "git clone -b vosk --single-branch https://github.com/alphacep/kaldi"
when i am running below given command, i am facing the issue, output log I am attaching here-
root@kush-Linux-1:/opt/kaldi/src# make -j 10 online2 lm rnnlm
test -d /opt/kaldi/src/lib || mkdir /opt/kaldi/src/lib The version of configure script matches kaldi.mk version. Good. make -C base make[1]: Entering directory '/opt/kaldi/src/base' c++ -std=c++17 -I.. -isystem /opt/kaldi/tools/openfst/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_OPENBLAS -I/opt/kaldi/tools/OpenBLAS/install/include -msse -msse2 -pthread -g -fPIC -DUSE_KALDI_SVD -c -o kaldi-math.o kaldi-math.cc c++ -std=c++17 -I.. -isystem /opt/kaldi/tools/openfst/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_OPENBLAS -I/opt/kaldi/tools/OpenBLAS/install/include -msse -msse2 -pthread -g -fPIC -DUSE_KALDI_SVD -c -o kaldi-error.o kaldi-error.cc c++ -std=c++17 -I.. -isystem /opt/kaldi/tools/openfst/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_OPENBLAS -I/opt/kaldi/tools/OpenBLAS/install/include -msse -msse2 -pthread -g -fPIC -DUSE_KALDI_SVD -c -o io-funcs.o io-funcs.cc c++ -std=c++17 -I.. -isystem /opt/kaldi/tools/openfst/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_OPENBLAS -I/opt/kaldi/tools/OpenBLAS/install/include -msse -msse2 -pthread -g -fPIC -DUSE_KALDI_SVD -c -o kaldi-utils.o kaldi-utils.cc c++ -std=c++17 -I.. -isystem /opt/kaldi/tools/openfst/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_OPENBLAS -I/opt/kaldi/tools/OpenBLAS/install/include -msse -msse2 -pthread -g -fPIC -DUSE_KALDI_SVD -c -o timer.o timer.cc c++: error: unrecognized command-line option '-msse' c++: error: unrecognized command-line option '-msse' c++: error: unrecognized command-line option '-msse2' c++: error: unrecognized command-line option '-msse2' c++: error: unrecognized command-line option '-msse' make[1]: *** [<builtin>: kaldi-error.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [<builtin>: kaldi-math.o] Error 1 c++: error: unrecognized command-line option '-msse2' make[1]: *** [<builtin>: io-funcs.o] Error 1 c++: error: unrecognized command-line option '-msse' c++: error: unrecognized command-line option '-msse2' make[1]: *** [<builtin>: kaldi-utils.o] Error 1 c++: error: unrecognized command-line option '-msse' c++: error: unrecognized command-line option '-msse2' make[1]: *** [<builtin>: timer.o] Error 1 make[1]: Leaving directory '/opt/kaldi/src/base' make: *** [Makefile:147: base] Error 2
Can anyone help me to build kaldi on riscv64 platform.
T&R Kush
I am not getting (kaldi.mk line 46) from https://github.com/alphacep/kaldi/blob/master/src/Makefile
Not getting exact line, what should I remove, can you make me clear.
Before you run
root@kush-Linux-1:/opt/kaldi/src# make -j 10 online2 lm rnnlm
you should have run
root@kush-Linux-1:/opt/kaldi/src# ./configure
which generates the filekaldi.mk
.
Note: kaldi.mk
is generated by ./configure
. It is not included in the repo.
This issue has been automatically marked as stale by a bot solely because it has not had recent activity. Please add any comment (simply 'ping' is enough) to prevent the issue from being closed for 60 more days if you believe it should be kept open.
hi, is there any use-case for this? I'm not aware of any riscv64 machine.
sorry, I should have said "sufficiently performant riscv64" machines -- I'm well aware of the IOT socs, but that's outside kaldi's scope of utility.
Hi all,
I cloned kaldi from github link:- "git clone -b vosk --single-branch https://github.com/alphacep/kaldi"
when i am running below given command, i am facing the issue, output log I am attaching here-
root@kush-Linux-1:/opt/kaldi/src# make -j 10 online2 lm rnnlm
ln -sf /opt/kaldi/src/cudamatrix/libkaldi-cudamatrix.so /opt/kaldi/src/lib/libkaldi-cudamatrix.so
make[1]: Leaving directory '/opt/kaldi/src/cudamatrix'
make -C transform
make[1]: Entering directory '/opt/kaldi/src/transform'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/opt/kaldi/src/transform'
make -C feat
make[1]: Entering directory '/opt/kaldi/src/feat'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/opt/kaldi/src/feat'
make -C ivector
make[1]: Entering directory '/opt/kaldi/src/ivector'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/opt/kaldi/src/ivector'
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[1]: *** [<builtin>: phone-align-lattice.o] Error 1
make[1]: *** Waiting for unfinished jobs....
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[1]: *** [<builtin>: kaldi-lattice.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[1]: *** [<builtin>: word-align-lattice-lexicon.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[1]: *** [<builtin>: sausages.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[1]: *** [<builtin>: push-lattice.o] Error 1
can anyone help me to build vosk on riscv64.
T&R Kush Kumar
run just make -1 online2 lm rnnlm
those lines you sent are not the original error
y.
On Tue, Sep 27, 2022 at 2:03 PM kush930 @.***> wrote:
Hi all,
I cloned kaldi from github link:- "git clone -b vosk --single-branch https://github.com/alphacep/kaldi"
when i am running below given command, i am facing the issue, output log I am attaching here-
@.***:/opt/kaldi/src# make -j 10 online2 lm rnnlm
`ln -sf /opt/kaldi/src/cudamatrix/libkaldi-cudamatrix.so /opt/kaldi/src/lib/libkaldi-cudamatrix.so make[1]: Leaving directory '/opt/kaldi/src/cudamatrix' make -C transform make[1]: Entering directory '/opt/kaldi/src/transform' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/opt/kaldi/src/transform' make -C feat make[1]: Entering directory '/opt/kaldi/src/feat' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/opt/kaldi/src/feat' make -C ivector make[1]: Entering directory '/opt/kaldi/src/ivector' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/opt/kaldi/src/ivector' c++: fatal error: Killed signal terminated program cc1plus compilation terminated. make[1]: [: phone-align-lattice.o] Error 1 make[1]: Waiting for unfinished jobs.... c++: fatal error: Killed signal terminated program cc1plus compilation terminated. make[1]: *** [: kaldi-lattice.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus compilation terminated. make[1]: [: word-align-lattice-lexicon.o] Error 1 c++: fatal error: Killed signal terminated program cc1plus compilation terminated. make[1]: [: sausages.o] Error 1 c++: fatal error: Killed signal terminated program cc1plus compilation terminated. make[1]: *** [: push-lattice.o] Error 1 `
can anyone help me to build vosk on riscv64.
T&R Kush Kumar
— Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/4756#issuecomment-1259867743, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUKYXY2POZFMMMTLFSXCMDWAMZH5ANCNFSM5YJ3D3MA . You are receiving this because you commented.Message ID: @.***>
Hi jtrmal,
After running make -1 online2 lm rnnlm
i am getting this --
make: invalid option -- '1'
Usage: make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-B, --always-make Unconditionally make all targets.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d Print lots of debugging information.
--debug[=FLAGS] Print various types of debugging information.
-e, --environment-overrides
Environment variables override makefiles.
-E STRING, --eval=STRING Evaluate STRING as a makefile statement.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from recipes.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.
-k, --keep-going Keep going when some targets can't be made.
-l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is below N.
-L, --check-symlink-times Use the latest mtime between symlinks and target.
-n, --just-print, --dry-run, --recon
Don't actually run any recipe; just print them.
-o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't remake it.
-O[TYPE], --output-sync[=TYPE]
Synchronize output of parallel jobs by TYPE.
-p, --print-data-base Print make's internal database.
-q, --question Run no recipe; exit status says if up to date.
-r, --no-builtin-rules Disable the built-in implicit rules.
-R, --no-builtin-variables Disable the built-in variable settings.
-s, --silent, --quiet Don't echo recipes.
--no-silent Echo recipes (disable --silent mode).
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
--trace Print tracing information.
-v, --version Print the version number of make and exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is referenced.
This program built for riscv64-oe-linux-gnu
Report bugs to <bug-make@gnu.org>
T&R Kush
make -j 1 online2 lm rnnlm, sorry
On Tue, Sep 27, 2022 at 2:12 PM kush930 @.***> wrote:
Hi jtrmal,
After running make -1 online2 lm rnnlm i am getting this --
make: invalid option -- '1' Usage: make [options] [target] ... Options: -b, -m Ignored for compatibility. -B, --always-make Unconditionally make all targets. -C DIRECTORY, --directory=DIRECTORY Change to DIRECTORY before doing anything. -d Print lots of debugging information. --debug[=FLAGS] Print various types of debugging information. -e, --environment-overrides Environment variables override makefiles. -E STRING, --eval=STRING Evaluate STRING as a makefile statement. -f FILE, --file=FILE, --makefile=FILE Read FILE as a makefile. -h, --help Print this message and exit. -i, --ignore-errors Ignore errors from recipes. -I DIRECTORY, --include-dir=DIRECTORY Search DIRECTORY for included makefiles. -j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg. -k, --keep-going Keep going when some targets can't be made. -l [N], --load-average[=N], --max-load[=N] Don't start multiple jobs unless load is below N. -L, --check-symlink-times Use the latest mtime between symlinks and target. -n, --just-print, --dry-run, --recon Don't actually run any recipe; just print them. -o FILE, --old-file=FILE, --assume-old=FILE Consider FILE to be very old and don't remake it. -O[TYPE], --output-sync[=TYPE] Synchronize output of parallel jobs by TYPE. -p, --print-data-base Print make's internal database. -q, --question Run no recipe; exit status says if up to date. -r, --no-builtin-rules Disable the built-in implicit rules. -R, --no-builtin-variables Disable the built-in variable settings. -s, --silent, --quiet Don't echo recipes. --no-silent Echo recipes (disable --silent mode). -S, --no-keep-going, --stop Turns off -k. -t, --touch Touch targets instead of remaking them. --trace Print tracing information. -v, --version Print the version number of make and exit. -w, --print-directory Print the current directory. --no-print-directory Turn off -w, even if it was turned on implicitly. -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE Consider FILE to be infinitely new. --warn-undefined-variables Warn when an undefined variable is referenced.
This program built for riscv64-oe-linux-gnu Report bugs to @.***>
T&R Kush
— Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/4756#issuecomment-1259877058, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUKYX2XXUKZYE22ACXLXV3WAM2I7ANCNFSM5YJ3D3MA . You are receiving this because you commented.Message ID: @.***>
sorry, what has happened?
Hi jtrmal,
I run command make -j 1 online2 lm rnnlm
, i got again issue--
ln -sf /opt/kaldi/src/cudamatrix/libkaldi-cudamatrix.so /opt/kaldi/src/lib/libkaldi-cudamatrix.so
make[1]: Leaving directory '/opt/kaldi/src/cudamatrix'
make -C tree
make[1]: Entering directory '/opt/kaldi/src/tree'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/opt/kaldi/src/tree'
make -C fstext
make[1]: Entering directory '/opt/kaldi/src/fstext'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/opt/kaldi/src/fstext'
make -C hmm
make[1]: Entering directory '/opt/kaldi/src/hmm'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/opt/kaldi/src/hmm'
make -C lat
make[1]: Entering directory '/opt/kaldi/src/lat'
c++ -std=c++17 -I.. -isystem /opt/kaldi/tools/openfst/include -O3 -Wno-sign-compare -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_OPENBLAS -I/opt/kaldi/tools/OpenBLAS/install/include -ftree-vectorize -pthread -g -fPIC -DUSE_KALDI_SVD -c -o kaldi-lattice.o kaldi-lattice.cc
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[1]: *** [<builtin>: kaldi-lattice.o] Error 1
make[1]: Leaving directory '/opt/kaldi/src/lat'
make: *** [Makefile:147: lat] Error 2
T&R Kush
do you have enough memory? what are the system stats y.
On Tue, Sep 27, 2022 at 2:42 PM kush930 @.***> wrote:
Hi jtrmal,
I run command make -j 1 online2 lm rnnlm, i got again issue--
ln -sf /opt/kaldi/src/cudamatrix/libkaldi-cudamatrix.so /opt/kaldi/src/lib/libkaldi-cudamatrix.so make[1]: Leaving directory '/opt/kaldi/src/cudamatrix' make -C tree make[1]: Entering directory '/opt/kaldi/src/tree' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/opt/kaldi/src/tree' make -C fstext make[1]: Entering directory '/opt/kaldi/src/fstext' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/opt/kaldi/src/fstext' make -C hmm make[1]: Entering directory '/opt/kaldi/src/hmm' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/opt/kaldi/src/hmm' make -C lat make[1]: Entering directory '/opt/kaldi/src/lat' c++ -std=c++17 -I.. -isystem /opt/kaldi/tools/openfst/include -O3 -Wno-sign-compare -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_OPENBLAS -I/opt/kaldi/tools/OpenBLAS/install/include -ftree-vectorize -pthread -g -fPIC -DUSE_KALDI_SVD -c -o kaldi-lattice.o kaldi-lattice.cc c++: fatal error: Killed signal terminated program cc1plus compilation terminated. make[1]: [
: kaldi-lattice.o] Error 1 make[1]: Leaving directory '/opt/kaldi/src/lat' make: [Makefile:147: lat] Error 2T&R Kush
— Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/4756#issuecomment-1259908634, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUKYX7BCI5ZKYX5O7TLN6DWAM5YZANCNFSM5YJ3D3MA . You are receiving this because you commented.Message ID: @.***>
sorry, what has happened? Hi jtrmal , again i am facing same issue
system stats
root@kush-:/opt/kaldi/src/lib# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 15G 4.1G 9.9G 30% /
devtmpfs 1.5G 0 1.5G 0% /dev
tmpfs 1.8G 0 1.8G 0% /dev/shm
tmpfs 1.8G 9.7M 1.7G 1% /run
tmpfs 1.8G 0 1.8G 0% /sys/fs/cgroup
tmpfs 1.8G 0 1.8G 0% /tmp
tmpfs 1.8G 176K 1.8G 1% /var/volatile
root@kush:/opt/kaldi/src# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 28.7G 0 disk
`-sda1 8:1 1 15G 0 part /
mmcblk0 179:0 0 29.1G 0 disk
`-mmcblk0p1 179:1 0 2G 0 part
mmcblk0boot0 179:8 0 4M 1 disk
mmcblk0boot1 179:16 0 4M 1 disk
and what is the output from free -h
?
I suspect your system is too under-specced to endeavour into this
y.
On Tue, Sep 27, 2022 at 2:47 PM kush930 @.***> wrote:
system stats
@.***:/opt/kaldi/src/lib# df -h Filesystem Size Used Avail Use% Mounted on /dev/root 15G 4.1G 9.9G 30% / devtmpfs 1.5G 0 1.5G 0% /dev tmpfs 1.8G 0 1.8G 0% /dev/shm tmpfs 1.8G 9.7M 1.7G 1% /run tmpfs 1.8G 0 1.8G 0% /sys/fs/cgroup tmpfs 1.8G 0 1.8G 0% /tmp tmpfs 1.8G 176K 1.8G 1% /var/volatile
— Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/4756#issuecomment-1259913773, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUKYXZ4UU6AE5RNSDP55DLWAM6LBANCNFSM5YJ3D3MA . You are receiving this because you commented.Message ID: @.***>
free -h
root@kush:/opt/kaldi/src/lib# free -h
total used free shared buff/cache available
Mem: 3.4Gi 3.4Gi 7.0Mi 9.0Mi 26Mi 1.0Mi
Swap: 0B 0B 0B
and dmesg
?
On Tue, Sep 27, 2022 at 2:51 PM kush930 @.***> wrote:
free -h
@.***:/opt/kaldi/src/lib# free -h total used free shared buff/cache available Mem: 3.4Gi 3.4Gi 7.0Mi 9.0Mi 26Mi 1.0Mi Swap: 0B 0B 0B
— Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/4756#issuecomment-1259917983, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUKYX3MCGYQJIRES7ULFDLWAM63LANCNFSM5YJ3D3MA . You are receiving this because you commented.Message ID: @.***>
and
dmesg
? … On Tue, Sep 27, 2022 at 2:51 PM kush930 @.> wrote: free -h @.:/opt/kaldi/src/lib# free -h total used free shared buff/cache available Mem: 3.4Gi 3.4Gi 7.0Mi 9.0Mi 26Mi 1.0Mi Swap: 0B 0B 0B — Reply to this email directly, view it on GitHub <#4756 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUKYX3MCGYQJIRES7ULFDLWAM63LANCNFSM5YJ3D3MA . You are receiving this because you commented.Message ID: @.***>
[52105.927537] Out of memory: Killed process 51556 (cc1plus) total-vm:459388kB, anon-rss:440472kB, file-rss:320kB, shmem-rss:0kB, UID:0 pgtables:928kB oom_score_adj:0
[52106.054752] oom_reaper: reaped process 51556 (cc1plus), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
ok, now it's clear your system is indeed way too underspec'd you could add swap but not sure if it will help. y.
On Tue, Sep 27, 2022 at 2:56 PM kush930 @.***> wrote:
and dmesg? … <#m235140102313218842> On Tue, Sep 27, 2022 at 2:51 PM kush930 @.> wrote: free -h @.:/opt/kaldi/src/lib# free -h total used free shared buff/cache available Mem: 3.4Gi 3.4Gi 7.0Mi 9.0Mi 26Mi 1.0Mi Swap: 0B 0B 0B — Reply to this email directly, view it on GitHub <#4756 (comment) https://github.com/kaldi-asr/kaldi/issues/4756#issuecomment-1259917983>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUKYX3MCGYQJIRES7ULFDLWAM63LANCNFSM5YJ3D3MA . You are receiving this because you commented.Message ID: @.***>
[52105.927537] Out of memory: Killed process 51556 (cc1plus) total-vm:459388kB, anon-rss:440472kB, file-rss:320kB, shmem-rss:0kB, UID:0 pgtables:928kB oom_score_adj:0
[52106.054752] oom_reaper: reaped process 51556 (cc1plus), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
— Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/4756#issuecomment-1259923111, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUKYX3IE4FOTE7O5W2FSODWAM7PRANCNFSM5YJ3D3MA . You are receiving this because you commented.Message ID: @.***>
ok, now it's clear your system is indeed way too underspec'd you could add swap but not sure if it will help. y. … On Tue, Sep 27, 2022 at 2:56 PM kush930 @.> wrote: and dmesg? … <#m235140102313218842> On Tue, Sep 27, 2022 at 2:51 PM kush930 @.> wrote: free -h @.:/opt/kaldi/src/lib# free -h total used free shared buff/cache available Mem: 3.4Gi 3.4Gi 7.0Mi 9.0Mi 26Mi 1.0Mi Swap: 0B 0B 0B — Reply to this email directly, view it on GitHub <#4756 (comment) <#4756 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUKYX3MCGYQJIRES7ULFDLWAM63LANCNFSM5YJ3D3MA . You are receiving this because you commented.Message ID: @.> [52105.927537] Out of memory: Killed process 51556 (cc1plus) total-vm:459388kB, anon-rss:440472kB, file-rss:320kB, shmem-rss:0kB, UID:0 pgtables:928kB oom_score_adj:0 [52106.054752] oom_reaper: reaped process 51556 (cc1plus), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB — Reply to this email directly, view it on GitHub <#4756 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUKYX3IE4FOTE7O5W2FSODWAM7PRANCNFSM5YJ3D3MA . You are receiving this because you commented.Message ID: @.***>
Thank you jtrmal, sure I will check and update you.
Hi jtrmal,
can you guide me, how to add swap
T&R Kush
Hi, unfortunately, I'm not really able to guide you through it The simplest way (if you have a USB port available) is to add a USB drive and configure the whole USB drive to work as a swap. Not sure if that will help with your issues, tho! y.
On Tue, Sep 27, 2022 at 10:56 PM kush930 @.***> wrote:
Hi jtrmal,
can you guide me, how to add swap
T&R Kush
— Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/4756#issuecomment-1260321565, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUKYX6OXO6DFOU6KMBG7PDWAOXW7ANCNFSM5YJ3D3MA . You are receiving this because you commented.Message ID: @.***>
Hi all,
I want to build kaldi on riscv64, can anyone help me to build kaldi on riscv64.
when i am running this command facing issue, output log I attached here-
root@kush-Linux-1:/opt/kaldi/src# make -j 10 online2 lm rnnlm
test -d /opt/kaldi/src/lib || mkdir /opt/kaldi/src/lib The version of configure script matches kaldi.mk version. Good. make -C base make[1]: Entering directory '/opt/kaldi/src/base' c++ -std=c++17 -I.. -isystem /opt/kaldi/tools/openfst/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_OPENBLAS -I/opt/kaldi/tools/OpenBLAS/install/include -msse -msse2 -pthread -g -fPIC -DUSE_KALDI_SVD -c -o kaldi-math.o kaldi-math.cc c++ -std=c++17 -I.. -isystem /opt/kaldi/tools/openfst/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_OPENBLAS -I/opt/kaldi/tools/OpenBLAS/install/include -msse -msse2 -pthread -g -fPIC -DUSE_KALDI_SVD -c -o kaldi-error.o kaldi-error.cc c++ -std=c++17 -I.. -isystem /opt/kaldi/tools/openfst/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_OPENBLAS -I/opt/kaldi/tools/OpenBLAS/install/include -msse -msse2 -pthread -g -fPIC -DUSE_KALDI_SVD -c -o io-funcs.o io-funcs.cc c++ -std=c++17 -I.. -isystem /opt/kaldi/tools/openfst/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_OPENBLAS -I/opt/kaldi/tools/OpenBLAS/install/include -msse -msse2 -pthread -g -fPIC -DUSE_KALDI_SVD -c -o kaldi-utils.o kaldi-utils.cc c++ -std=c++17 -I.. -isystem /opt/kaldi/tools/openfst/include -O1 -Wall -Wno-sign-compare -Wno-unused-local-typedefs -Wno-deprecated-declarations -Winit-self -DKALDI_DOUBLEPRECISION=0 -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_OPENBLAS -I/opt/kaldi/tools/OpenBLAS/install/include -msse -msse2 -pthread -g -fPIC -DUSE_KALDI_SVD -c -o timer.o timer.cc c++: error: unrecognized command-line option '-msse' c++: error: unrecognized command-line option '-msse' c++: error: unrecognized command-line option '-msse2' c++: error: unrecognized command-line option '-msse2' c++: error: unrecognized command-line option '-msse' make[1]: *** [<builtin>: kaldi-error.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [<builtin>: kaldi-math.o] Error 1 c++: error: unrecognized command-line option '-msse2' make[1]: *** [<builtin>: io-funcs.o] Error 1 c++: error: unrecognized command-line option '-msse' c++: error: unrecognized command-line option '-msse2' make[1]: *** [<builtin>: kaldi-utils.o] Error 1 c++: error: unrecognized command-line option '-msse' c++: error: unrecognized command-line option '-msse2' make[1]: *** [<builtin>: timer.o] Error 1 make[1]: Leaving directory '/opt/kaldi/src/base' make: *** [Makefile:147: base] Error 2
T&R Kush