Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tilde-lab/dummy-engine
Sample scientific simulation engine working as a black box
https://github.com/tilde-lab/dummy-engine
cplusplus dummy
Last synced: about 2 months ago
JSON representation
Sample scientific simulation engine working as a black box
- Host: GitHub
- URL: https://github.com/tilde-lab/dummy-engine
- Owner: tilde-lab
- License: bsd-3-clause
- Created: 2022-11-21T09:10:03.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-11T23:12:33.000Z (about 1 year ago)
- Last Synced: 2024-03-27T05:09:21.218Z (9 months ago)
- Topics: cplusplus, dummy
- Language: C++
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dummy Engine
Cross-platform Windows/Linux stub engine for [yascheduler](https://github.com/tilde-lab/yascheduler):
```
[engine.dummy]
platforms = linux
spawn = dummyengine *
check_pname = dummyengine
sleep_interval = 3
input_files = 1.input 2.input
output_files = 1.input 2.input 1.input.out 2.input.out[engine.dummy]
platforms = windows
spawn = dummy.exe 1.input
check_pname = dummy.exe
sleep_interval = 6
input_files = 1.input
output_files = 1.input.out
```It takes N files as arguments, reads them and, after waiting a random amount of
time, writes their contents into the same files with the extension `.out`.## How to build
For `linux` version you need `make` and `g++`:
`make dummyengine`For `win32` version you need `make` and MinGW's `i686-w64-mingw32-c++`:
`make dummeengine.exe`