SLURM X11サポートしたコンパイルのまとめ
| 登録日 | :2024/11/26 04:11 |
|---|---|
| カテゴリ | :SLURM |
SLURMをビルドしたときのログを確認したところ、X11フォワーディングについてはサポート有効となっていました。Warningにも出ていないことを確認しました。
[root@rpmbuild slurm-21.08.8-2]# pwd
/root/rpmbuild.bak1/BUILD/slurm-21.08.8-2
configure:22331: checking whether Slurm internal X11 support is enabled
configure:22346: result:
X11サポートに関するエラーも出ていない模様
※サポートしていない場合は、いかのようなWarningが出るようです。
(Warning例)
configure: WARNING: unable to locate libssh2 installation
configure: WARNING: Slurm internal X11 support disabled
(実際にチェックしたログ)
[root@rpmbuild slurm-21.08.8-2]# cat config.log | grep WARNING
configure:18844: WARNING: unable to locate NUMA memory affinity functions
configure:19521: WARNING: unable to locate json parser library
configure:19625: WARNING: unable to locate jwt library
configure:19718: WARNING: unable to locate HTTP Parser library
configure:19810: WARNING: unable to locate libyaml parser library
configure:20723: WARNING: unable to locate ofed installation
configure:20881: WARNING:
configure:21249: WARNING: unable to locate working lz4 installation
configure:21329: WARNING: unable to locate hwloc installation
configure:21508: WARNING: unable to locate libnvidia-ml.so and/or nvml.h
configure:21665: WARNING: unable to locate librocm_smi64.so and/or rocm_smi.h
configure:21952: WARNING: unable to locate pmix installation
configure:22071: WARNING: unable to locate freeipmi installation (libipmonitoring/libfreeipmi
configure:22166: WARNING: unable to locate rrdtool installation
configure:23432: WARNING: cannot build sview without gtk library
configure:23698: WARNING: unable to locate DataWarp installation
configure:24285: WARNING: unable to locate netloc installation
configure:24518: WARNING: unable to locate lua package
configure:24585: WARNING: unable to build man page html files without man2html
configure:25314: WARNING: unable to locate/link against libcurl-devel installation
[root@rpmbuild slurm-21.08.8-2]#
X11オプションの挙動を確認
DISPLAY設定がないというエラーが出るというこは、X11をサポートした挙動とのこと。
※サポートしていない場合は「"unrecognized option '--x11'" 」というエラーが表示されるようです。
[root@compute02 slurm]# srun --x11 xclock
srun: error: No DISPLAY variable set, cannot setup x11 forwarding.
[root@compute02 slurm]# salloc --x11
salloc: error: No DISPLAY variable set, cannot setup x11 forwarding.
[root@compute02 slurm]#