का उपयोग कर चल रहा है निम्नलिखित shellscript:'फ़ाइल की अनपेक्षित समाप्ति' और 'त्रुटि फ़ंक्शन परिभाषा का आयात' त्रुटि shellscript qsub
#!/bin/sh
cd /sw/local/bin/
export LD_LIBRARY_PATH=/sw/local/lib:/usr/local/Trolltech/Qt-4.7.2/lib:$LD_LIBRARY_PATH
./FeatureFinderRaw -in /homes/JG-C1-18.mzML -out /homes/test_remove_after_use.featureXML -threads 20
यह जब मैं अपने खुद के कमांड लाइन से चलाने के ठीक काम करता है, लेकिन जब मैं करने की कोशिश:
qsub -q ningal.q -cwd -V -o /homes/queue.out -e /queue.err featureFind_C1-18_20t.sh
मैं निम्नलिखित त्रुटि मिलती है:
/bin/sh: module: line 1: syntax error: unexpected end of file
/bin/sh: error importing function definition for `module'
./FeatureFinderRaw: error while loading shared libraries: libOpenMS.so: cannot open shared object file: No such file or directory
/bin/sh: module: line 1: syntax error: unexpected end of file
/bin/sh: error importing function definition for `module'
./FeatureFinderRaw: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory
/bin/sh: module: line 1: syntax error: unexpected end of file
/bin/sh: error importing function definition for `module'
./FeatureFinderRaw: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory
/bin/bash: module: line 1: syntax error: unexpected end of file
/bin/bash: error importing function definition for `module'
./FeatureFinderRaw: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory
/bin/sh: module: line 1: syntax error: unexpected end of file
/bin/sh: error importing function definition for `module'
./FeatureFinderRaw: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory
/bin/sh: module: line 1: syntax error: unexpected end of file
/bin/sh: error importing function definition for `module'
मुझे समझ नहीं आता क्यों मुझे इस ई मिलता है qsub का उपयोग करते समय rror, लेकिन एक ही क्लस्टर मशीन पर सीधे स्क्रिप्ट चलाने पर नहीं। Qsub का उपयोग करके मैं एक स्क्रिप्ट कैसे चला सकता हूं?
/usr/share/मॉड्यूल/init/bash की प्रत्येक पंक्ति पर? (यहां एक ही समस्या है)। – Eureka
शेलस्क्रिप्ट –