A material interface lattice match generator package
Project description
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:
- The PDF manual
- The executable help function (
--helpand--searchflags)
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file artemis_materials-2.0.0.dev2.tar.gz.
File metadata
- Download URL: artemis_materials-2.0.0.dev2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75f195cf475814e1127e97df7a58552477a0df2a49679be32a89214f8ad7e101
|
|
| MD5 |
dabd49d2927a360bd570147bc6285322
|
|
| BLAKE2b-256 |
5e390d379ef75419709231b7031d338229f9c1c8a428748b306d77d2191423e4
|
File details
Details for the file artemis_materials-2.0.0.dev2-cp312-cp312-macosx_15_0_arm64.whl.
File metadata
- Download URL: artemis_materials-2.0.0.dev2-cp312-cp312-macosx_15_0_arm64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.12, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
157a6335eca5b7f5e049cd1fefc823bbb19d9615b81a98572993bc35c70ef203
|
|
| MD5 |
34284239ed549960f61361f6dfa0c4f0
|
|
| BLAKE2b-256 |
bddc748a9d37ca4d8b16a38c8840939841e54c77ec6143764873d77af66167d6
|