[BUG] openfoam_wf fails on the combine_output step
🐛 Bug Report
Describe the bug The openfoam_wf fails on the combine_output step and subsequently on the learn step as well.
To Reproduce Steps to reproduce the behavior:
- docker pull cfdengine/openfoam
- merlin example openfoam_wf
- cd openfoam_wf
- merlin run openfoam_wf_template.yaml
- See error in combine_outputs.err
''' U = np.array(U).reshape(len(dir_names), num_of_timesteps, resolution, 3) ValueError: cannot reshape array of size 6451200 into shape (100,10,400,3) ''''
Expected behavior The openfoam_wf should finish successfully with no errors.
Screenshots If applicable, add screenshots to help explain your problem.
Please answer these questions to help us pinpoint the problem
- Does the problem occur in
merlin run --localmode, distributed mode or neither? - If a distributed problem, which backend and queue servers are you using? How are they configured?
- On what machines/architectures are you running merlin? Is this bug on a specific machine or can you reproduce it elsewhere?
Please run merlin info and paste the results here:
Additional context Add any other context about the problem here.
@ymubarka can you take a look at this?
@papajim I just got the same issue when running with a higher concurrency than the number of cores I had. The issue here is that some docker containers are getting the same name. Try setting the concurrency for simworkers to be the same as the of cores on your cpu
@ymubarka is this now fixed?