{"action":"created","issue":{"url":"https://api.github.com/repos/kaldi-asr/kaldi/issues/2685","repository_url":"https://api.github.com/repos/kaldi-asr/kaldi","labels_url":"https://api.github.com/repos/kaldi-asr/kaldi/issues/2685/labels{/name}","comments_url":"https://api.github.com/repos/kaldi-asr/kaldi/issues/2685/comments","events_url":"https://api.github.com/repos/kaldi-asr/kaldi/issues/2685/events","html_url":"https://github.com/kaldi-asr/kaldi/issues/2685","id":357527699,"node_id":"MDU6SXNzdWUzNTc1Mjc2OTk=","number":2685,"title":"nonzero return status 256","user":{"login":"stefbraun","id":13469638,"node_id":"MDQ6VXNlcjEzNDY5NjM4","avatar_url":"https://avatars0.githubusercontent.com/u/13469638?v=4","gravatar_id":"","url":"https://api.github.com/users/stefbraun","html_url":"https://github.com/stefbraun","followers_url":"https://api.github.com/users/stefbraun/followers","following_url":"https://api.github.com/users/stefbraun/following{/other_user}","gists_url":"https://api.github.com/users/stefbraun/gists{/gist_id}","starred_url":"https://api.github.com/users/stefbraun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefbraun/subscriptions","organizations_url":"https://api.github.com/users/stefbraun/orgs","repos_url":"https://api.github.com/users/stefbraun/repos","events_url":"https://api.github.com/users/stefbraun/events{/privacy}","received_events_url":"https://api.github.com/users/stefbraun/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-06T07:25:02Z","updated_at":"2018-09-08T05:48:02Z","closed_at":"2018-09-06T13:27:32Z","author_association":"NONE","body":"Hello,\r\n\r\nI am running kaldi recipes on a slurm cluster and make_fbank_pitch.sh throws an error:\r\n\r\nFAILING COMMAND\r\n```\r\nsrun paste-feats --length-tolerance=2 \"ark:compute-fbank-feats  --verbose=2 --config=conf/fbank.conf scp,p:exp/make_fbank/dev_clean/wav.10.scp ark:- |\" \"ark,s,cs:compute-kaldi-pitch-feats --verbose=2 --config=conf/pitch.conf scp,p:exp/make_fbank/dev_clean/wav.10.scp ark:- | process-kaldi-pitch-feats  ark:- ark:- |\" ark:- | copy-feats --compress=true --write-num-frames=ark,t:exp/make_fbank/dev_clean/utt2num_frames.10 ark:- ark,scp:/home/cluster/stbraun/repos/espnet/egs/librispeech/asr1/fbank/raw_fbank_pitch_dev_clean.10.ark,/home/cluster/stbraun/repos/espnet/egs/librispeech/asr1/fbank/raw_fbank_pitch_dev_clean.10.scp\r\n```\r\n\r\nERROR\r\n```\r\nWARNING (paste-feats[5.3.25~1-8cc5c8]:Close():kaldi-io.cc:512) Pipe compute-kaldi-pitch-feats --verbose=2 --config=conf/pitch.conf scp,p:exp/make_fbank/dev_clean/wav.10.scp ark:- | process-kaldi-pitch-feats  ark:- ark:- | had nonzero return status 256\r\nLOG (paste-feats[5.3.25~1-8cc5c8]:main():paste-feats.cc:158) Done 0 utts, errors on 85\r\n```\r\nInterestingly, when adding a second command - echo $0 && -, the command runs through:\r\nWORKING COMMAND\r\n```\r\nsrun echo $0 && paste-feats --length-tolerance=2 \"ark:compute-fbank-feats  --verbose=2 --config=conf/fbank.conf scp,p:exp/make_fbank/dev_clean/wav.10.scp ark:- |\" \"ark,s,cs:compute-kaldi-pitch-feats --verbose=2 --config=conf/pitch.conf scp,p:exp/make_fbank/dev_clean/wav.10.scp ark:- | process-kaldi-pitch-feats  ark:- ark:- |\" ark:- | copy-feats --compress=true --write-num-frames=ark,t:exp/make_fbank/dev_clean/utt2num_frames.10 ark:- ark,scp:/home/cluster/stbraun/repos/espnet/egs/librispeech/asr1/fbank/raw_fbank_pitch_dev_clean.10.ark,/home/cluster/stbraun/repos/espnet/egs/librispeech/asr1/fbank/raw_fbank_pitch_dev_clean.10.scp\r\n```\r\nI cant find useful information on the nonzero return status 256 in this context, did anyone here experience the same issue?\r\n"},"comment":{"url":"https://api.github.com/repos/kaldi-asr/kaldi/issues/comments/419615538","html_url":"https://github.com/kaldi-asr/kaldi/issues/2685#issuecomment-419615538","issue_url":"https://api.github.com/repos/kaldi-asr/kaldi/issues/2685","id":419615538,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTYxNTUzOA==","user":{"login":"stefbraun","id":13469638,"node_id":"MDQ6VXNlcjEzNDY5NjM4","avatar_url":"https://avatars0.githubusercontent.com/u/13469638?v=4","gravatar_id":"","url":"https://api.github.com/users/stefbraun","html_url":"https://github.com/stefbraun","followers_url":"https://api.github.com/users/stefbraun/followers","following_url":"https://api.github.com/users/stefbraun/following{/other_user}","gists_url":"https://api.github.com/users/stefbraun/gists{/gist_id}","starred_url":"https://api.github.com/users/stefbraun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefbraun/subscriptions","organizations_url":"https://api.github.com/users/stefbraun/orgs","repos_url":"https://api.github.com/users/stefbraun/repos","events_url":"https://api.github.com/users/stefbraun/events{/privacy}","received_events_url":"https://api.github.com/users/stefbraun/received_events","type":"User","site_admin":false},"created_at":"2018-09-08T05:48:02Z","updated_at":"2018-09-08T05:48:02Z","author_association":"NONE","body":"Thank you very much. I have failed to report the actual error that caused the problem:\r\n```srun: error: cluster0: task 0: Illegal instruction```\r\n\r\nThe cluster uses different CPU types, and the kaldi version was compiled for a different CPU type than it was running on, hence the illegal instruction error. Somehow, `compute-fbank-feats` was working under this condition, but `compute-kaldi-pitch-feats` did not work. After using properly compiled kaldi, the error went away."}}
{"actor":{"display_login":"stefbraun"}}