Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

Global way to set NUM_PARALLEL_PROCESSORS 1 for all Quartus jobs?

I am trying to automate test flows with Quartus in UGE (Univa Grid Engine; formerly SGE) and machines in my farm are running into load problems because Quartus tries to set the default number of parallel processors for each job to some default maximum. A typical message from the quartus log reads something like:

info (20030): parallel compilation is enabled and will use 16 of the 16 processors detected

For this particular project, I have tried to override this setting at startup with a simple TCL hook that sets:

set_global_assignment -name num_parallel_processors 1

In the past, this solution has seemed to suffice but, over many runs, I am seeing several each week that aren't being respected. My question is:

Do you guys have a more global way of forcing this so I can always have parallel compilation turned off? Xilinx, for example, gives you this option by including a global TCL file setting that gets checked first in the software installation directory, then under the user's $HOME directory. Either of these would be fine with me. I do see a $HOME/.altera.quartus directory but I can't tell if there's any way to override some global settings in this directory the way I can with $HOME/.Xilinx/Vivado/init.tcl for Xilinx software. Any help toward a consistent, global solution to this problem would be GREATLY appreciated.

Thanks,

Jeff

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hmm. I would not suggest you use the global way. But anyway, the global setting should be inside your project directory, assignment_defaults.qdf

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks. This does appear to work the way I was hoping. I have one follow up: it only works if I put assignments_default.qdf in the project directory like you stated. I saw some online documentation (maybe dated) saying you can also place this file in $QUARTUS_ROOTDIR/quartus/bin for a more global solution. When I tried this it didn't work. Is there a "higher level" I could apply this setting than the project directory (anywhere under $QUARTUS_ROOTDIR or $HOME/.altera.quartus)?

    Thanks,

    Jeff