Summary:
Encountered when trying to run heatconduction2d evaluation on Euler and got container run time errors on optimize calls.
Traceback (most recent call last):
File "/scratch/tmp.43671281.mkeeler/EngiOpt/engiopt/diffusion_2d_cond/evaluate_diffusion_2d_cond.py", line 139, in <module>
metrics_dict = metrics.metrics(
^^^^^^^^^^^^^^^^
File "/cluster/home/mkeeler/projects/EngiOpt/engiopt/metrics.py", line 188, in metrics
_, opt_history = problem.optimize(unflattened_design, config=conditions)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/cluster/home/mkeeler/projects/EngiBench/engibench/problems/heatconduction2d/v0.py", line 188, in optimize
container.run(
File "/cluster/home/mkeeler/projects/EngiBench/engibench/utils/container.py", line 50, in run
raise RuntimeError(msg) from e
RuntimeError: Container command failed with exit code 255:
Command: python3 /home/fenics/shared/templates/optimize_heat_conduction_2d.py
Output: No output
Fix:
Modified my venv set up to pip install engibench from PyPi as opposed to pip installing from source
To Replicate:
Try pip install -e .[all] (from source) with current EngiBench main. Environment should fail at running heatconduction and other containerized problem simulatiors.
Try pip install engibench (from PyPi) in another environment. Environment should work.
Not sure what has changed in EngiBench from PyPi version but it is breaking heatconduction
Summary:
Encountered when trying to run heatconduction2d evaluation on Euler and got container run time errors on optimize calls.
Fix:
Modified my venv set up to pip install engibench from PyPi as opposed to pip installing from source
To Replicate:
Try
pip install -e .[all](from source) with current EngiBench main. Environment should fail at running heatconduction and other containerized problem simulatiors.Try
pip install engibench(from PyPi) in another environment. Environment should work.Not sure what has changed in EngiBench from PyPi version but it is breaking heatconduction