MLIP(Cu-Au)
Last updated: October 16, 2026
Info
- A machine learning interatomic potential (MLIP) with an ASE Calculator interface must be installed.
- This tutorial uses CHGNet as an example.
The files used in this tutorial can be downloaded from CrySPY_utility/examples/chgnet_Cu-Au_EA-vc. In this tutorial, we assume that a computing cluster with a job scheduler is used together with the machine learning interatomic potential (MLIP) CHGNet. By changing the Calculator, you can use a variety of MLIPs. The calculation can also be performed on a local PC, so if you prefer this, please modify the input settings accordingly. The target system is the binary Cu-Au system.
Pre-Calculation
In EA-vc, the per-atom energies of each elemental phase must be used as the reference in the ref_energies (end_point in versions 1.4.3 and earlier) setting of cryspy.in, so they need to be calculated beforehand.
There should be two directories inside the example.
Each directory contains a crystal structure file (POSCAR), a Python script (chgnet_in.py) to perform structure relaxation and calculate energy, and a job script (job_cryspy).
Please modify these files according to your computing environment.
Submit the job (replace the job submission command as appropriate for your system).
When the calculations finish successfully, a file named ref_energies will be created in each directory, containing the energy per atom (eV/atom) after structure relaxation.
These values are then used as input for the cryspy.in file.
cryspy.in
- Use
algo = EA-vc. - From v1.5.0,
energy_output_intervalin the [option] section sets the output interval in generations for the convex-hull plot and hull-distance file. Default:1(every generation);0disables automatic output. - From v1.5.0,
backup_intervalin the [option] section sets the automatic backup interval in generations. The default is1;0disables automatic backups. See Features > Backup for details. - Since MLIPs use the ASE Calculator interface, set
calc_code = ASE. - Change
jobcmdaccording to your computing environment. - In the [structure] section, use
ll_natto specify the minimum number of atoms for each element, andul_natfor the maximum. n_pop=n_crsov+n_perm+n_strain+n_rand+n_add+n_elim+n_subs- In the
ref_energies(end_pointin versions 1.4.3 and earlier), enter the per-atom energies (in eV/atom) of each pure element—Cu and Au. Use the values obtained from the pre-calculations, and make sure the order follows that ofatype. - For the parameters in the [EA] section, refer to CrySPY > Input file > [EA] Section and CrySPY > Search algorithms > Variable-composition evolutionary algorithm (EA-vc).
- Refer also to CrySPY > Tutorial > Variable-composition evolutionary algorithm (EA-VC) > Analysis and Visualization for the parameters of the automatically generated convex hull plot.
calc_in/
The contents under calc_in/ are the same as those in Tutorial > Random Search (RS) > ASE on your local PC, with minor modifications for CHGNet. Be sure to adjust paths such as the Python executable in the job script to match your computing environment. Be sure to adjust the Python executable path in the job script.