InTime

InTime Tcl scripting: Run Hot Start recipe on a compute grid

93 views August 24, 2020 August 24, 2020 harnhua 0

Introduction:

This article shows how to run InTime in scripting / batch mode, using the Hot Start recipe and an SGE compute grid as an example.

Step 1: Prepare your InTime Tcl script

1a. Set the $USER_ARGS custom grid values for your compute grid.
1b. Set InTime Flow Properties to control your optimization builds.
1c. Run the desired Recipe.

Sample script for Linux and Windows:

# hotstart.tcl 
# Sample script that sets basic parameters and runs Hot Start 
flow reset 

# Compile builds on the grid (mostly configured by the system administrator) 
flow set run_target private_cloud 

# Set grid parameters specific to your environment 
misc set user_args "-q my_fast_queue -l \"h_rt=800000\" -pe fast 5 

# Generate 10 builds for 1 iteration, and compile 8 at a time 
flow set runs_per_round 10 
flow set rounds 1 
flow set concurrent_runs 8 

# Save runtime by not creating programming files 
flow set control_create_bitstreams false 

# Run the Hot Start recipe 
flow run_recipe "hot_start"

Step 2: Launch InTime from the command-line

Linux:

$ <InTime installation>/intime.sh -mode batch -platform minimal -ip <InTime Server IP or hostname>  -comport  <Default: 39940> -project my_project.tcl -vendor_toolchain vivado -vendor_toolchain_version 2018.3.0 -s hotstart.tcl

Windows:

$ <InTime installation>\bin\intime.exe -mode batch -platform minimal -ip <InTime Server IP or hostname>  -comport  <Default: 39940> -project my_project.tcl -vendor_toolchain vivado -vendor_toolchain_version 2018.3.0 -s hotstart.tcl

Reference:

https://github.com/plunify/InTime-Vivado/tree/master/scripts

Applies to:

  • Linux Operating System
  • Windows Operating System

Knowledge Base ID: 202008241 - Last Review: Aug 24, 2020 - Revision: 1.0

Leave a Reply