lana555 / dynamatic

MIT License
86 stars 38 forks source link

Unable to run elastic pass #3

Closed yrq0208 closed 4 years ago

yrq0208 commented 4 years ago

Hi all,

I encountered an error when trying to run elastic pass. When I run "make name=loop_array graph" I have this,

Screenshot from 2020-09-03 11-07-37

The error seems to be "Error: dot: can't open _build/loop_array/*_graph.dot"?

I wonder has anyone encountered something similar before?

Thanks in advance.

lana555 commented 4 years ago

Hi,

are you running the code in the Dynamatic VM or in your own environment? If the second, the problem might be the way you are building LLVM. You could try to build LLVM in CMake Debug mode (instead of CMake RelWithDebugInfo). I remember that it fixed the same issue for some people.

Lana

yrq0208 commented 4 years ago

Hi Lana,

Thanks for your reply. Building LLVM in CMake Debug mode works for me.