This directory contains the GI_SR_3 alloy-supercell workflow and its generated results for the 3x3x3 supercell variant. It is a working area for generating special quasirandom structures, preparing Quantum ESPRESSO inputs, running relaxation and SCF calculations, and collecting band-gap and HDF5 summary outputs.
Compared with the older GI_SR workflow, this directory is centered on 3x3x3 cells and a more compact set of helper scripts. In practice, it combines:
- input templates and interpolation data,
- helper code for structure generation and QE input writing,
- per-composition calculation directories,
- summary plots, logs, and aggregated HDF5 results.
Because code and results live together here, this should be treated as an active project workspace rather than as a clean standalone package.
The contents fall into a few main groups.
base.cube_3x3x3.crys: template crystal structure for the3x3x3workflow.base.sqsgen.yamlandbase.gallides.yaml: sqsgenerator-style templates for structure generation.input_data.json: base QE namelist data.pseudopotentials.json: pseudopotential mapping used when writing QE inputs.U_base.json: endpoint HubbardUvalues used for interpolation.a_base.json: endpoint lattice constants used for alloy interpolation.ksection_relax.txt,ksection_scf.txt, andksection_bands.txt: k-point path/section files for different QE stages.
tools/: reusable Python and shell helpers for structure generation, QE input writing, and post-relax extraction.run_them_functions.sh: shell functions that automate repeated relax/SCF workflows across generated configurations.run_x-*.shandscf_x-*.sh: batch launch scripts for selected compositions.make_base_crys.py: small helper for converting a base YAML/result pair into a crystal or XYZ view.analyse_bandgaps.py,make_bowing_graph.py, andtest_bandgaps.py: analysis helpers for post-processing the calculated results.
dir_In..._cube_3x3x3/: per-composition working directories.- inside each
dir_*directory: typically multiplecalc_*subdirectories containing relax and SCF inputs/outputs. log_files/: stored logs from runs or summaries.
GI_SR_3.results.hdf5,GI_SR_2.results.hdf5, andGI_SR_4D.results.hdf5: collected result datasets.Ga_AsSb.bandgap.pngand related figures: composition-dependent summary plots.
The common workflow in this directory is:
- Choose a composition, for example by selecting
x,y, andN=3. - Generate or load the SQS-based structure description.
- Convert the structure into a
.crysfile. - Interpolate the Hubbard
Uvalues for the alloy. - Write the QE relaxation input.
- Run the relaxation job.
- Extract the relaxed crystal coordinates.
- Write the QE SCF input.
- Run the SCF job and collect the resulting quantities into plots or HDF5 summaries.
The repeated multi-case version of this workflow is mostly driven by run_them_functions.sh.
The local tools/ directory contains the small reusable pieces for this workflow, including:
IGAS_supercell.py: writes QE inputs from.crysor YAML-derived structures.first_process.py: generates SQS outputs and matching.crys/.xyzfiles.quantum_espresso_first_step.py: prepares the initial relaxation input.quantum_espresso_scf.py: prepares the follow-up SCF input.relax_crys.py: extracts the lowest-energy relaxed structure from QE output.write_Uin.py: writes composition-dependent HubbardUvalues.yaml_class.pyandyaml_files.py: YAML conversion helpers.remove_wfc.sh: deletes large QE scratch files after runs.
This directory assumes a cluster-style execution environment with:
- Slurm variables such as
SLURM_NPROCS, - Quantum ESPRESSO available on the execution path or through sourced setup scripts,
- the shared
/work/i254/i254/gentlesfilesystem layout, - the required Python packages available in the configured environments.
Many scripts also assume they are run from specific working directories and that companion files such as input_data.json, pseudopotentials.json, U_base.json, and the relevant ksection files are nearby.
If you are trying to understand or reuse this directory, start with:
run_them_functions.shfor the high-level batch workflow,input_data.json,U_base.json,a_base.json, and theksection_*.txtfiles for the physical and QE setup,- the
tools/scripts for the reusable implementation details, - one representative
dir_In..._cube_3x3x3/directory to see the generated structure of a real run.