Comments (7)
Thanks for some external testing of this code! (it runs fine on my machine, but it hasn't been used much at this point yet). Hopefully it'll get you the results that you need.
The issue is that you had your YAML input set up for a variation of a large number of equivalence ratios, where some parameters may have poor convergence.
The default
field specifies scalar inputs, whereas variation
selects the entry that is varied; in your case:
# YAML file example for the `adiabatic_flame` module
# file specifes a parameter variation of temperature
variation:
entry: upstream.T
values: [300.0, 360.0, 400.0, 403.0, 470.0, 500.0]
output:
format: h5
defaults:
upstream:
T: [300., kelvin, 'temperature']
P: [1., atmosphere, 'pressure']
phi: [1.0, dimensionless, 'equivalence ratio']
fuel: 'nC10H22(1)'
oxidizer: 'O2(2):0.21,N2:0.79'
chemistry:
mechanism: chem_annotated.cti
domain:
width: [30, millimeter, 'domain width']
ctwrap: 0.1.0
I'm not familiar with SLURM, but I'd suggest to run a couple of tests on a standard Linux system (or a virtual machine/container, which are easy to set up), so you can troubleshoot prior to releasing jobs that are more difficult to debug on a cluster.
from ctwrap.
Hi @ischoegl thanks for the help with this and debugging the yaml
file. I didn't realise the variation
and defaults
field until now. Thanks for pointing that out to me. What I was really trying to get was a code that had a fixed temperature and varied equivalence ratios (phis) but I guess I could do that by adding more lines where default is fixed then another section of the file where default is incremented to a different value with that fixed and varying phis.
So SLURM is really the Simple Linux Utility Resource Management for high performance computation. So it's a bunch of supercomputers that we access to do heavy computational calculations that otherwise cannot be performed on a simple local system like a Mac or Windows.I'll try it out again on my local then send it back to SLURM.
from ctwrap.
@ajuluc ... ok, got it. At the moment, I have only implemented a single variation, so the approach would be to have one YAML file per temperature.
from ctwrap.
PS: my own experience with marginal cases (phi close to flammability limit) is that they oftentimes do not converge easily, which can cause extremely long runs (without ever converging). So some workers may finish, while others may time out.
from ctwrap.
Ah thanks for letting me know about the flammability limit convergence issues. I was planning on starting off at 0.75 and stopping around 1.8 maybe that might help
from ctwrap.
Not sure whether the issue persists - closing.
from ctwrap.
Opened #25 to address variation of multiple parameters.
from ctwrap.
Related Issues (20)
- Minor issues for 0.2.0 HOT 3
- Improve unittests / fix unittest failures HOT 1
- Parallel simulation failures on Linux HOT 1
- Make Parser more intuitive
- Make save method optional
- Streamline Parser usage
- Add tests for custom simulation modules
- Simplify syntax of variation
- Fix adiabatic_flame.py module HOT 7
- Implement capability to restart simulations
- Ensure that custom.save works
- Parallel batch jobs fail silently HOT 1
- Support saving of non-HDF output HOT 1
- Add additional simulation modules for standard simulations
- Make interface more flexible
- Improve warning/error messages
- Freeflame does not generate CSV output
- Create easy way to debug HOT 1
- Add test based on cantera ubuntu package
- Example can not be run correctly HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ctwrap.