# pull image from remote
singularity pull docker://mariadb:10.3.39
# build image from def
singularity build mariadb.sif mariadb.def
singularity instance start --writable-tmpfs --bind ${PWD}/db/:/var/lib/mysql --bind ${PWD}/mysql/run/mysqld:/run/mysqld mariadb.sif mariadb
singularity shell instance://mariadb
singularity exec instance://mariadb mysql_install_db
singularity exec instance://mariadb mysqld_safe --datadir=/var/lib/mysql &
singularity exec instance://mariadb mysql_secure_installation
singularity exec instance://mariadb mysql -u root -e "create database slurm_acct_db;"
singularity exec instance://mariadb mysql -u root -e "create user 'slurm'@'127.0.0.1' identified by 'bar';"
singularity exec instance://mariadb mysql -u root -e "grant all privileges on slurm_acct_db.* to 'slurm'@'127.0.0.1';"
# list the instance
singularity instance list
# stop the instance
singularity instance stop mariadb
mpirun -n 1 -mca pml ucx --mca pml_base_verbose 10 --mca mtl_base_verbose 10 -x OMPI_MCA_pml_ucx_verbose=10 singularity exec /root/amd_hpl/amd_hpl.sif /tmp/mpi-hello
[slurm-compute-01:92608] mca: base: components_register: registering framework pml components
[slurm-compute-01:92608] mca: base: components_register: found loaded component ucx
[slurm-compute-01:92608] mca: base: components_register: component ucx register function successful
[slurm-compute-01:92608] mca: base: components_open: opening pml components
[slurm-compute-01:92608] mca: base: components_open: found loaded component ucx
[slurm-compute-01:92608] common_ucx.c:174 using OPAL memory hooks as external events
[slurm-compute-01:92608] pml_ucx.c:197 mca_pml_ucx_open: UCX version 1.15.0
[slurm-compute-01:92608] mca: base: components_open: component ucx open function successful
[slurm-compute-01:92608] select: initializing pml component ucx
[slurm-compute-01:92608] common_ucx.c:332 self/memory: did not match transport list
[slurm-compute-01:92608] common_ucx.c:332 tcp/ib0: did not match transport list
[slurm-compute-01:92608] common_ucx.c:332 sysv/memory: did not match transport list
[slurm-compute-01:92608] common_ucx.c:332 posix/memory: did not match transport list
[slurm-compute-01:92608] common_ucx.c:332 cma/memory: did not match transport list
[slurm-compute-01:92608] common_ucx.c:337 support level is none
[slurm-compute-01:92608] select: init returned failure for component ucx
--------------------------------------------------------------------------
No components were able to be opened in the pml framework.
This typically means that either no components of this type were
installed, or none of the installed components can be loaded.
Sometimes this means that shared libraries required by these
components are unable to be found/loaded.
Host: slurm-compute-01
Framework: pml
--------------------------------------------------------------------------
[slurm-compute-01:92608] PML ucx cannot be selected
mpirun -n 1 -mca pml ucx --mca pml_base_verbose 10 --mca mtl_base_verbose 10 --mca opal_common_ucx_tls any --mca opal_common_ucx_devices any -x OMPI_MCA_pml_ucx_verbose=10 -x UCX_NET_DEVICES='ib0' singularity exec /root/amd_hpl/amd_hpl.sif /tmp/mpi-hello