We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 63253

2014.x Vivado - How to run Vivado in regression mode (i.e. multiple Vivado instances)?


I would like to run Vivado regressions (i.e. multiple Vivado instances). 

However, multiple jobs seem to conflict when accessing the Xilinx Tcl App Store.  

How can I run Vivado in regression mode?

For Example, if I run multiple Vivado jobs at the same time, there could be some conflicts in the following situations:

  • If one job re-creates the .Xilinx file at the same time another one tries to read from it.
  • If there are multiple writes to update .Xilinx, 
  • If there are multiple jobs trying to run reset_tclstore.

Some of the possible messages include:

ERROR: [Common 17-685] Unable to load Tcl app xilinx::ies


CRITICAL WARNING: [Common 17-741] No write access right to the local Tcl store at '/home/user1/.Xilinx/Vivado/2014.4/XilinxTclStore'.  XilinxTclStore is reverted to the installation area. If you want to use local Tcl Store, please change the access right and relaunch Vivado.
ERROR: [Common 17-1257] Failed to create directory '/opt/xilinx/Vivado/2014.4/tclapp'.
ERROR: [Common 17-1257] Failed to create directory '/opt/xilinx/Vivado/2014.4/tclapp'.
ERROR: [Common 17-39] 'tclapp::load_apps' failed due to earlier errors.
Could not create /testarea/projects/my_proj/my_proj.xpr
ERROR: [Common 17-39] 'tclapp::load_apps' failed due to earlier errors


To avoid conflicts from multiple jobs accessing and/or changing the .Xilinx directory at the same time, use any one of the following three options.  

Note: Each of these options require that the environment variable be set BEFORE Vivado is run.

  • Use the tclstore directly from the install (you will not get the latest repository changes but there should be no collisions because .Xilinx will not be used)
  • Use the latest repository as the shared source directory
    setenv XILINX_TCLAPP_REPO </path/to/source_repo>
    Note: This option also requires setenv XILINX_LOCAL_USER_DATA no
  • Write a script that creates a new directory for each independent run, then point to the new directory. 
    App data will be stored in this new directory.
     Example Script:

mkdir <newdir>

Note:  XILINX_LOCAL_USER_DATA is only used by the Tcl Store and it will NOT disable other activities in the .Xilinx folder.

See also: (Xilinx Answer 59875)

AR# 63253
Date Created 01/07/2015
Last Updated 03/09/2015
Status Active
Type General Article
  • Vivado Design Suite - 2014.4