stanford-ppl / spatial

Spatial: "Specify Parameterized Accelerators Through Inordinately Abstract Language"
https://spatial.stanford.edu
MIT License
271 stars 33 forks source link

HelloSpatial cannot compile on AWS FPGA instance #316

Closed hecmay closed 3 years ago

hecmay commented 3 years ago

Hi, I was trying to run the Spatial HelloWorld example on AWS F1.

I am using AMI 1.5.0 + aws-fpga 1.4.7 as suggested in the temp_f1.md: https://github.com/stanford-ppl/spatial/blob/master/temp_f1.md

Here is the error I got when running bin/spatial HelloSpatial --synth --fpga=AWS_F1

[info] Done packaging.                                                       [20/1958]
[info] Running HelloSpatial --name HelloSpatial --synth --fpga=AWS_F1
[warn] Area model file AWS_F1_Area.csv for target AWS_F1 was missing expected fields: 
[warn] BRAM
[info] Compiling HelloSpatial to /home/centos/spatial/gen/HelloSpatial/
[warn] libisl appears to be missing!  Please install http://isl.gforge.inria.fr/
[bug] An exception was encountered while compiling HelloSpatial: [bug]   Error compiling emptiness
[bug]   java.lang.Exception: Error compiling emptiness[bug] This is due to a compiler bug. A log file has been created at: 
[bug]   /home/centos/spatial/logs/HelloSpatial//HelloSpatial_exception.log
[failed] Total time: 0.9930 seconds
hecmay commented 3 years ago

I installed ISL dev lib and the last warning is resolved. But the compiling emptiness error is still there.