- 主题:请教一个VCS并行仿真的问题
各位大佬:
请教一个VCS并行仿真设置的问题。
我的希望是:如果我设置的CPU数大于可以获得的CPU数,可以让VCS以可以获得的CPU数进行并行仿真,而不是直接停止仿真。
我现在面临的情况如下:
在makefile 里面进行如下设置:
vcs -fgp=num_threads:31
希望以32(31+1)个CPU进行并行仿真,但是,由于服务器上其他用户占了CPU,我只能获得15个CPU(举例),VCS发现设置的CPU数量大于了实际能够获得的CPU数量,从而就停止了仿真。
但是,作为用户,我希望,VCS仍然能够以15个CPU进行并行仿真,而不是直接停掉。
请教各位大佬,如何进行设置?
--
FROM 223.104.25.*
试试这个
allow_less_cores
change the hard limit of “N number of cores are required by the simulation” to the soft limit as “Maximum N number of cores are required by the simulation”. Therefore, if there are less than the specified number of cores available, simulation does not quit with an error but assigns the available number of cores to the simulation and continue to run.
【 在 turtlewang 的大作中提到: 】
: 各位大佬:
: 请教一个VCS并行仿真设置的问题。
: 我的希望是:如果我设置的CPU数大于可以获得的CPU数,可以让VCS以可以获得的CPU数进行并行仿真,而不是直接停止仿真。
: ...................
--
FROM 219.143.130.*
多谢多谢!
是按照这样在makefile里面写吗?
vcs -fgp=num_threads:31,allow_less_cores
【 在 sky123450x 的大作中提到: 】
: 试试这个
: allow_less_cores
: change the hard limit of “N number of cores are required by the simulation” to the soft limit as “Maximum N number of cores are required by the simulation”. Therefore, if there are less than the specified number of cores available, simulation does not quit with an error but assigns the available number of cores to the simulation and continue to run.
: ...................
--
FROM 223.104.251.*