Skip to content

Commit

Permalink
Add benchmark study and update project description
Browse files Browse the repository at this point in the history
  • Loading branch information
mpvanderschelling committed May 29, 2024
1 parent 2012b9f commit 1b25af0
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 321 deletions.
3 changes: 0 additions & 3 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@
branch = True
source = src
omit =
src/f3dasm/simulation/abaqus_script/*
src/f3dasm/experiment/files/*
tests/*
**/__init__.py
src/f3dasm/machinelearning/*

[report]
# Regexes for lines to exclude from consideration
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ This package includes a collection of illustrative benchmark studies that demons

## Authorship

* Current created and developer: [M.P. van der Schelling](https://github.com/mpvanderschelling/) ([email protected])
* Current creator and developer: [M.P. van der Schelling](https://github.com/mpvanderschelling/) ([email protected])

The Bessa research group at TU Delft is small... At the moment, we have limited availability to help future users/developers adapting the code to new problems, but we will do our best to help!

Expand Down
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ f3dasm

rst_doc_files/general/overview
rst_doc_files/general/installation
rst_doc_files/general/benchmark

.. toctree::
:name: functionalitiestoc
Expand Down
47 changes: 47 additions & 0 deletions docs/source/rst_doc_files/general/benchmark.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
Studies
=======

.. _TORQUE: https://adaptivecomputing.com/cherry-services/torque-resource-manager/
.. _hydra: https://hydra.cc/docs/intro/

To get a feeling for a data-driven experiment, two benchmark studies are available to run with the :mod:`f3dasm` package.
In order to run a study, you need to have the ``f3dasm[benchmark]`` extra requirements installed

.. code-block:: console
pip install f3dasm[benchmark]
Folder structure and files of a study
-------------------------------------

.. code-block:: none
:caption: Directory Structure
├── .
│ └── my_study
│ ├── main.py
│ ├── config.yaml
│ ├── pbsjob.sh
│ └── README.md
└── src/f3dasm
* Each study is put in a separate folder
* The `README.md` file gives a description, author and optionally citable source.
* The main script that has to be called should be named `main.py`
* `pbsjob.sh` is a batchscript file that will submit the `main.py` file to a `TORQUE`_ high-performance queuing system.
* The `config.yaml` are `hydra`_ configuration files.


Available studies
-----------------

There are two benchmark studies available:

+---------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------+
| Study | Description |
+=============================================================================================================================================+============================================================================+
| `Fragile becomes supercompressible <https://github.com/bessagroup/f3dasm/tree/main/studies/fragile_becomes_supercompressible>`_ | Designing a supercompressible meta-material |
+---------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------+
| `Comparing optimization algorithms on benchmark functions <https://github.com/bessagroup/f3dasm/tree/pr/1.5/studies/benchmark_optimizers>`_ | Benchmark various optimization algorithms on analytical functions |
+---------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------+
316 changes: 0 additions & 316 deletions docs/source/rst_doc_files/supercompressible.rst

This file was deleted.

Loading

0 comments on commit 1b25af0

Please sign in to comment.