Code Monkey home page Code Monkey logo

pycdt's People

Contributors

dbroberg avatar jmmshn avatar mbkumar avatar nisse3000 avatar sthartman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pycdt's Issues

ERROR : Illegal instruction (core dumped)

I have download the latest anaconda3(python 3.8) and pycdt(2.0.5), when I try to run the example code, there is a werid ERROR: Illegal instruction (core dumped)
I tried the code on both super computing(Linux AMD roma) and my workstation(Ubuntu18 Intel)

The code:
from pymatgen.ext.matproj import MPRester
with MPRester() as mpr:
mgo_struct = mpr.get_structure_by_material_id('mp-1265')
from pycdt.core.defectsmaker import DefectChargerInsulator
defect_charger = DefectChargerInsulator(mgo_struct)
mg_vac_charges = defect_charger.get_charges('vacancy',site_specie='Mg')

from pycdt.core.defectsmaker import ChargedDefectsStructures
charged_defects_structs = ChargedDefectsStructures(mgo_struct)
from pycdt.utils.vasp import DefectRelaxSet
defect_struct = charged_defects_structs.get_ith_supercell_of_defect_type(0, 'vacancies')
vasp_input = DefectRelaxSet(defect_struct) # defect_struct is defectsupercell
vasp_input.write_input(output_dir)
vasp_input = DefectRelaxSet(defect_struct, potcar_functional="PBE")
user_settings = {'potcar_functional': 'PBE','user_incar_settings': {'EDIFFG': -1e-3, 'EDIFF': 1e-8, 'LASPH': True}}
vasp_input = DefectRelaxSet(defect_struct,**user_settings)

Missing ',' in setup.py

>python setup.py install
>error in pycdt setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
    matplotlib>=3.1monty>=3.0.2
              ~~~~~^

Seems that on line 16 in 'setup.py' a separator is missing between "matplotlib>=3.1" and "monty>=3.0.2". Adding one fixes the above error.

install_requires=["numpy>=1.18.15", "pymatgen>=2020.6.8,<=2022.7.8", "matplotlib>=3.1""monty>=3.0.2"]

Fix Sublattice index naming in ChargedDefectStructures

With version 2.0, indices included in folder naming from ChargedDefectStructures is not consistent with the sublattice site anymore.

A fix for this can make use of the PointDefectComparator in pymatgen to assign sublattice indices.

additional interstitial creation features

make use of additional interstitial features. Several exist within pymatgen.analysis.defects.generators right now. Would not be hard to add them to the pycdt command line script.

Improved verification of chemical potential usage

Confirm that defects being used have the same metadata as that of the Materials Project. If a different U parameter is used or if a different set of pseudopotentials is used then chemical potentials from Materials Project should likely not be used.

Issue from ChargedDefectsStructures module

Hi,

I'm getting error "cannot import name 'str2unicode' from 'monty.string'" when I try to generate the input using the PbTiO3.json example. I'm using PyCDT-2.0.2 with latest Pymatgen-2020 and python3.8.1

Is this package still maintained?

I can see that there have been no new commits to PyCDT for ~1 year. Is the project still actively maintained/will there be any updates?

followup calculation capabilities

Add capabilities for setting up and running follow up calculations (larger supercells or perturbations) based on metadata that exists locally.

This can make use of pymatgen / atomate / emmet features.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.