基本的に2021以降は同じなため,Salome-Meca2023メモを参照
Ubuntu24でのsingularityのインストールは、
sudo apt install singularity-container singularity
これだけで大丈夫のよう。
$ singularity run --app install salome_meca-lgpl-2023.1.0-4-20240327-scibian-10.sif
を実行すると、salome_meca-lgpl-2023.1.0-4-20240327-scibian-10.sif という実行ファイルができている。 実行方法は、
$./salome_meca/salome_meca-lgpl-2023.1.0-4-20240327-scibian-10 --soft
ubuntu24またはubuntu22上のsalome23で、kata.hdf, kata.commを動かすと、以下のエラー。
Summary Output messages for stage kata Output messages for stage kata - [top / bottom] ++ using container salome_meca-lgpl-2023.1.0-4-20240327-scibian-10.sif ++ using software rendering mode (should use `mesa_salome` starter)
ubuntu22では動くsalome22は、ubuntu24では起動すらしないので、ターミナルから実行すると、以下のエラー
$ /usr/bin/singularity run /home/kouzou/salome_meca/salome_meca-lgpl-2022.1.0-1-20221225-scibian-9.sif FATAL: container creation failed: mount /proc/self/fd/3->/var/lib/singularity/mnt/session/rootfs error: while mounting image /proc/self/fd/3: kernel reported a bad superblock for squashfs image partition, possible causes are that your kernel doesn't support the compression algorithm or the image is corrupted
$ singularity run --app install salome_meca-lgpl-2023.1.0-4-20240327-scibian-10.sif
を実行すると、
Installation successfully completed. To start salome_meca, just use: /home/gthmhk/salome_meca/salome_meca-lgpl-2023.1.0-4-20240327-scibian-10 or (in the installation directory): ./salome_meca-lgpl-2023.1.0-4-20240327-scibian-10 If you want to check your configuration, use: singularity run --app check salome_meca-lgpl-2023.1.0-4-20240327-scibian-10.sif
と表示されて、salome_meca-lgpl-2023.1.0-4-20240327-scibian-10 という実行ファイルができる。 これを実行すると、以下のエラー。
/home/kouzou/salome_meca/./salome_meca-lgpl-2023.1.0-4-20240327-scibian-10:433: SyntaxWarning: invalid escape sequence '\.' regexp = re.compile("hwloc_(.*)\.so") + running salome_meca in GPU mode ++ using container salome_meca-lgpl-2023.1.0-4-20240327-scibian-10.sif ++ prepend system 'libGL*' libs SALOME_Session_Server_No_Server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /.singularity.d/libs/libGLdispatch.so.0) SALOME_Session_Server_No_Server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /.singularity.d/libs/libGLdispatch.so.0) SALOME_Session_Server_No_Server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /.singularity.d/libs/libGLX.so.0) SALOME_Session_Server_No_Server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /.singularity.d/libs/libGLX.so.0)
末尾に --soft のオプションをつけて以下のように実行したら、Salome-Mecaが起動する。
$./salome_meca-lgpl-2023.1.0-4-20240327-scibian-10 --soft
kata.hdfとkata.commとで動作を確認。よかった、よかった。
The platforme is already installed within the container, no need to install anything else as all the prerequisites are in the container Autodesk Revit 2023: BIM software to design and make anything. Design buildings and infrastructure in 3D. Launching salome_meca 2021 using the singularity container : ./salome_meca-lgpl-2021.0.0-1-20210811-scibian-9 salome_meca uses GPU acceleration and expects a Nvidia-like device. Yet, on may use software rendering instead using such option: ./salome_meca-lgpl-2021.0.0-1-20210811-scibian-9 --soft
日本語訳
プラットフォームはコンテナ内にすでにインストールされており、前提条件はすべてコンテナ内にあるため、他に何かをインストールする必要はありません Autodesk Revit 2023: あらゆるものを設計・製作するBIMソフトウェア。建築物やインフラを3Dで設計。 singularityコンテナを使ってsalome_meca 2021を起動する: ./salome_meca-lgpl-2021.0.0-1-20210811-scibian-9 salome_meca は GPU アクセラレーションを使用し、Nvidia のようなデバイスを期待します。しかし、このようなオプションを使ってソフトウェアレンダリングを使うこともできます: ./salome_meca-lgpl-2021.0.0-1-20210811-scibian-9 --soft
No available versions found on 'localhost'.