fortnet

Fortnet is a Behler-Parrinello-Neural-Network implementation, written in modern Fortran.

https://github.com/vanderhe/fortnet

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    1 of 2 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (18.6%) to scientific vocabulary

Keywords

fortran machine-learning neural-networks open-source scientific-computing
Last synced: 9 months ago · JSON representation

Repository

Fortnet is a Behler-Parrinello-Neural-Network implementation, written in modern Fortran.

Basic Info
Statistics
  • Stars: 31
  • Watchers: 1
  • Forks: 6
  • Open Issues: 1
  • Releases: 12
Topics
fortran machine-learning neural-networks open-source scientific-computing
Created about 5 years ago · Last pushed over 1 year ago
Metadata Files
Readme Contributing License Citation Authors

README.rst

**********************************************************
Fortnet: A Behler-Parrinello-Neural-Network Implementation
**********************************************************

|license|
|latest version|
|doi|
|issues|

Fortnet is a Behler-Parrinello-Neural-Network implementation, written in modern
Fortran. Using atom-centered symmetry functions to characterize local atomic
environments, Fortnet provides easy access to the famous BPNN neural network
architecture to predict atomic or global properties of your physical system,
featuring powerful but optional MPI parallelism.

|logo|


Installation
============

|build status|

Building from source
--------------------

**Note:** This section describes the building with default settings in a typical
Linux environment. For more detailed information on the build customization and
the build process, consult the **detailed building instructions** in
`INSTALL.rst `_.

Download the latest stable source code from `GitHub
`_::

  git clone https://github.com/vanderhe/fortnet.git

You need CMake (>= 3.16) to build and h5py to test Fortnet. If your environment
offers no CMake/h5py or only older versions, you can easily install the latest
software via Python's ``pip`` command::

  pip install cmake h5py

Start CMake by passing your compilers environment variables ``FC``, ``CC`` and
the location where the code should be installed and the build directory
(``_build``) as options::

  FC=mpifort CC=gcc cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt/fnet -B _build .

If the configuration was successful, start the build with::

  cmake --build _build -- -j

After successful build, you should test the code by running::

  pushd _build
  ctest -j
  popd

If the tests were successful, install the package via::

  cmake --install _build

For further details see the `detailed building instructions `_.


Obtaining via Conda
-------------------

An alternative way of obtaining Fortnet is to install it via the conda package
management framework using `Miniconda
`_ or `Anaconda
`_. Make sure to add/enable the
``conda-forge`` channel in order to be able to access Fortnet::

  conda config --add channels conda-forge

We recommend to set up a dedicated conda environment and to use the
`mamba installer `_::

  conda create --name fortnet
  conda activate fortnet
  conda install mamba

There are several build variants available, choose the one suiting your needs.
For example, by issuing ::

  mamba install 'fortnet=*=nompi_*'

or ::

  mamba install 'fortnet=*=mpi_mpich_*'

or ::

  mamba install 'fortnet=*=mpi_openmpi_*'

to get the last stable release of Fortnet with, respectively, serial build or
with MPI-parallelized build using either the MPICH or the OpenMPI framework.

Depending on whether you decided for a serial or parallel version, you may
issue ::

  fnet

or ::

  mpirun -np ${NPROCS} fnet

to start Fortnet. ${NPROCS} is to be substituted by the number of MPI tasks (in
general number of CPU cores) available.


Documentation
=============

|docs status|

Consult following resources for documentation:

* `Step-by-step instructions with selected examples (Fortnet Recipes)
  `_


Citing
======

When publishing results obtained with Fortnet, please cite the following
article:

* `Fortnet, a software package for training Behler-Parrinello neural
  networks; Computer Physics Communications 284, 108580 (2023)
  `_


Contributing
============

New features, bug fixes, documentation, tutorial examples and code testing is
welcome during the ongoing Fortnet development!

The project is `hosted on github `_.
Please check `CONTRIBUTING.rst `_ for guide lines.

I am looking forward to your pull request!


License
=======

Fortnet is released under the GNU Lesser General Public License. See the
included `LICENSE `_ file for the detailed licensing conditions.


.. |logo| image:: ./utils/art/logo.svg
    :alt: Fortnet logo
    :width: 90
    :target: https://github.com/vanderhe/fortnet/

.. |license| image:: ./utils/art/gnu-lgplv3.svg
    :alt: LGPL v3.0
    :scale: 100%
    :target: https://opensource.org/licenses/LGPL-3.0

.. |latest version| image:: https://img.shields.io/github/v/release/vanderhe/fortnet
    :target: https://github.com/vanderhe/fortnet/releases/latest

.. |doi| image:: https://img.shields.io/badge/DOI-10.1016%2Fj.cpc.2022.108580-blue
   :target: https://doi.org/10.1016/j.cpc.2022.108580

.. |docs status| image:: https://readthedocs.org/projects/fortnet/badge/?version=latest
    :alt: Documentation Status
    :scale: 100%
    :target: https://fortnet.readthedocs.io/en/latest/

.. |issues| image:: https://img.shields.io/github/issues/vanderhe/fortnet.svg
    :target: https://github.com/vanderhe/fortnet/issues/

.. |build status| image:: https://img.shields.io/github/actions/workflow/status/vanderhe/fortnet/build.yml
    :target: https://github.com/vanderhe/fortnet/actions/

Owner

  • Name: Tammo van der Heide
  • Login: vanderhe
  • Kind: user
  • Location: Bremen, Germany
  • Company: University of Bremen

PhD Student at University of Bremen, Germany; Theoretical Physics in the Field of Computational Materials Science, Scientific Programming in Fortran/Python

GitHub Events

Total
  • Release event: 1
  • Watch event: 2
  • Delete event: 4
  • Push event: 10
  • Pull request event: 7
  • Create event: 5
Last Year
  • Release event: 1
  • Watch event: 2
  • Delete event: 4
  • Push event: 10
  • Pull request event: 7
  • Create event: 5

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 134
  • Total Committers: 2
  • Avg Commits per committer: 67.0
  • Development Distribution Score (DDS): 0.03
Past Year
  • Commits: 22
  • Committers: 1
  • Avg Commits per committer: 22.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Tammo van der Heide v****e@u****e 130
Vladimir Bacic v****3@g****m 4
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 33
  • Total pull requests: 53
  • Average time to close issues: 9 days
  • Average time to close pull requests: 2 days
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 0.03
  • Average comments per pull request: 0.04
  • Merged pull requests: 52
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: 9 days
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • vanderhe (33)
Pull Request Authors
  • vanderhe (53)
  • vbacic1 (3)
Top Labels
Issue Labels
enhancement (21) bug (8) documentation (6) work in progress (2) priority (1) regression tests (1)
Pull Request Labels
enhancement (38) documentation (10) priority (2) bugfix (1) regression tests (1) bug (1)

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
conda-forge.org: fortnet
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 34.0%
Average: 44.9%
Stargazers count: 46.8%
Forks count: 47.7%
Dependent packages count: 51.2%
Last synced: 9 months ago

Dependencies

doc/recipes/requirements.txt pypi
  • sphinx >=1.8
  • sphinx-rtd-theme *
  • sphinxcontrib-bibtex *
.github/workflows/build.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite