What a difference a year can make; after a couple consecutive years of pandemic-related uncertainties, the world has finally turned the page. And as we kick off 2023, the team at Sylabs couldn’t be prouder of all the progress we made with everything from new offerings...
Arnold is an advanced Monte Carlo ray tracing renderer built for the demands of feature-length animation and visual effects rendering, largely used to create movies and video games.
Arnold must be downloaded and installed manually. In this example we will download the Arnold software, move it to the /tmp directory where it will be accessible within the container, create a sandbox container that we can interact with it in writable mode, and manually install Arnold. This is not the standard best-practices workflow for creating Singularity containers, but may be necessary in some cases where non-interactive installations are the only method available.
In order to download Arnold, you will need to sign in or create an account with AutoDesk:
From within the container, copy (or move) the installer to the /tmp directory where it will be accessible inside the container at runtime.
$ sudo cp ~/Downloads/MtoA-126.96.36.199-linux-2018.run /tmp/
This example was tested using Arnold for Maya for Linux 64 bit 2018 version.
Here is the definition file that we will use to create a base sandbox container suitable for interactive installation of Arnold:
Bootstrap: library From: debian:9 %environment # We will install arnold to /opt/arnold PATH=/opt/arnold/bin:$PATH export PATH # If you have a license server, you can set this # -- https://support.solidangle.com/display/A5AILIC/Setting+solidangle_LICENSE+on+the+command+line # solidangle_LICENSE=5053@server # export solidangle_LICENSE %post apt-get update # Required by Arnold apt-get -y install python less libx11-6 %runscript # Pass any options as kick CLI options /opt/arnold/bin/kick "$@"
You can download the definition file with:
$ wget https://raw.githubusercontent.com/sylabs/examples/master/graphics/rendering/arnold/arnold.def
Build the base container like so:
$ sudo singularity build --sandbox arnold/ arnold.def
Start up a shell, in a ––writable sandbox container
$ sudo singularity shell --writable arnold/
Install Arnold to /opt/arnold …
> sh /tmp/MtoA-188.8.131.52-linux-2018.run
- Read through the License Agreement
- Type — accept — if accepted
- Enter — 2 — for the Install mode
- Enter — /opt/arnold — for the Install location
After completing the interactive installation procedure exit the container.
Download a sample file to your current working directory:
We’ll use: cornell.ass
After downloading the file, move it to your current working directory (which should also be where your arnold/ sandbox container is located).
$ mv ~/Downloads/cornell.ass .
Run a quick test render (without render window):.
$ singularity run arnold/ -i cornell.ass -dw
Any option after the image (in this case arnold/), will be passed to the kick program.
Check output at: cornell.jpg
With the cornell.ass example, you will get output like:
Optionally you can also build a SIF image from the sandbox install.
Please note that this is not considered to be a best practice workflow. If you create a SIF image from an interactive sandbox session, the definition file that is saved in the SIF sandbox will not reflect all of the changes that have been made to the image. However, with Arnold there is no alternative but to install interactively.
$ sudo singularity build arnold.sif arnold/
Now, you can test again using the SIF file:
$ rm cornell.jpg $ singularity run arnold.sif -i cornell.ass -dw
If you have a License for Arnold, you can set the value of solidangle_LICENSE in the %environment section of the Definition file, or by running Singularity and giving it the value to pass into the container:
$ SINGULARITYENV_solidangle_LICENSE=5053@server \ singularity run arnold.sif -i cornell.ass -dw
View the Arnold example repository at: https://github.com/sylabs/examples/tree/master/graphics/rendering/arnold
Join Our Mailing List
EPEL (Extra Packages for Enterprise Linux) is a community project from Fedora, providing high-quality add-on packages for Red Hat Enterprise Linux (RHEL) and its compatible derivatives, such as AlmaLinux, Oracle Linux, Rocky Linux, and others. EPEL repository is a...
Bills of materials or BOMs are nothing new, but they are new in the software industry. They have been part of many supply chains for decades. When you purchase a car or a pharmaceutical device, the manufacturer of those products maintains a list of...