ePubs

The open archive for STFC research publications

Full Record Details

DOI 10.5286/raltr.2015004
Persistent URL http://purl.org/net/epubs/work/18048381
Record Status Checked
Record Id 18048381
Title A Python interface to CASTEP
Contributors
Abstract This report documents a successful pilot project and feasibility study for adding a Python interface to the CASTEP first principles materials modelling code. Such an interface will allow the growing Python community within the scientific computing field access to CASTEP functionality, without the requirement of learning Fortran. To achieve this, changes have been made to the CASTEP source code to allow: - Serially re-entrant calling of a major task routine, specifically electronic_minimisation(). - Automated generation of a Python interface. The reasoning behind these changes has been documented and coding practices that may hinder a full move to serial re-entrancy in future have been noted. To demonstrate the success of the project, top-level task control logic has been written in Python -- using the Fortran 2003 computational core to perform multiple calls to electronic_minimisation().
Organisation STFC , SCI-COMP , SCI-COMP-TCP
Keywords
Funding Information
Related Research Object(s):
Licence Information: Creative Commons Attribution 3.0 Unported (CC BY 3.0)
Language English (EN)
Type Details URI(s) Local file(s) Year
Report RAL Technical Reports RAL-TR-2015-004. 2015. RAL-TR-2015-004.pdf 2015