Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

Cannot compile .cl files

Altera_Forum
Honored Contributor II
1,987 Views

When I try to compile any of the examples I get a weird error message involving Java exceptions: 

 

aoc --board pcie385n_d5 vectorAdd.cl 

Error: Qsys-script FAILED 

See vectorAdd.log for details. 

 

 

 

cat vectorAdd/vectorAdd.log  

Kernel throughput analysis for : vectorAdd 

.. simd work items : 1 

.. compute units : 1 

.. throughput due to control flow analysis : 250.00 M work items/second 

.. kernel global memory bandwidth analysis : 3157.89 MB/second 

.. kernel number of local memory banks : none  

 

 

+--------------------------------------------------------------------+ 

; Estimated Resource Usage Summary ; 

+----------------------------------------+---------------------------+ 

; Resource + Usage ; 

+----------------------------------------+---------------------------+ 

; Logic utilization ; 24% ; 

; Dedicated logic registers ; 10% ; 

; Memory blocks ; 20% ; 

; DSP blocks ; 0% ; 

+----------------------------------------+---------------------------; 

System name: vectorAdd 

 

 

2013.06.26.12:16:40 Info: Doing: <b>qsys-script --script=system.tcl --Xmx512M --XX:+UseSerialGC --system-file=system.qsys</b> 

Exception in thread "main" java.lang.IllegalArgumentException: missing: no such parameter: clockRateKnown 

at com.altera.sopcmodel.beanelement.BeanElementClass.anySuchParameterCheck(BeanElementClass.java:630) 

at com.altera.sopcmodel.beanelement.BeanElementClass.getGetMethod(BeanElementClass.java:597) 

at com.altera.sopcmodel.beanelement.BeanElement.getValue(BeanElement.java:487) 

at com.altera.sopcmodel.beanelement.BeanElement.getValue(BeanElement.java:516) 

at com.altera.sopcmodel.ensemble.EnsembleSystemPropagator.getBoolean(EnsembleSystemPropagator.java:1387) 

at com.altera.sopcmodel.ensemble.EnsembleSystemPropagator.getClockRate(EnsembleSystemPropagator.java:540) 

at com.altera.sopcmodel.ensemble.EnsembleSystemPropagator.getClockRate(EnsembleSystemPropagator.java:519) 

at com.altera.sopcmodel.ensemble.EnsembleSystemPropagator.access$300(EnsembleSystemPropagator.java:69) 

at com.altera.sopcmodel.ensemble.EnsembleSystemPropagator$EnsembleSystemInfoEvaluator.evaluate(EnsembleSystemPropagator.java:119) 

at com.altera.sopcmodel.util.SystemInfoPropagator.validateSystemInfo(SystemInfoPropagator.java:104) 

at com.altera.sopcmodel.util.SystemInfoPropagator.validateSystemInfos(SystemInfoPropagator.java:85) 

at com.altera.sopcmodel.ensemble.EnsembleSystemPropagator.validateOneAgainstSystem(EnsembleSystemPropagator.java:320) 

at com.altera.sopcmodel.ensemble.EnsembleSystemPropagator.validateAllAgainstSystem(EnsembleSystemPropagator.java:238) 

at com.altera.sopcmodel.ensemble.EnsembleSystemPropagator.validate(EnsembleSystemPropagator.java:223) 

at com.altera.sopcmodel.ensemble.EnsembleValidator.validateAllAgainstSystem(EnsembleValidator.java:316) 

at com.altera.sopcmodel.ensemble.EnsembleValidator.validate(EnsembleValidator.java:93) 

at com.altera.sopcmodel.ensemble.Ensemble.validateSelf(Ensemble.java:1603) 

at com.altera.sopcmodel.beanelement.BeanElement.validateSelf(BeanElement.java:395) 

at com.altera.sopcmodel.beanelement.BeanElement.validate(BeanElement.java:366) 

at com.altera.sopcdocument.ReadDocument.read(ReadDocument.java:272) 

at com.altera.sopcfactories.QsysFactory$1.getObject(QsysFactory.java:119) 

at com.altera.sopcmodel.util.CatalogCard.getObject(CatalogCard.java:496) 

at com.altera.sopcdocument.Document.moduleClassPlease(Document.java:327) 

at com.altera.sopcdocument.Document.moduleInstancePlease(Document.java:278) 

at com.altera.sopcdocument.Document.instantiateModule(Document.java:537) 

at com.altera.sopcdocument.ReadDocument.instantiateModule(ReadDocument.java:439) 

at com.altera.sopcdocument.ReadDocument.read(ReadDocument.java:185) 

at com.altera.sopcfactories.QsysFactory$1.getObject(QsysFactory.java:119) 

at com.altera.sopcmodel.util.CatalogCard.getObject(CatalogCard.java:496) 

at com.altera.sopcdocument.Document.moduleClassPlease(Document.java:327) 

at com.altera.sopcdocument.Document.moduleInstancePlease(Document.java:278) 

at com.altera.sopcdocument.Document.instantiateModule(Document.java:537)
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
1,279 Views

Double check to make sure you have Stratix V device support installed. The easiest way to verify this is to open Quartus II, then under the file menu select new project and create a dummy project so that you can view which device families have been installed. 

 

Also if you are using a different language than English on your development machine try switching to English (US) and trying the compile again. There are known issues with a few languages that I'm aware of.
0 Kudos
Altera_Forum
Honored Contributor II
1,279 Views

 

--- Quote Start ---  

Double check to make sure you have Stratix V device support installed. The easiest way to verify this is to open Quartus II, then under the file menu select new project and create a dummy project so that you can view which device families have been installed. 

 

Also if you are using a different language than English on your development machine try switching to English (US) and trying the compile again. There are known issues with a few languages that I'm aware of. 

--- Quote End ---  

 

 

I have just tried this - in Quartus II I started a new project and I could add Stratix V devices to the project. So I think they are installed. 

 

aocl version 

aocl 13.0.191 (Altera SDK for OpenCL, Version 13.0 Build 191, Copyright (C) 1991-2013 Altera Corporation) 

 

 

Quartus II 64-Bit Quartus II 

Version 13.0.0 Build 156 04/24/2013 SJ Full Version 

Copyright (C) 1991-2013 Altera Corporation
0 Kudos
Altera_Forum
Honored Contributor II
1,279 Views

Which Linux operating system are you using on your host machine? I'm compiling that same design with CentOS 5.6 and I'm not seeing the issue you are running into. 

 

Another thing to check is whether the design or the tools have been installed to a path that has non-standard characters like spaces for example.
0 Kudos
Altera_Forum
Honored Contributor II
1,279 Views

I did a complete fresh reinstall of Quartus, the Stratix V devices and the AOCL SDK. 

 

And now it's all working. 

 

Thanks
0 Kudos
Reply