このページの更新は終了しました。

最新の情報はTSUBAME3.0計算サービスのWebページをご覧ください。

TSUBAME2.5からTSUBAME3.0へのデータ移行方法の資料はこちら

Job will fail with error while loading shared libraries

 Youmay recive an error message at the job execution..

./a.out: error while loading shared libraries: libcudart.so.7.0: cannot open shared object file: No such file or directory

Cause is because the path of the library is not correct.
Whether the path is through it can be found in the ldd command.
Which has become not found incorrect.

$ ldd ./a.out
...
libcudart.so.7.0 => not found
...

 Please read the library path as an environment variable settings.
It can be set in the following command.
If you want to put as a batch job, as follows: "If you want to job submission in t2sub", please refer to the environment variable settings.

(bash) $ export LD_LIBRARY_PATH=:${LD_LIBRARY_PATH}
(csh) % setenv LD_LIBRARY_PATH :${LD_LIBRARY_PATH}

 Major compiler, there is a script for setting environment variables under /usr/apps.sp3/env for the library.
For example, if you set the environment of CUDA 6.0, run the following command.

(bash) $ source /usr/apps.sp3/env/set_cuda-7.5.sh
(csh) % source /usr/apps.sp3/env/set_cuda-7.5.csh

Major MPI on other TSUBAME, environment variable method of setting the compiler, please refer to the Guide.
TSUBAME 利用の手引き
 

IF you want to job submission in t2sub.

If the job is turned on in the t2sub command, you need to make the setting of the environment variable before you run the binary.If you run between the nodes, there are times when the environment variable does not propagate.Its corresponding method in the case are as follows.

Make the environment variable settings in .bashrc

If the login shell using the Bash, the environment variable will be valid for all of the login process to describe the environment variable settings in .bashrc file directly under the home directory.
If you want to distinguish the environment variable, depending on the job, changing or write each time .bashrc, you need to think about another workaround.

To propagate the environment variable to the child process in the function of mpirun

Propagation of environment variables to the process of each MPI implementation, please refer to (3) hybrid parallel of the next FAQ.
Passing method of environment variables of hybrid parallel.(OpenMP,Auto parallel)