The open archive for STFC research publications

Full Record Details

Persistent URL http://purl.org/net/epubs/work/18048381
Record Status Checked
Record Id 18048381
Title A Python interface to CASTEP
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().
Funding Information
Related Research Object(s):
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
Showing record 1 of 1
Science and Technology Facilities Council Switchboard: 01793 442000