Atomic Simulation Environment (ASE)¶
To compile ASE on DelftBlue:
- Load necessary software modules:
- Load necessary Python-specific modules:
-
Install ASE locally:
The ASE binaries will be installed in
~/.local/bin/ase
:
GUI, GPAW, and other advanced features¶
If you want to use more advanced features of ASE, such as GUI (which depends on correctly compiled TK) or GPAW (which depends on correctly compiled LibXC), we recommend you to use a conda environment. For this:
- Load necessary software modules:
- Create a new conda environment:
-
Install dependencies inside of conda:
-
Submit your job:
#!/bin/bash #SBATCH --job-name="jobname" #SBATCH --time=01:00:00 #SBATCH --ntasks=4 #SBATCH --cpus-per-task=1 #SBATCH --mem-per-cpu=1G #SBATCH --partition=compute #SBATCH --account=research-eemcs-diam # Load modules: module load 2022r2 module load openmpi module load miniconda3 # Set conda env: unset CONDA_SHLVL source "$(conda info --base)/etc/profile.d/conda.sh" # Activate conda, run job, deactivate conda conda activate ase srun python myscript.py conda deactivate