Skip to content

xiexingzhu/aces

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Automatical Computational Experiment System(ACES)

A python framework for computational physics numerical experiments.

@Authour Yang Zhou

@Main y_zhou13@fudan.edu.cn

@Fudan University Computational Condensed Matter Group(CCMG)

Docs at http://vanceeasleaf.github.io/aces/

Summary

What

  • ACES is a wrapper for many computational codes for thermal conductivity with similar workflows.

  • More generally, it provides a framework to automate the computing process including pre-process and post-process.

Why

  • First principle calculation or molecular dynamics computation code usually needs structure files such as POSCAR of VASP, data file of LAMMPS, struct file of Quantum Espresso and input files such as INCAR, KPOINTS of VASP, CONTROL file of ShengBTE. The information of these files are similar but the format needs carefully treatment,for instance, the length and energy units. ACES is pretended to unify the input and out file format of all the materials computational codes to let user easily carry up a new engine.

  • A computational experiment project always be chaos because of confused folder structure and name. ACES let you manage your project in a unify standard which could be version controlled and is easily to track.

  • The software engineer method is applyed to computational experiment to extract reuseable materials and devices which let you contribute your module to the public or enjoy the materials database from the other scientists.

How

  • Runners are defined to wrap a certain computational code and are design to be assemble of micro functional modules which could be used sequenly to complete a certain job or used though command-line to controll the job flexiblely.

  • ACES uses json to manage the options of a project . A json file consists of the materials to be computed, what runner is used to compute it, the computing parameter such as temperature and sample length, and how many cores are intented to use.

  • A set of thermal conductivity calculation algorithm including NEMD, Muller-Plathe, Green-Kubo, NEGF, NMA, BTE are realized.

  • Input files and structure files for LAMMPS, VASP, ShengBTE, alamode etc. are ready to be generated.

  • Pbs are used to manage your tasks.

  • Automatically analysis including data formatting and graph generation are carried out.

  • Very easily for you to extend ACES if you have some new codes to integrate. For example, you can write a wrapper for Quantum Expresso easily to use it as an engine to structure optimization, band structure calculation or phonon calculation to have the same work flow with VASP.

Usage

Requirements

We recommand you to install Anaconda-2.4.sh to prepare a python2.7 environment.

Install

After downloading you can run

unzip aces-master.zip 
cd aces-master
pip install -r requirements.txt

to install the dependecies.

If you are offline, you can download the reqirements by

pip install -r requirements.txt --find-links=.

and all the dependencies will be downloaded to the current directory.

After copy them to your target computer you can run

pip install -r requirements.txt --find-links=.

to install the dependecies.

Basic Usage

run

python setup.py install

to install it to the %python%/site-packages/aces folder.

run

python -c ' import aces '

to check if the installation is successful.

You have to change the path in config.py to tell ACES where is LAMMPS, ShengBTE,Phonopy and so on.

Example

Let's calculate the phonon dispertion, thermal conductivity and so on of black phosphorous using ACES with VASP engine and Phonopy, ShengBTE.

in your workspace

mkdir graphene.project 
cd graphene.project 
touch sub.py

input sub.py

from aces import Aces
#the origin BP structure is optimized and we use it directly
class sub(Aces):
	def submit(self):
		opt=dict(
			units="metal",
			species="BP",
			method="nvt",
			nodes=1,
			procs=12,
			queue="q1.4",
			runTime=10000000
			,runner="shengbte"
		)
		app=dict(shengcut=-4,
		kpoints=[61,61,1],
		engine='vasp',
		supercell=[4,4,1],
		ekpoints=[1,1,1])
		self.commit(opt,app);
if __name__=='__main__':
	sub().run()

Then run

python sub.py

The only thing you have to do is waiting for the result.

Detailed document at at http://vanceeasleaf.github.io/aces/

About

automical computational experiment system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.4%
  • C++ 1.3%
  • Other 1.3%