Skip to content
Snippets Groups Projects
validation_LiAl.ipynb 673 KiB
Newer Older
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "25d5b0d5-f330-4dcb-9b7c-f57c4bea9596",
   "metadata": {},
   "source": [
    "# **Workshop: From electrons to phase diagrams**\n",
    "\n",
    "# Day 2: Validation of the potentials\n",
    "\n",
    "Once we have the fitted potentials, it is necessary to validate them in order to assess their quality with respect to applications.\n",
    "\n",
    "In this exercise, we use the fitted potentials and perform some basic calculations."
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
   ]
  },
  {
   "cell_type": "markdown",
   "id": "4756d4c9-304a-4ccc-b772-ba67d008c5a4",
   "metadata": {},
   "source": [
    "## Import the fitted potentials for Li-Al (from earlier excercise)\n",
    "\n",
    "The same directory contains a `helper.py` file which among other things, also contains the necessary specifications of each of the potentials that we will use today. Individual potentials are descrbed in the LAMMPS format as:\n",
    "```\n",
    "pot_eam = pd.DataFrame({\n",
    "    'Name': ['LiAl_eam'],\n",
    "    'Filename': [[\"../potentials/AlLi.eam.fs\")]],\n",
    "    'Model': [\"EAM\"],\n",
    "    'Species': [['Li', 'Al']],\n",
    "    'Config': [['pair_style eam/fs\\n', 'pair_coeff * * AlLi.eam.fs Li Al\\n']]\n",
    "})\n",
    "\n",
    "```\n",
    "A list of such DataFrames describing the potentials is saved in a list called `potentials_list`. We import the list as:"
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
   ]
  },
  {
   "cell_type": "code",
qamarmt2's avatar
qamarmt2 committed
   "execution_count": 1,
   "id": "b90e0ac0",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Name</th>\n",
       "      <th>Filename</th>\n",
       "      <th>Model</th>\n",
       "      <th>Species</th>\n",
       "      <th>Config</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
qamarmt2's avatar
qamarmt2 committed
       "      <td>LiAl_eam</td>\n",
       "      <td>[/home/jovyan/workshop_preparation/potentials/...</td>\n",
       "      <td>EAM</td>\n",
       "      <td>[Li, Al]</td>\n",
       "      <td>[pair_style eam/fs\\n, pair_coeff * * AlLi.eam....</td>\n",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
qamarmt2's avatar
qamarmt2 committed
       "       Name                                           Filename Model  \\\n",
       "0  LiAl_eam  [/home/jovyan/workshop_preparation/potentials/...   EAM   \n",
qamarmt2's avatar
qamarmt2 committed
       "\n",
qamarmt2's avatar
qamarmt2 committed
       "    Species                                             Config  \n",
       "0  [Li, Al]  [pair_style eam/fs\\n, pair_coeff * * AlLi.eam....  "
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
      ]
     },
qamarmt2's avatar
qamarmt2 committed
     "execution_count": 1,
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from helper import potentials_list\n",
    "\n",
qamarmt2's avatar
qamarmt2 committed
    "# potentials_list = [potentials_list[1]]\n",
    "\n",
    "# display the first element in the list\n",
    "# which is an EAM potential\n",
qamarmt2's avatar
qamarmt2 committed
    "potentials_list[0]"
  {
   "cell_type": "markdown",
   "id": "4c84560c",
   "metadata": {},
   "source": [
    "### Import other important modules"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "83f7a2c9-d45a-4987-9e35-59badd754d4f",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
qamarmt2's avatar
qamarmt2 committed
       "1654601899.1397257"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import numpy as np\n",
    "import matplotlib.pylab as plt\n",
    "import seaborn as sns\n",
    "import pandas as pd\n",
    "import time\n",
    "from helper import get_clean_project_name\n",
    "from pyiron_atomistics import Project\n",
    "from pyiron import pyiron_to_ase\n",
    "import pyiron_gpl\n",
    "\n",
    "# save start time to record runtime of the notebook\n",
qamarmt2's avatar
qamarmt2 committed
    "time_start =  time.time()\n",
    "time_start"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "acc0ee8f",
   "metadata": {},
   "source": [
    "### Create a new project to perform validation calculations\n",
    "\n",
    "It is useful to create a new project directory for every kind of calculation. Pyiron will automatically create subdirectories for each potential and property we calculate. "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "706be2a9-5f94-4eb5-8e4f-6c349fe216b3",
   "metadata": {},
qamarmt2's avatar
qamarmt2 committed
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "e51d75e54818412eb80fb490eb51d974",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "  0%|          | 0/551 [00:00<?, ?it/s]"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "pr = Project(\"validation_LiAl\")\n",
    "\n",
    "# remove earlier jobs\n",
qamarmt2's avatar
qamarmt2 committed
    "pr.remove_jobs(silently=True, recursive=True)"
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
  {
   "cell_type": "markdown",
   "id": "3b84ed62-e841-4526-893e-dc4f61477c88",
   "metadata": {},
   "source": [
    "### Define the important pases to consider for validation\n",
    "\n",
    "We construct a python dictionary `struct_dict` which contains a description of all the important phases that we want to consider for this exercise. The descriptions given in the dictionary will be later used by Pyiron to generate or read the structural configurations for the respective phases.\n",
    "\n",
    "For unary phases, we provide an initial guess for the lattice parameter and use pyiron to generate the structural prototype.\n",
    "\n",
    "For binary phases, we provide a phase name and an additional dictionary `fl_dict` which maps the phase name to a `.cif` file saved in a subdirectory. Pyiron will use this information to read the respective configurations from the file."
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
   ]
  },
  {
   "cell_type": "code",
qamarmt2's avatar
qamarmt2 committed
   "execution_count": 4,
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
   "id": "28778cef-2a07-4794-888f-7239500e7b5a",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'Al': {'s_murn': ['fcc', 'bcc'], 'a': 4.04},\n",
       " 'Li': {'s_murn': ['bcc', 'fcc'], 'a': 3.5},\n",
       " 'Li2Al2': {'s_murn': ['Li2Al2_cubic']},\n",
       " 'LiAl3': {'s_murn': ['LiAl3_cubic']},\n",
       " 'Li9Al4': {'s_murn': ['Li9Al4_monoclinic']},\n",
       " 'Li3Al2': {'s_murn': ['Li3Al2_trigonal']},\n",
       " 'Li4Al4': {'s_murn': ['Li4Al4_cubic']}}"
qamarmt2's avatar
qamarmt2 committed
     "execution_count": 4,
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "struct_dict = dict()\n",
    "struct_dict[\"Al\"] = dict()\n",
    "struct_dict[\"Al\"][\"s_murn\"] = [\"fcc\",\"bcc\"]\n",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
    "struct_dict[\"Al\"][\"a\"] = 4.04\n",
    "\n",
    "struct_dict[\"Li\"] = dict()\n",
    "struct_dict[\"Li\"][\"s_murn\"] = [\"bcc\",\"fcc\"]\n",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
    "struct_dict[\"Li\"][\"a\"] = 3.5\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "struct_dict[\"Li2Al2\"] = dict()\n",
    "struct_dict[\"Li2Al2\"][\"s_murn\"] = [\"Li2Al2_cubic\"]\n",
    "# struct_dict[\"Li2Al2\"][\"a\"] = 3.7\n",
    "\n",
    "struct_dict[\"LiAl3\"] = dict()\n",
    "struct_dict[\"LiAl3\"][\"s_murn\"] = [\"LiAl3_tetragonal\"]\n",
    "# struct_dict[\"LiAl3\"][\"a\"] = 3.7\n",
    "\n",
    "struct_dict[\"LiAl3\"] = dict()\n",
    "struct_dict[\"LiAl3\"][\"s_murn\"] = [\"LiAl3_cubic\"]\n",
    "# struct_dict[\"LiAl3\"][\"a\"] = 3.7\n",
    "\n",
    "struct_dict[\"Li9Al4\"] = dict()\n",
    "struct_dict[\"Li9Al4\"][\"s_murn\"] = [\"Li9Al4_monoclinic\"]\n",
    "# struct_dict[\"Li9Al4\"][\"a\"] = 3.7\n",
    "\n",
    "struct_dict[\"Li3Al2\"] = dict()\n",
    "struct_dict[\"Li3Al2\"][\"s_murn\"] = [\"Li3Al2_trigonal\"]\n",
    "# struct_dict[\"Li3Al2\"][\"a\"] = 3.7\n",
    "\n",
    "struct_dict[\"Li4Al4\"] = dict()\n",
    "struct_dict[\"Li4Al4\"][\"s_murn\"] = [\"Li4Al4_cubic\"]\n",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
    "\n",
    "struct_dict"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "23b2e6d9",
   "metadata": {},
   "source": [
    "a dictionary is described to map the binary phases to their file locations"
   ]
  },
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
  {
   "cell_type": "code",
qamarmt2's avatar
qamarmt2 committed
   "execution_count": 5,
   "id": "c1820db7",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
   "metadata": {},
   "outputs": [],
   "source": [
    "fl_dict = {\"Li2Al2_cubic\": \"mp_structures/LiAl_mp-1067_primitive.cif\",\n",
    "           \"LiAl3_tetragonal\":\"mp_structures/LiAl3_mp-975906_primitive.cif\",\n",
    "           \"LiAl3_cubic\":\"mp_structures/LiAl3_mp-10890_primitive.cif\",\n",
    "           \"Li9Al4_monoclinic\":\"mp_structures/Li9Al4_mp-568404_primitive.cif\",\n",
    "           \"Li3Al2_trigonal\":\"mp_structures/Al2Li3-6021.cif\",\n",
    "           \"Li4Al4_cubic\":\"mp_structures/LiAl_mp-1079240_primitive.cif\"}"
   ]
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
  },
  {
   "cell_type": "markdown",
   "id": "198e9745-734a-4502-8f1b-0330ba8c8fca",
   "metadata": {},
   "source": [
qamarmt2's avatar
qamarmt2 committed
    "## (a) Ground state: E-V curves\n",
    "\n",
    "Using a series of nested `for` loops, we calculate the murnaghan EV-curves using all three potentials for all the defined structures.\n",
    "\n",
    "We loop over:\n",
    " - All the potentials defined in `potentials_list` and name the project according to the potential\n",
    "   - All the chemical formulae defined in the keys of `struct_dict`\n",
    "     - All phases defined for a given chemical formula\n",
    "     \n",
    "Within the loops, the first step is to get the structure basis on which we will perform the calculations. \n",
    "\n",
    "- For unary phases, we use the pyiron function `pr_pot.create_ase_bulk(compound, crys_structure, a=compound_dict[\"a\"])` \n",
    "- For binary structures, we read the basis using `pr.create.structure.ase.read(fl_path)` with the `fl_path` given by `fl_dict` defined earlier.\n",
    "\n",
    "Once the structure and potential is defined as part of the pr_job, we run two calculations:\n",
    "- `job_relax` to relax the structure to the ground state\n",
    "- `murn_job` to calculate the energies in a small volume range around the equilibrium\n",
    "\n",
    "As the calculations are being performed, the status(s) of each calculation is printed. If a job is already calculated, the calculations are not re-run but rather re-read from the saved data."
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
   ]
  },
  {
   "cell_type": "code",
qamarmt2's avatar
qamarmt2 committed
   "execution_count": 6,
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
   "id": "13f095d2-44d7-4711-b9a5-d58a95af42f6",
   "metadata": {
    "scrolled": true
   },
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
qamarmt2's avatar
qamarmt2 committed
      "The job Al_fcc_relax was saved and received the ID: 1\n",
      "The job murn_job_Al_fcc was saved and received the ID: 2\n",
      "The job murn_job_Al_fcc_0_9 was saved and received the ID: 3\n",
      "The job murn_job_Al_fcc_0_92 was saved and received the ID: 4\n",
      "The job murn_job_Al_fcc_0_94 was saved and received the ID: 5\n",
      "The job murn_job_Al_fcc_0_96 was saved and received the ID: 6\n",
      "The job murn_job_Al_fcc_0_98 was saved and received the ID: 7\n",
      "The job murn_job_Al_fcc_1_0 was saved and received the ID: 8\n",
      "The job murn_job_Al_fcc_1_02 was saved and received the ID: 9\n",
      "The job murn_job_Al_fcc_1_04 was saved and received the ID: 10\n",
      "The job murn_job_Al_fcc_1_06 was saved and received the ID: 11\n",
      "The job murn_job_Al_fcc_1_08 was saved and received the ID: 12\n",
      "The job murn_job_Al_fcc_1_1 was saved and received the ID: 13\n",
      "The job Al_bcc_relax was saved and received the ID: 14\n",
      "The job murn_job_Al_bcc was saved and received the ID: 15\n",
      "The job murn_job_Al_bcc_0_9 was saved and received the ID: 16\n",
      "The job murn_job_Al_bcc_0_92 was saved and received the ID: 17\n",
      "The job murn_job_Al_bcc_0_94 was saved and received the ID: 18\n",
      "The job murn_job_Al_bcc_0_96 was saved and received the ID: 19\n",
      "The job murn_job_Al_bcc_0_98 was saved and received the ID: 20\n",
      "The job murn_job_Al_bcc_1_0 was saved and received the ID: 21\n",
      "The job murn_job_Al_bcc_1_02 was saved and received the ID: 22\n",
      "The job murn_job_Al_bcc_1_04 was saved and received the ID: 23\n",
      "The job murn_job_Al_bcc_1_06 was saved and received the ID: 24\n",
      "The job murn_job_Al_bcc_1_08 was saved and received the ID: 25\n",
      "The job murn_job_Al_bcc_1_1 was saved and received the ID: 26\n",
      "The job Li_bcc_relax was saved and received the ID: 27\n",
      "The job murn_job_Li_bcc was saved and received the ID: 28\n",
      "The job murn_job_Li_bcc_0_9 was saved and received the ID: 29\n",
      "The job murn_job_Li_bcc_0_92 was saved and received the ID: 30\n",
      "The job murn_job_Li_bcc_0_94 was saved and received the ID: 31\n",
      "The job murn_job_Li_bcc_0_96 was saved and received the ID: 32\n",
      "The job murn_job_Li_bcc_0_98 was saved and received the ID: 33\n",
      "The job murn_job_Li_bcc_1_0 was saved and received the ID: 34\n",
      "The job murn_job_Li_bcc_1_02 was saved and received the ID: 35\n",
      "The job murn_job_Li_bcc_1_04 was saved and received the ID: 36\n",
      "The job murn_job_Li_bcc_1_06 was saved and received the ID: 37\n",
      "The job murn_job_Li_bcc_1_08 was saved and received the ID: 38\n",
      "The job murn_job_Li_bcc_1_1 was saved and received the ID: 39\n",
      "The job Li_fcc_relax was saved and received the ID: 40\n",
      "The job murn_job_Li_fcc was saved and received the ID: 41\n",
      "The job murn_job_Li_fcc_0_9 was saved and received the ID: 42\n",
      "The job murn_job_Li_fcc_0_92 was saved and received the ID: 43\n",
      "The job murn_job_Li_fcc_0_94 was saved and received the ID: 44\n",
      "The job murn_job_Li_fcc_0_96 was saved and received the ID: 45\n",
      "The job murn_job_Li_fcc_0_98 was saved and received the ID: 46\n",
      "The job murn_job_Li_fcc_1_0 was saved and received the ID: 47\n",
      "The job murn_job_Li_fcc_1_02 was saved and received the ID: 48\n",
      "The job murn_job_Li_fcc_1_04 was saved and received the ID: 49\n",
      "The job murn_job_Li_fcc_1_06 was saved and received the ID: 50\n",
      "The job murn_job_Li_fcc_1_08 was saved and received the ID: 51\n",
      "The job murn_job_Li_fcc_1_1 was saved and received the ID: 52\n",
      "The job Li2Al2_Li2Al2_cubic_relax was saved and received the ID: 53\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic was saved and received the ID: 54\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_0_9 was saved and received the ID: 55\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_0_92 was saved and received the ID: 56\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_0_94 was saved and received the ID: 57\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_0_96 was saved and received the ID: 58\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_0_98 was saved and received the ID: 59\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_1_0 was saved and received the ID: 60\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_1_02 was saved and received the ID: 61\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_1_04 was saved and received the ID: 62\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_1_06 was saved and received the ID: 63\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_1_08 was saved and received the ID: 64\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_1_1 was saved and received the ID: 65\n",
      "The job LiAl3_LiAl3_cubic_relax was saved and received the ID: 66\n",
      "The job murn_job_LiAl3_LiAl3_cubic was saved and received the ID: 67\n",
      "The job murn_job_LiAl3_LiAl3_cubic_0_9 was saved and received the ID: 68\n",
      "The job murn_job_LiAl3_LiAl3_cubic_0_92 was saved and received the ID: 69\n",
      "The job murn_job_LiAl3_LiAl3_cubic_0_94 was saved and received the ID: 70\n",
      "The job murn_job_LiAl3_LiAl3_cubic_0_96 was saved and received the ID: 71\n",
      "The job murn_job_LiAl3_LiAl3_cubic_0_98 was saved and received the ID: 72\n",
      "The job murn_job_LiAl3_LiAl3_cubic_1_0 was saved and received the ID: 73\n",
      "The job murn_job_LiAl3_LiAl3_cubic_1_02 was saved and received the ID: 74\n",
      "The job murn_job_LiAl3_LiAl3_cubic_1_04 was saved and received the ID: 75\n",
      "The job murn_job_LiAl3_LiAl3_cubic_1_06 was saved and received the ID: 76\n",
      "The job murn_job_LiAl3_LiAl3_cubic_1_08 was saved and received the ID: 77\n",
      "The job murn_job_LiAl3_LiAl3_cubic_1_1 was saved and received the ID: 78\n",
      "The job Li9Al4_Li9Al4_monoclinic_relax was saved and received the ID: 79\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic was saved and received the ID: 80\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_0_9 was saved and received the ID: 81\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_0_92 was saved and received the ID: 82\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_0_94 was saved and received the ID: 83\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_0_96 was saved and received the ID: 84\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_0_98 was saved and received the ID: 85\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_1_0 was saved and received the ID: 86\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_1_02 was saved and received the ID: 87\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_1_04 was saved and received the ID: 88\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_1_06 was saved and received the ID: 89\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_1_08 was saved and received the ID: 90\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_1_1 was saved and received the ID: 91\n",
      "The job Li3Al2_Li3Al2_trigonal_relax was saved and received the ID: 92\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal was saved and received the ID: 93\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_0_9 was saved and received the ID: 94\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_0_92 was saved and received the ID: 95\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_0_94 was saved and received the ID: 96\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_0_96 was saved and received the ID: 97\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_0_98 was saved and received the ID: 98\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_1_0 was saved and received the ID: 99\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_1_02 was saved and received the ID: 100\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_1_04 was saved and received the ID: 101\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_1_06 was saved and received the ID: 102\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_1_08 was saved and received the ID: 103\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_1_1 was saved and received the ID: 104\n",
      "The job Li4Al4_Li4Al4_cubic_relax was saved and received the ID: 105\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic was saved and received the ID: 106\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_0_9 was saved and received the ID: 107\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_0_92 was saved and received the ID: 108\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_0_94 was saved and received the ID: 109\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_0_96 was saved and received the ID: 110\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_0_98 was saved and received the ID: 111\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_1_0 was saved and received the ID: 112\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_1_02 was saved and received the ID: 113\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_1_04 was saved and received the ID: 114\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_1_06 was saved and received the ID: 115\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_1_08 was saved and received the ID: 116\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_1_1 was saved and received the ID: 117\n",
      "The job Al_fcc_relax was saved and received the ID: 118\n",
      "The job murn_job_Al_fcc was saved and received the ID: 119\n",
      "The job murn_job_Al_fcc_0_9 was saved and received the ID: 120\n",
      "The job murn_job_Al_fcc_0_92 was saved and received the ID: 121\n",
      "The job murn_job_Al_fcc_0_94 was saved and received the ID: 122\n",
      "The job murn_job_Al_fcc_0_96 was saved and received the ID: 123\n",
      "The job murn_job_Al_fcc_0_98 was saved and received the ID: 124\n",
      "The job murn_job_Al_fcc_1_0 was saved and received the ID: 125\n",
      "The job murn_job_Al_fcc_1_02 was saved and received the ID: 126\n",
      "The job murn_job_Al_fcc_1_04 was saved and received the ID: 127\n",
      "The job murn_job_Al_fcc_1_06 was saved and received the ID: 128\n",
      "The job murn_job_Al_fcc_1_08 was saved and received the ID: 129\n",
      "The job murn_job_Al_fcc_1_1 was saved and received the ID: 130\n",
      "The job Al_bcc_relax was saved and received the ID: 131\n",
      "The job murn_job_Al_bcc was saved and received the ID: 132\n",
      "The job murn_job_Al_bcc_0_9 was saved and received the ID: 133\n",
      "The job murn_job_Al_bcc_0_92 was saved and received the ID: 134\n",
      "The job murn_job_Al_bcc_0_94 was saved and received the ID: 135\n",
      "The job murn_job_Al_bcc_0_96 was saved and received the ID: 136\n",
      "The job murn_job_Al_bcc_0_98 was saved and received the ID: 137\n",
      "The job murn_job_Al_bcc_1_0 was saved and received the ID: 138\n",
      "The job murn_job_Al_bcc_1_02 was saved and received the ID: 139\n",
      "The job murn_job_Al_bcc_1_04 was saved and received the ID: 140\n",
      "The job murn_job_Al_bcc_1_06 was saved and received the ID: 141\n",
      "The job murn_job_Al_bcc_1_08 was saved and received the ID: 142\n",
      "The job murn_job_Al_bcc_1_1 was saved and received the ID: 143\n",
      "The job Li_bcc_relax was saved and received the ID: 144\n",
      "The job murn_job_Li_bcc was saved and received the ID: 145\n",
      "The job murn_job_Li_bcc_0_9 was saved and received the ID: 146\n",
      "The job murn_job_Li_bcc_0_92 was saved and received the ID: 147\n",
      "The job murn_job_Li_bcc_0_94 was saved and received the ID: 148\n",
      "The job murn_job_Li_bcc_0_96 was saved and received the ID: 149\n",
      "The job murn_job_Li_bcc_0_98 was saved and received the ID: 150\n",
      "The job murn_job_Li_bcc_1_0 was saved and received the ID: 151\n",
      "The job murn_job_Li_bcc_1_02 was saved and received the ID: 152\n",
      "The job murn_job_Li_bcc_1_04 was saved and received the ID: 153\n",
      "The job murn_job_Li_bcc_1_06 was saved and received the ID: 154\n",
      "The job murn_job_Li_bcc_1_08 was saved and received the ID: 155\n",
      "The job murn_job_Li_bcc_1_1 was saved and received the ID: 156\n",
      "The job Li_fcc_relax was saved and received the ID: 157\n",
      "The job murn_job_Li_fcc was saved and received the ID: 158\n",
      "The job murn_job_Li_fcc_0_9 was saved and received the ID: 159\n",
      "The job murn_job_Li_fcc_0_92 was saved and received the ID: 160\n",
      "The job murn_job_Li_fcc_0_94 was saved and received the ID: 161\n",
      "The job murn_job_Li_fcc_0_96 was saved and received the ID: 162\n",
      "The job murn_job_Li_fcc_0_98 was saved and received the ID: 163\n",
      "The job murn_job_Li_fcc_1_0 was saved and received the ID: 164\n",
      "The job murn_job_Li_fcc_1_02 was saved and received the ID: 165\n",
      "The job murn_job_Li_fcc_1_04 was saved and received the ID: 166\n",
      "The job murn_job_Li_fcc_1_06 was saved and received the ID: 167\n",
      "The job murn_job_Li_fcc_1_08 was saved and received the ID: 168\n",
      "The job murn_job_Li_fcc_1_1 was saved and received the ID: 169\n",
      "The job Li2Al2_Li2Al2_cubic_relax was saved and received the ID: 170\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic was saved and received the ID: 171\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_0_9 was saved and received the ID: 172\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_0_92 was saved and received the ID: 173\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_0_94 was saved and received the ID: 174\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_0_96 was saved and received the ID: 175\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_0_98 was saved and received the ID: 176\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_1_0 was saved and received the ID: 177\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_1_02 was saved and received the ID: 178\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_1_04 was saved and received the ID: 179\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_1_06 was saved and received the ID: 180\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_1_08 was saved and received the ID: 181\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_1_1 was saved and received the ID: 182\n",
      "The job LiAl3_LiAl3_cubic_relax was saved and received the ID: 183\n",
      "The job murn_job_LiAl3_LiAl3_cubic was saved and received the ID: 184\n",
      "The job murn_job_LiAl3_LiAl3_cubic_0_9 was saved and received the ID: 185\n",
      "The job murn_job_LiAl3_LiAl3_cubic_0_92 was saved and received the ID: 186\n",
      "The job murn_job_LiAl3_LiAl3_cubic_0_94 was saved and received the ID: 187\n",
      "The job murn_job_LiAl3_LiAl3_cubic_0_96 was saved and received the ID: 188\n",
      "The job murn_job_LiAl3_LiAl3_cubic_0_98 was saved and received the ID: 189\n",
      "The job murn_job_LiAl3_LiAl3_cubic_1_0 was saved and received the ID: 190\n",
      "The job murn_job_LiAl3_LiAl3_cubic_1_02 was saved and received the ID: 191\n",
      "The job murn_job_LiAl3_LiAl3_cubic_1_04 was saved and received the ID: 192\n",
      "The job murn_job_LiAl3_LiAl3_cubic_1_06 was saved and received the ID: 193\n",
      "The job murn_job_LiAl3_LiAl3_cubic_1_08 was saved and received the ID: 194\n",
      "The job murn_job_LiAl3_LiAl3_cubic_1_1 was saved and received the ID: 195\n",
      "The job Li9Al4_Li9Al4_monoclinic_relax was saved and received the ID: 196\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic was saved and received the ID: 197\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_0_9 was saved and received the ID: 198\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_0_92 was saved and received the ID: 199\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_0_94 was saved and received the ID: 200\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_0_96 was saved and received the ID: 201\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_0_98 was saved and received the ID: 202\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_1_0 was saved and received the ID: 203\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_1_02 was saved and received the ID: 204\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_1_04 was saved and received the ID: 205\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_1_06 was saved and received the ID: 206\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_1_08 was saved and received the ID: 207\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_1_1 was saved and received the ID: 208\n",
      "The job Li3Al2_Li3Al2_trigonal_relax was saved and received the ID: 209\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal was saved and received the ID: 210\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_0_9 was saved and received the ID: 211\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_0_92 was saved and received the ID: 212\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_0_94 was saved and received the ID: 213\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_0_96 was saved and received the ID: 214\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_0_98 was saved and received the ID: 215\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_1_0 was saved and received the ID: 216\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_1_02 was saved and received the ID: 217\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_1_04 was saved and received the ID: 218\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_1_06 was saved and received the ID: 219\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_1_08 was saved and received the ID: 220\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_1_1 was saved and received the ID: 221\n",
      "The job Li4Al4_Li4Al4_cubic_relax was saved and received the ID: 222\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic was saved and received the ID: 223\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_0_9 was saved and received the ID: 224\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_0_92 was saved and received the ID: 225\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_0_94 was saved and received the ID: 226\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_0_96 was saved and received the ID: 227\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_0_98 was saved and received the ID: 228\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_1_0 was saved and received the ID: 229\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_1_02 was saved and received the ID: 230\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_1_04 was saved and received the ID: 231\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_1_06 was saved and received the ID: 232\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_1_08 was saved and received the ID: 233\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_1_1 was saved and received the ID: 234\n",
      "The job Al_fcc_relax was saved and received the ID: 235\n",
      "The job murn_job_Al_fcc was saved and received the ID: 236\n",
      "The job murn_job_Al_fcc_0_9 was saved and received the ID: 237\n",
      "The job murn_job_Al_fcc_0_92 was saved and received the ID: 238\n",
      "The job murn_job_Al_fcc_0_94 was saved and received the ID: 239\n",
      "The job murn_job_Al_fcc_0_96 was saved and received the ID: 240\n",
      "The job murn_job_Al_fcc_0_98 was saved and received the ID: 241\n",
      "The job murn_job_Al_fcc_1_0 was saved and received the ID: 242\n",
      "The job murn_job_Al_fcc_1_02 was saved and received the ID: 243\n",
      "The job murn_job_Al_fcc_1_04 was saved and received the ID: 244\n",
      "The job murn_job_Al_fcc_1_06 was saved and received the ID: 245\n",
      "The job murn_job_Al_fcc_1_08 was saved and received the ID: 246\n",
      "The job murn_job_Al_fcc_1_1 was saved and received the ID: 247\n",
      "The job Al_bcc_relax was saved and received the ID: 248\n",
      "The job murn_job_Al_bcc was saved and received the ID: 249\n",
      "The job murn_job_Al_bcc_0_9 was saved and received the ID: 250\n",
      "The job murn_job_Al_bcc_0_92 was saved and received the ID: 251\n",
      "The job murn_job_Al_bcc_0_94 was saved and received the ID: 252\n",
      "The job murn_job_Al_bcc_0_96 was saved and received the ID: 253\n",
      "The job murn_job_Al_bcc_0_98 was saved and received the ID: 254\n",
      "The job murn_job_Al_bcc_1_0 was saved and received the ID: 255\n",
      "The job murn_job_Al_bcc_1_02 was saved and received the ID: 256\n",
      "The job murn_job_Al_bcc_1_04 was saved and received the ID: 257\n",
      "The job murn_job_Al_bcc_1_06 was saved and received the ID: 258\n",
      "The job murn_job_Al_bcc_1_08 was saved and received the ID: 259\n",
      "The job murn_job_Al_bcc_1_1 was saved and received the ID: 260\n",
      "The job Li_bcc_relax was saved and received the ID: 261\n",
      "The job murn_job_Li_bcc was saved and received the ID: 262\n",
      "The job murn_job_Li_bcc_0_9 was saved and received the ID: 263\n",
      "The job murn_job_Li_bcc_0_92 was saved and received the ID: 264\n",
      "The job murn_job_Li_bcc_0_94 was saved and received the ID: 265\n",
      "The job murn_job_Li_bcc_0_96 was saved and received the ID: 266\n",
      "The job murn_job_Li_bcc_0_98 was saved and received the ID: 267\n",
      "The job murn_job_Li_bcc_1_0 was saved and received the ID: 268\n",
      "The job murn_job_Li_bcc_1_02 was saved and received the ID: 269\n",
      "The job murn_job_Li_bcc_1_04 was saved and received the ID: 270\n",
      "The job murn_job_Li_bcc_1_06 was saved and received the ID: 271\n",
      "The job murn_job_Li_bcc_1_08 was saved and received the ID: 272\n",
      "The job murn_job_Li_bcc_1_1 was saved and received the ID: 273\n",
      "The job Li_fcc_relax was saved and received the ID: 274\n",
      "The job murn_job_Li_fcc was saved and received the ID: 275\n",
      "The job murn_job_Li_fcc_0_9 was saved and received the ID: 276\n",
      "The job murn_job_Li_fcc_0_92 was saved and received the ID: 277\n",
      "The job murn_job_Li_fcc_0_94 was saved and received the ID: 278\n",
      "The job murn_job_Li_fcc_0_96 was saved and received the ID: 279\n",
      "The job murn_job_Li_fcc_0_98 was saved and received the ID: 280\n",
      "The job murn_job_Li_fcc_1_0 was saved and received the ID: 281\n",
      "The job murn_job_Li_fcc_1_02 was saved and received the ID: 282\n",
      "The job murn_job_Li_fcc_1_04 was saved and received the ID: 283\n",
      "The job murn_job_Li_fcc_1_06 was saved and received the ID: 284\n",
      "The job murn_job_Li_fcc_1_08 was saved and received the ID: 285\n",
      "The job murn_job_Li_fcc_1_1 was saved and received the ID: 286\n",
      "The job Li2Al2_Li2Al2_cubic_relax was saved and received the ID: 287\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic was saved and received the ID: 288\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_0_9 was saved and received the ID: 289\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_0_92 was saved and received the ID: 290\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_0_94 was saved and received the ID: 291\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_0_96 was saved and received the ID: 292\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_0_98 was saved and received the ID: 293\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_1_0 was saved and received the ID: 294\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_1_02 was saved and received the ID: 295\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_1_04 was saved and received the ID: 296\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_1_06 was saved and received the ID: 297\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_1_08 was saved and received the ID: 298\n",
      "The job murn_job_Li2Al2_Li2Al2_cubic_1_1 was saved and received the ID: 299\n",
      "The job LiAl3_LiAl3_cubic_relax was saved and received the ID: 300\n",
      "The job murn_job_LiAl3_LiAl3_cubic was saved and received the ID: 301\n",
      "The job murn_job_LiAl3_LiAl3_cubic_0_9 was saved and received the ID: 302\n",
      "The job murn_job_LiAl3_LiAl3_cubic_0_92 was saved and received the ID: 303\n",
      "The job murn_job_LiAl3_LiAl3_cubic_0_94 was saved and received the ID: 304\n",
      "The job murn_job_LiAl3_LiAl3_cubic_0_96 was saved and received the ID: 305\n",
      "The job murn_job_LiAl3_LiAl3_cubic_0_98 was saved and received the ID: 306\n",
      "The job murn_job_LiAl3_LiAl3_cubic_1_0 was saved and received the ID: 307\n",
      "The job murn_job_LiAl3_LiAl3_cubic_1_02 was saved and received the ID: 308\n",
      "The job murn_job_LiAl3_LiAl3_cubic_1_04 was saved and received the ID: 309\n",
      "The job murn_job_LiAl3_LiAl3_cubic_1_06 was saved and received the ID: 310\n",
      "The job murn_job_LiAl3_LiAl3_cubic_1_08 was saved and received the ID: 311\n",
      "The job murn_job_LiAl3_LiAl3_cubic_1_1 was saved and received the ID: 312\n",
      "The job Li9Al4_Li9Al4_monoclinic_relax was saved and received the ID: 313\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic was saved and received the ID: 314\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_0_9 was saved and received the ID: 315\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_0_92 was saved and received the ID: 316\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_0_94 was saved and received the ID: 317\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_0_96 was saved and received the ID: 318\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_0_98 was saved and received the ID: 319\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_1_0 was saved and received the ID: 320\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_1_02 was saved and received the ID: 321\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_1_04 was saved and received the ID: 322\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_1_06 was saved and received the ID: 323\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_1_08 was saved and received the ID: 324\n",
      "The job murn_job_Li9Al4_Li9Al4_monoclinic_1_1 was saved and received the ID: 325\n",
      "The job Li3Al2_Li3Al2_trigonal_relax was saved and received the ID: 326\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal was saved and received the ID: 327\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_0_9 was saved and received the ID: 328\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_0_92 was saved and received the ID: 329\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_0_94 was saved and received the ID: 330\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_0_96 was saved and received the ID: 331\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_0_98 was saved and received the ID: 332\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_1_0 was saved and received the ID: 333\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_1_02 was saved and received the ID: 334\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_1_04 was saved and received the ID: 335\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_1_06 was saved and received the ID: 336\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_1_08 was saved and received the ID: 337\n",
      "The job murn_job_Li3Al2_Li3Al2_trigonal_1_1 was saved and received the ID: 338\n",
      "The job Li4Al4_Li4Al4_cubic_relax was saved and received the ID: 339\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic was saved and received the ID: 340\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_0_9 was saved and received the ID: 341\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_0_92 was saved and received the ID: 342\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_0_94 was saved and received the ID: 343\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_0_96 was saved and received the ID: 344\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_0_98 was saved and received the ID: 345\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_1_0 was saved and received the ID: 346\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_1_02 was saved and received the ID: 347\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_1_04 was saved and received the ID: 348\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_1_06 was saved and received the ID: 349\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_1_08 was saved and received the ID: 350\n",
      "The job murn_job_Li4Al4_Li4Al4_cubic_1_1 was saved and received the ID: 351\n"
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
    }
   ],
   "source": [
    "for pot in potentials_list:\n",
    "    with pr.open(get_clean_project_name(pot)) as pr_pot:\n",
    "        for compound, compound_dict in struct_dict.items():\n",
    "            for crys_structure in compound_dict[\"s_murn\"]:\n",
    "                \n",
    "                # Relax structure\n",
    "                if crys_structure in [\"fcc\",\"bcc\"]:\n",
    "                    basis = pr_pot.create_ase_bulk(compound, crys_structure, a=compound_dict[\"a\"])\n",
    "                else:\n",
    "                    basis = pr.create.structure.ase.read(fl_dict[crys_structure])\n",
    "                job_relax = pr_pot.create_job(pr_pot.job_type.Lammps, f\"{compound}_{crys_structure}_relax\", delete_existing_job=True)\n",
    "\n",
    "                job_relax.structure = basis\n",
    "                job_relax.potential = pot\n",
    "                job_relax.calc_minimize(pressure=0)\n",
    "                job_relax.run()\n",
    "                \n",
    "                # Murnaghan\n",
    "                job_ref = pr_pot.create_job(pr_pot.job_type.Lammps, f\"ref_job_{compound}_{crys_structure}\")\n",
    "                job_ref.structure = job_relax.get_structure(-1)\n",
    "                job_ref.potential = pot\n",
    "                job_ref.calc_minimize()\n",
    "                \n",
    "                murn_job = job_ref.create_job(pr_pot.job_type.Murnaghan, f\"murn_job_{compound}_{crys_structure}\")\n",
    "                murn_job.input[\"vol_range\"] = 0.1\n",
    "                murn_job.run()"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "9d848f1a",
   "metadata": {},
   "source": [
    "One can display the technical details of all submitted jobs using `pr.job_table()` below."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "fdc89ebb-3c2a-4315-8fe0-3ae470375223",
   "metadata": {
    "scrolled": true
   },
   "outputs": [],
   "source": [
    "# pr.job_table()"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "425dcaec",
   "metadata": {},
   "source": [
    "In order to get read useful results from the completed calculations (eq_energy, eq_volume, etc), it is useful to define the following functions"
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
   ]
  },
  {
   "cell_type": "code",
qamarmt2's avatar
qamarmt2 committed
   "execution_count": 8,
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
   "id": "ef2f414b-64b8-49aa-87e9-e204950da938",
   "metadata": {},
   "outputs": [],
   "source": [
    "# Only work with Murnaghan jobs\n",
    "def get_only_murn(job_table):\n",
    "    return (job_table.hamilton == \"Murnaghan\") & (job_table.status == \"finished\") \n",
    "\n",
    "def get_eq_vol(job_path):\n",
    "    return job_path[\"output/equilibrium_volume\"]\n",
    "\n",
    "def get_eq_lp(job_path):\n",
    "    return np.linalg.norm(job_path[\"output/structure/cell/cell\"][0]) * np.sqrt(2)\n",
    "\n",
    "def get_eq_bm(job_path):\n",
    "    return job_path[\"output/equilibrium_bulk_modulus\"]\n",
    "\n",
    "def get_potential(job_path):\n",
    "    return job_path.project.path.split(\"/\")[-3]\n",
    "\n",
    "def get_eq_energy(job_path):\n",
    "    return job_path[\"output/equilibrium_energy\"]\n",
    "\n",
    "def get_n_atoms(job_path):\n",
    "    return len(job_path[\"output/structure/positions\"])\n",
    "\n",
    "def get_ase_atoms(job_path):\n",
    "    return pyiron_to_ase(job_path.structure).copy()\n",
    "\n",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
    "\n",
    "def get_potential(job_path):\n",
    "    return job_path.project.path.split(\"/\")[-2]\n",
    "\n",
    "def get_crystal_structure(job_path):\n",
    "    return job_path.job_name.split(\"_\")[-1]\n",
    "\n",
    "def get_compound(job_path):\n",
    "    return job_path.job_name.split(\"_\")[-2]"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "2fe57b8b",
   "metadata": {},
   "source": [
    "Using the functions defined above, one can now define a `pd.DataFrame` containing all useful results"
   ]
  },
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
  {
   "cell_type": "code",
qamarmt2's avatar
qamarmt2 committed
   "execution_count": 9,
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
   "id": "255c28af-e4af-48c6-ae01-e90377c94e32",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
qamarmt2's avatar
qamarmt2 committed
      "The job table_murn was saved and received the ID: 352\n"
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
     ]
    },
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
qamarmt2's avatar
qamarmt2 committed
       "model_id": "5772b80f69474d2e843f6d1bcde29bdb",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
qamarmt2's avatar
qamarmt2 committed
       "Loading and filtering jobs:   0%|          | 0/27 [00:00<?, ?it/s]"
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
qamarmt2's avatar
qamarmt2 committed
       "model_id": "03d5f86fe221412a929ee06cbb152783",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
qamarmt2's avatar
qamarmt2 committed
       "Processing jobs:   0%|          | 0/27 [00:00<?, ?it/s]"
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
qamarmt2's avatar
qamarmt2 committed
      "/srv/conda/envs/notebook/lib/python3.8/site-packages/pyiron_base/table/datamining.py:620: PerformanceWarning: \n",
      "your performance may suffer as PyTables will pickle object types that it cannot\n",
      "map directly to c-types [inferred_type->mixed,key->block2_values] [items->Index(['potential', 'ase_atoms', 'compound', 'crystal_structure'], dtype='object')]\n",
      "\n",
      "  self.pyiron_table._df.to_hdf(\n"
     ]
    },
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>job_id</th>\n",
       "      <th>potential</th>\n",
       "      <th>ase_atoms</th>\n",
       "      <th>compound</th>\n",
       "      <th>crystal_structure</th>\n",
       "      <th>a</th>\n",
       "      <th>eq_vol</th>\n",
       "      <th>eq_bm</th>\n",
       "      <th>eq_energy</th>\n",
       "      <th>n_atoms</th>\n",
       "      <th>phase</th>\n",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
qamarmt2's avatar
qamarmt2 committed
       "      <td>2</td>\n",
       "      <td>LiAl_eam</td>\n",
       "      <td>(Atom('Al', [0.0, 0.0, 0.0], index=0))</td>\n",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
       "      <td>Al</td>\n",
       "      <td>fcc</td>\n",
       "      <td>4.039967</td>\n",
       "      <td>16.495612</td>\n",
       "      <td>85.876912</td>\n",
       "      <td>-3.483097</td>\n",
       "      <td>1</td>\n",
       "      <td>Al_fcc</td>\n",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
qamarmt2's avatar
qamarmt2 committed
       "      <td>15</td>\n",
       "      <td>LiAl_eam</td>\n",
       "      <td>(Atom('Al', [0.0, 0.0, 0.0], index=0))</td>\n",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
       "      <td>Al</td>\n",
       "      <td>bcc</td>\n",
       "      <td>3.898853</td>\n",
       "      <td>16.147864</td>\n",
       "      <td>48.620841</td>\n",
       "      <td>-3.415312</td>\n",
       "      <td>1</td>\n",
       "      <td>Al_bcc</td>\n",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
qamarmt2's avatar
qamarmt2 committed
       "      <td>28</td>\n",
       "      <td>LiAl_eam</td>\n",
       "      <td>(Atom('Li', [0.0, 0.0, 0.0], index=0))</td>\n",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
       "      <td>Li</td>\n",
       "      <td>bcc</td>\n",
       "      <td>4.195477</td>\n",
       "      <td>20.114514</td>\n",
       "      <td>13.690609</td>\n",
       "      <td>-1.757011</td>\n",
       "      <td>1</td>\n",
       "      <td>Li_bcc</td>\n",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
qamarmt2's avatar
qamarmt2 committed
       "      <td>41</td>\n",
       "      <td>LiAl_eam</td>\n",
       "      <td>(Atom('Li', [0.0, 0.0, 0.0], index=0))</td>\n",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
       "      <td>Li</td>\n",
       "      <td>fcc</td>\n",
       "      <td>4.253841</td>\n",
       "      <td>19.241330</td>\n",
       "      <td>13.985972</td>\n",
       "      <td>-1.758107</td>\n",
       "      <td>1</td>\n",
       "      <td>Li_fcc</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
qamarmt2's avatar
qamarmt2 committed
       "      <td>54</td>\n",
       "      <td>LiAl_eam</td>\n",
qamarmt2's avatar
qamarmt2 committed
       "      <td>(Atom('Li', [4.359978178265943, 2.5172345748814795, 1.7799536377360747], index=0), Atom('Li', [6.53996726740165, 3.775851862320358, 2.669930456604317], index=1), Atom('Al', [-3.964456982410852e-12...</td>\n",
       "      <td>Li2Al2</td>\n",
       "      <td>cubic</td>\n",
       "      <td>6.165940</td>\n",
       "      <td>58.604895</td>\n",
       "      <td>100.347240</td>\n",
       "      <td>-11.074362</td>\n",
       "      <td>4</td>\n",
       "      <td>Li2Al2_cubic</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
qamarmt2's avatar
qamarmt2 committed
       "      <td>67</td>\n",
       "      <td>LiAl_eam</td>\n",
       "      <td>(Atom('Li', [0.0, 0.0, 0.0], index=0), Atom('Al', [1.9825515172760235, 1.9825515172760237, 2.427925369776811e-16], index=1), Atom('Al', [1.9825515172760235, 1.2139626848884054e-16, 1.9825515172760...</td>\n",
       "      <td>LiAl3</td>\n",
       "      <td>cubic</td>\n",
       "      <td>5.607502</td>\n",
       "      <td>62.227580</td>\n",
       "      <td>51.472656</td>\n",
       "      <td>-12.774590</td>\n",
       "      <td>4</td>\n",
       "      <td>LiAl3_cubic</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
qamarmt2's avatar
qamarmt2 committed
       "      <td>80</td>\n",
       "      <td>LiAl_eam</td>\n",
qamarmt2's avatar
qamarmt2 committed
       "      <td>(Atom('Li', [4.9874611628416465, 1.0099045365192156, 0.8188840806477526], index=0), Atom('Li', [3.1237816780987666, 1.455730745331952, 2.673723152073369], index=1), Atom('Li', [-3.4421956688209843...</td>\n",
       "      <td>Li9Al4</td>\n",
       "      <td>monoclinic</td>\n",
qamarmt2's avatar
qamarmt2 committed
       "      <td>13.023701</td>\n",
       "      <td>190.504374</td>\n",
       "      <td>53.125276</td>\n",
       "      <td>-28.970054</td>\n",
       "      <td>13</td>\n",
       "      <td>Li9Al4_monoclinic</td>\n",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
qamarmt2's avatar
qamarmt2 committed
       "      <td>93</td>\n",
       "      <td>LiAl_eam</td>\n",
qamarmt2's avatar
qamarmt2 committed
       "      <td>(Atom('Al', [2.1548001975659234, 1.244075358781918, 1.861784175000869], index=0), Atom('Al', [-2.154798282819334, 3.732223313213554, 2.6646760238080542], index=1), Atom('Li', [8.560563403365654e-0...</td>\n",
       "      <td>Li3Al2</td>\n",
       "      <td>trigonal</td>\n",
       "      <td>6.094693</td>\n",
       "      <td>72.810229</td>\n",
       "      <td>69.231669</td>\n",
       "      <td>-12.413856</td>\n",
       "      <td>5</td>\n",
       "      <td>Li3Al2_trigonal</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
qamarmt2's avatar
qamarmt2 committed
       "      <td>106</td>\n",
       "      <td>LiAl_eam</td>\n",
qamarmt2's avatar
qamarmt2 committed
       "      <td>(Atom('Li', [2.142967147985671, 1.2372426587287435, 7.662120717536293], index=0), Atom('Li', [-8.783761113500244e-10, 2.4744853189563414, 0.5913679335098909], index=1), Atom('Li', [-8.783761113500...</td>\n",
       "      <td>Li4Al4</td>\n",
       "      <td>cubic</td>\n",
       "      <td>6.061226</td>\n",
       "      <td>131.389799</td>\n",
qamarmt2's avatar
qamarmt2 committed
       "      <td>71.221355</td>\n",
       "      <td>-20.506570</td>\n",
       "      <td>8</td>\n",
       "      <td>Li4Al4_cubic</td>\n",
Sudarsan Surendralal's avatar
Sudarsan Surendralal committed
       "    </tr>\n",
qamarmt2's avatar
qamarmt2 committed
       "    <tr>\n",
       "      <th>9</th>\n",