Skip to content

Commit e9117dc

Browse files
authored
Merge pull request #2185 from The-OpenROAD-Project-staging/no-sta-threads
Temporarily disable sta threading due to random MT failures
2 parents 2ed8e05 + d473397 commit e9117dc

File tree

5 files changed

+4
-7
lines changed

5 files changed

+4
-7
lines changed

flow/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ endif
287287
export OPENROAD_EXE ?= $(abspath $(FLOW_HOME)/../tools/install/OpenROAD/bin/openroad)
288288
export OPENSTA_EXE ?= $(abspath $(FLOW_HOME)/../tools/install/OpenROAD/bin/sta)
289289

290-
OPENROAD_ARGS = -no_init $(OR_ARGS)
290+
OPENROAD_ARGS = -no_init -threads $(NUM_CORES) $(OR_ARGS)
291291
OPENROAD_CMD = $(OPENROAD_EXE) -exit $(OPENROAD_ARGS)
292292
OPENROAD_NO_EXIT_CMD = $(OPENROAD_EXE) $(OPENROAD_ARGS)
293293
OPENROAD_GUI_CMD = $(OPENROAD_EXE) -gui $(OR_ARGS)

flow/scripts/detail_route.tcl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ if { [info exists ::env(USE_WXL)]} {
88
load_design $db_file 4_cts.sdc
99
set_propagated_clock [all_clocks]
1010

11-
set_thread_count $::env(NUM_CORES)
12-
1311
set additional_args ""
1412
if { [info exists ::env(dbProcessNode)]} {
1513
append additional_args " -db_process_node $::env(dbProcessNode)"

flow/scripts/global_route.tcl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ utl::set_metrics_stage "globalroute__{}"
22
source $::env(SCRIPTS_DIR)/load.tcl
33
load_design 4_cts.odb 4_cts.sdc
44

5-
set_thread_count $::env(NUM_CORES)
6-
75
if {[info exist env(PRE_GLOBAL_ROUTE)]} {
86
source $env(PRE_GLOBAL_ROUTE)
97
}

flow/scripts/load.tcl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ source $::env(SCRIPTS_DIR)/util.tcl
22

33
source $::env(SCRIPTS_DIR)/report_metrics.tcl
44

5+
# Temporarily disable sta's threading due to random failures
6+
sta::set_thread_count 1
7+
58
proc load_design {design_file sdc_file} {
69
# Read liberty files
710
source $::env(SCRIPTS_DIR)/read_liberty.tcl

flow/scripts/macro_place_util.tcl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
set_thread_count $::env(NUM_CORES)
2-
31
proc find_macros {} {
42
set macros ""
53

0 commit comments

Comments
 (0)