7
\$\begingroup\$

My Altera Quartus builds show this warning...

Warning (18236): Number of processors has not been specified which may cause overloading on shared machines.  Set the global assignment NUM_PARALLEL_PROCESSORS in your QSF to an appropriate value for best performance.

How do I suppress this warning?

\$\endgroup\$
0

2 Answers 2

10
\$\begingroup\$

Add this tcl expression...

set_global_assignment -name NUM_PARALLEL_PROCESSORS ALL

... to either assignment_defaults.qdf or the .qsf file. Both should be in the project's directory. The .qdf file may need to be created.

\$\endgroup\$
4
  • 1
    \$\begingroup\$ Probably worth marking this as accepted to stop the system bumping it back to the homepage. \$\endgroup\$ Commented Jun 30, 2017 at 16:12
  • 1
    \$\begingroup\$ There is also an option to use all available processors, which also gets rid of the warning, and adjusts the setting to whatever machine the compile runs on. \$\endgroup\$ Commented Oct 9, 2018 at 18:40
  • \$\begingroup\$ @SimonRichter, what name and value would be used? \$\endgroup\$
    – JimFred
    Commented Oct 10, 2018 at 19:21
  • 3
    \$\begingroup\$ @JimFred set_global_assignment -name NUM_PARALLEL_PROCESSORS ALL \$\endgroup\$
    – matli
    Commented Mar 13, 2019 at 14:47
2
\$\begingroup\$

Many recommend creating assignment_defaults.qdf in project's directory, but then each project would contain unnecessary file just to get rid of this warning. I wanted to add this to global config in Linux but googling turned up either nothing or deprecated information. I ended up using strace to find global config file:

/opt/quartus/quartus/linux64/assignment_defaults.qdf

After adding set_global_assignment -name NUM_PARALLEL_PROCESSORS ALL to it the warning was gone in all projects.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.