Skip to main content

A material interface lattice match generator package

Project description

GPLv3 workflow Latest Release Paper Documentation Status FPM CMAKE GCC compatibility

Ab Initio Restructuring Tool Enabling Modelling of Interface Structures

by Ned Thaddeus Taylor and Steven Paul Hepplestone, The ARTEMIS Research Group (Hepplestone Research Group)

New Repository Location

This repository has been migrated from the University of Exeter GitLab to GitHub to facilitate community interaction and support. The latest version, updates, and collaboration now take place on this GitHub repository.

GitLab Repository (Archived): https://git.exeter.ac.uk/hepplestone/artemis

Why the Migration?

It was decided that this project should be migrated to allow for better community support (i.e. allowing community users to raise issues). All information has been ported over where possible.


ARTEMIS is a software package for the generation and modelling of interfaces between materials.

ARTEMIS is both a Fortran and a Python library, with the option of a Fortran executable. The code relies on recent Fortran features, so has no backwards compatibility with Fortran95.

Documentation

NOTE: The ReadtheDocs is still under development. More guides will be added in the coming weeks and months.

Tutorials and documentation will be provided on the docs website. The methodology is detailed in the paper.

Refer to the API Documentation section later in this document to see how to access the API-specific documentation.

The Fortran executable/app currently has the most extensive documentation. This can be found in two forms:

  1. The PDF manual
  2. The executable help function (--help and --search flags)

Requirements

  • Fortran compiler supporting Fortran 2018 standard or later
  • fpm or CMake (fpm works only for Fortran installation)

Python-specific installation:

  • Python 3.11 or later (might work on earlier, have not tested)
  • NumPy.f2py
  • f90wrap
  • cython
  • scikit-build-core
  • meson
  • make or ninja
  • CMake
  • ASE

The library bas been developed and tested using the following Fortran compilers:

  • gfortran -- gcc 11.4.0
  • gfortran -- gcc 13.2.0
  • gfortran -- gcc 14.1.0
  • gfortran -- gcc 14.2.0

The library is known to not currently work with the intel Fortran compilers.

Installation

For the Python library, the easiest method of installation is to install it directly from pip:

pip install artemis-materials

Once this is done, ARTEMIS is ready to be used.

Alternatively, to download development versions or, if, for some reason, the pip method does not work, then ARTEMIS can be installed from the source. To do so, the source must be obtained from the git repository. Use the following commands to get started:

 git clone https://github.com/ExeQuantCode/artemis.git
 cd artemis

Depending on what language will be used in, installation will vary from this point.

Python

For Python, the easiest installation is through pip:

pip install .

Another option is installing it through cmake, which involves:

mkdir build
cd build
cmake ..
make install

Then, the path to the install directory (${HOME}/.local/artemis) needs to be added to the include path. NOTE: this method requires that the user manually installs the ase, numpy and f90wrap modules for Python.

Fortran

For Fortran, either fpm or cmake are required.

fpm

fpm installation is as follows:

fpm build --profile release

This will install both the Fortran library and the Fortran application for ARTEMIS. The library can then be called from other fpm-built Fortran programs through normal means (usually referencing the location of ARTEMIS in the program's own fpm.toml file). The application can be run using

fpm run

cmake

cmake installation is as follows:

mkdir build
cd build
cmake [-DBUILD_PYTHON=Off] ..
make install

The optional filed (dentoted with [...]) can be used to turn off installation of the Python library. This will build the library in the build/ directory. All library files will then be found in:

${HOME}/.local/artemis

Inside this directory, the following files will be generated:

include/artemis.mod
lib/libartemis.a

How-to

Until recently, ARTEMIS has existed solely as a Fortran executable. This version of the code is currently best documented, but this will change in the near future as the Python library is tested more. To get an example input file, run the following command:

artemis -d example.in

This will generate the file example.in, with the structure of the ARTEMIS input file.

To get descriptions of the tags within the input file, run either command:

artemis --help [all|<TAGNAME>]  
artemis --search <STRING>

Websites

Group webpage: http://www.artemis-materials.co.uk

Group wiki: http://www.artemis-materials.co.uk/HRG

Guide and documentation: https://artemis-materials.readthedocs.io/en/latest/

API documentation

NOTE: API documentation is not yet set up. It is planned to be implemented in an upcoming release to work alongside the ReadtheDocs and Python library.

Contributing

Please note that this project adheres to the Contributing Guide. If you want to contribute to this project, please first read through the guide. If you have any questions, bug reports, or feature requests, please either discuss then in issues.

For any serious or private concerns, please use the following email address: support@artemis-materials.co.uk

License

This work is licensed under a GPL v3 license.

Developers

  • Ned Thaddues Taylor
  • Francis Huw Davies
  • Isiah Edward Mikel Rudkin
  • Steven Paul Hepplestone

Contributers

  • Conor Jason Price
  • Tsz Hin Chan
  • Joe Pitfield
  • Edward Allery Baker
  • Shane Graham Davies

Advisors

  • Elizabeth L. Martin

References

If you use this code, please cite our paper:

@article{Taylor2020ARTEMISAbInitio,
  title = {ARTEMIS: Ab initio restructuring tool enabling the modelling of interface structures},
  volume = {257},
  ISSN = {0010-4655},
  url = {http://dx.doi.org/10.1016/j.cpc.2020.107515},
  DOI = {10.1016/j.cpc.2020.107515},
  journal = {Computer Physics Communications},
  publisher = {Elsevier BV},
  author = {Taylor,  Ned Thaddeus and Davies,  Francis Huw and Rudkin,  Isiah Edward Mikel and Price,  Conor Jason and Chan,  Tsz Hin and Hepplestone,  Steven Paul},
  year = {2020},
  month = dec,
  pages = {107515}
}

This README has been copied from the RAFFLE repository, with permission from the creator (Ned Taylor).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

artemis_materials-2.0.0.dev3.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

artemis_materials-2.0.0.dev3-cp312-cp312-macosx_15_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

File details

Details for the file artemis_materials-2.0.0.dev3.tar.gz.

File metadata

  • Download URL: artemis_materials-2.0.0.dev3.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for artemis_materials-2.0.0.dev3.tar.gz
Algorithm Hash digest
SHA256 96028917587184cb4450d6000a3d2598bf1ac663cf91f8880f979dd39164d50f
MD5 d0dc0462c2e02d5a487817d39f344012
BLAKE2b-256 a161360cffae418e64c68af7dfc9ec03d5da740fb12fdf40bc2d99a7225c5bdd

See more details on using hashes here.

File details

Details for the file artemis_materials-2.0.0.dev3-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for artemis_materials-2.0.0.dev3-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0d77fda10fba96d62f63a0cc3ba677727c099d20377df907c2b468d4d89972e8
MD5 46ea40e66c8dce05b2ea05cbb34e46bb
BLAKE2b-256 23e24eb916f01cd2cce7f9f0b8fe999eda585eb4105b58687ebd077348db29ed

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page