Phonopy¶
How to install on Arrhenius.¶
The original documentation suggests using conda for the installation. There is an easier way to get the tool on Arrhenius packed in a Singularity container.
Use the publicly available tool provided by Seqera to build and download the container. Make sure to choose "Singularity" and the correct architecture "linux/amd64" for this example. Search and select "phonopy" from conda-forge. Select different version if necessary. Click on the "Get container" button. Wait, if necessary, to build the container.
Download the container to your project folder.
Here is a link to the build detailsRunning phonopy from the container.¶
# Bind project folders to have easy access to your project as well
export APPTAINER_BINDPATH="/nobackup/proj"
./phonopy_4.6.0--5dceeb94ec9ade43.sif phonopy
_ __ | |__ ___ _ __ ___ _ __ _ _
| '_ \| '_ \ / _ \| '_ \ / _ \ | '_ \| | | |
| |_) | | | | (_) | | | | (_) || |_) | |_| |
| .__/|_| |_|\___/|_| |_|\___(_) .__/ \__, |
|_| |_| |___/
4.6.0
-------------------------[time 2026-09-26 17:29:28]-------------------------
Rust backend (phonors) using rayon (48 threads).
Running in phonopy.load mode.
Python version 3.14.7
Spglib version 2.7.0
Switched on phonopy-yaml mode.
"phonopy_disp.yaml" or "phonopy.yaml" could not be found.
___ _ __ _ __ ___ _ __
/ _ \ '__| '__/ _ \| '__|
| __/ | | | | (_) | |
\___|_| |_| \___/|_|
Look here for a template definition file to build locally.
Installation from conda-forge¶
Keep in mind, this will this method will result in ~ 630 MBi and ~ 17 000 files.
# Make folder in your project folder and link to redirect all environments
mkdir -p /nobackup/proj/disk/nais-XXXX-XX/personal/$USER/.conda-hpc
ln -s -T /nobackup/proj/disk/nais-XXXX-XX/personal/$USER/.conda-hpc ~/.conda-hpc
Continue in an interactive session if you need to install for the GPU partition.
# Load Miniforge from the module system
ml Miniforge/26.3.2-2-eb
# Install phonopy in its own conda environment
mamba create -n phonopy -c conda-forge phonopy
# Activate the conda environment
mamba activate phonopy
# Test
phonopy
_
_ __ | |__ ___ _ __ ___ _ __ _ _
| '_ \| '_ \ / _ \| '_ \ / _ \ | '_ \| | | |
| |_) | | | | (_) | | | | (_) || |_) | |_| |
| .__/|_| |_|\___/|_| |_|\___(_) .__/ \__, |
|_| |_| |___/
4.6.0
-------------------------[time 2026-09-30 15:01:51]-------------------------
Rust backend (phonors) using rayon (48 threads).
Running in phonopy.load mode.
Python version 3.14.7
Spglib version 2.7.0
Switched on phonopy-yaml mode.
"phonopy_disp.yaml" or "phonopy.yaml" could not be found.
___ _ __ _ __ ___ _ __
/ _ \ '__| '__/ _ \| '__|
| __/ | | | | (_) | |
\___|_| |_| \___/|_|
Source repository