<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Singularity on 桑峰</title><link>https://isangfeng.github.io/tags/singularity/</link><description>Recent content in Singularity on 桑峰</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><copyright>© 2026 桑峰</copyright><lastBuildDate>Mon, 21 Feb 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://isangfeng.github.io/tags/singularity/index.xml" rel="self" type="application/rss+xml"/><item><title>Singularity-05-Matlab&amp;fmriprep</title><link>https://isangfeng.github.io/posts/2022/2022-02-21-singularity5/</link><pubDate>Mon, 21 Feb 2022 00:00:00 +0000</pubDate><guid>https://isangfeng.github.io/posts/2022/2022-02-21-singularity5/</guid><description>&lt;h2 class="relative group"&gt;运行MATLAB
 &lt;div id="运行matlab" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e8%bf%90%e8%a1%8cmatlab" aria-label="锚点"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;使用matlab镜像运行matlab可使用如下命令：&lt;/p&gt;</description></item><item><title>Singularity-04-安装MATLAB</title><link>https://isangfeng.github.io/posts/2022/2022-02-17-singularity4/</link><pubDate>Thu, 17 Feb 2022 00:00:00 +0000</pubDate><guid>https://isangfeng.github.io/posts/2022/2022-02-17-singularity4/</guid><description>&lt;p&gt;以下是记录本人在使用学院高性能计算平台运行singularity中遇到的问题以及相应的解决方法，不一定适用于其他场景。&lt;/p&gt;</description></item><item><title>Singularity-03-创建镜像</title><link>https://isangfeng.github.io/posts/2021/2021-06-01-singularity3/</link><pubDate>Tue, 01 Jun 2021 00:00:00 +0000</pubDate><guid>https://isangfeng.github.io/posts/2021/2021-06-01-singularity3/</guid><description>&lt;p&gt;在Windows 10的Linux子系统（&lt;strong&gt;WLS&lt;/strong&gt;）中安装singularity(version=2.6.0)，并创建镜像。&lt;/p&gt;</description></item><item><title>Singularity-02-常见问题汇总</title><link>https://isangfeng.github.io/posts/2021/2021-05-20-singularity2/</link><pubDate>Thu, 20 May 2021 00:00:00 +0000</pubDate><guid>https://isangfeng.github.io/posts/2021/2021-05-20-singularity2/</guid><description>&lt;h2 class="relative group"&gt;ERROR : Base home directory does not exist within the container: /brain
 &lt;div id="error---base-home-directory-does-not-exist-within-the-container-brain" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#error---base-home-directory-does-not-exist-within-the-container-brain" aria-label="锚点"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;用沙盒模式创建镜像，然后以交互方式进入镜像后创建/brain目录。之后将沙盒格式的镜像打包为.img文件即可。&lt;/p&gt;</description></item><item><title>Singularity-01-安装</title><link>https://isangfeng.github.io/posts/2021/2021-05-19-singularity/</link><pubDate>Wed, 19 May 2021 00:00:00 +0000</pubDate><guid>https://isangfeng.github.io/posts/2021/2021-05-19-singularity/</guid><description>&lt;p&gt;简单来讲，Singularity是一种可以跨平台执行的小型虚拟机。在数据分析时，首先往往要搭建运行环境，比如R，python等。为了保证结果的可靠性，通常要保证跨设备环境的一致性。但是在跨运算设备之间搭建相同的环境是一项比较麻烦的事情。因此，如果只搭建一次环境，就可以在各个设备上使用，就比较轻松了。Singularity和Docker就提供了这样的功能。笔者在这里使用Singularity&lt;a href="https://singularity.lbl.gov/index.html" target="_blank" rel="noreferrer"&gt;1&lt;/a&gt;，版本为2.4.6。&lt;/p&gt;</description></item></channel></rss>