A "command not found" error occured in qrsh/job script

This error occurs when the module command has not been initialized.

 

The module command can be initialized by adding . /etc/profile.d/modules.sh before module load XXXX, 

 

実行シェルがsh, bashの場合でintelモジュールを読み込む場合

The execution shell is sh, bash, load intel module

. /etc/profile.d/modules.sh
module load intel

 

The execution shell is csh, tcsh, load intel module

source /etc/profile.d/modules.csh
module load intel

 

pip等でインストールしたコマンドをジョブスクリプト・qrshから実行した場合に、"command not found"エラーが発生した場合はログインノードにて

If "command not found" error occurred when executing a command which is installed by external installer such as pip, please try the following on the login node:

$ type <command>
<command> is hasehd (/path/to/<command>)

 

Then you can confirm the path, and add the following to the job script:

export PATH=$PATH:/path/to

Here, /path/to is the directory where the command is located.

 


related URLs

 

About common errors in Linux

User Guide