You are not logged in.

#1 2022-10-26 07:31:59

Sethplinx
Member
Registered: 2022-03-27
Posts: 5

Vitis hls on arch

Uhhh, I run arch linux and i want to run vitis hls, but i can get it to start. I managed to start vivado by downloading some package but with vitis I can't seem to be able to find the answer.

The error i get while running it through CLI is the above:

source /opt/Xilinx/Vitis_HLS/2022.2/scripts/vitis_hls/hls.tcl -notrace
INFO: [HLS 200-10] Running '/opt/Xilinx/Vitis_HLS/2022.2/bin/unwrapped/lnx64.o/vitis_hls'
INFO: [HLS 200-10] For user 'alex' on host 'MiNotebookPro-Arch' (Linux_x86_64 version 6.0.2-arch1-1) on Wed Oct 26 10:10:53 EEST 2022
INFO: [HLS 200-10] On os "Arch Linux"
INFO: [HLS 200-10] In directory '/opt/Xilinx/Vitis_HLS/2022.2/bin'
INFO: [HLS 200-10] Bringing up Vitis HLS GUI ...
@E cannot exec arch command, error: couldn't execute "arch": no such file or directory
INFO: [HLS 200-112] Total CPU user time: 17.55 seconds. Total CPU system time: 0.75 seconds. Total elapsed time: 6.42 seconds; peak allocated memory: 98.910 MB.
INFO: [Common 17-206] Exiting vitis_hls at Wed Oct 26 10:10:59 2022...

Any ideas?

Offline

#2 2023-05-08 07:36:29

bjourne
Member
Registered: 2021-03-11
Posts: 16

Re: Vitis hls on arch

This is a known bug in Vitis HLS. Workaround is as follows:

echo -e "#!/bin/sh\nuname -m" > ~/.local/bin/arch && chmod +x ~/.local/bin/arch

Offline

#3 2023-05-23 11:54:03

KafCoppelia
Member
Registered: 2022-06-21
Posts: 36
Website

Re: Vitis hls on arch

bjourne wrote:

This is a known bug in Vitis HLS. Workaround is as follows:

echo -e "#!/bin/sh\nuname -m" > ~/.local/bin/arch && chmod +x ~/.local/bin/arch

Hello, it doesn't work on my machine. I'm using Vitis HLS 2022.2

Offline

#4 2025-12-18 16:14:40

throwaway2014
Member
Registered: 2014-08-27
Posts: 27

Re: Vitis hls on arch

I created the executable arch and it solved the arch error, but still not launching Vitis_HLS 2023.1

$ vitis_hls

****** Vitis HLS - High-Level Synthesis from C, C++ and OpenCL v2023.1 (64-bit)
  **** SW Build 3854077 on May  4 2023
  **** IP Build 3864474 on Sun May  7 20:36:21 MDT 2023
  **** SharedData Build 3865790 on Sun May 07 13:33:03 MDT 2023
    ** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.
    ** Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.

source /opt/Xilinx/Vitis_HLS/2023.1/scripts/vitis_hls/hls.tcl -notrace
INFO: [HLS 200-10] Running '/opt/Xilinx/Vitis_HLS/2023.1/bin/unwrapped/lnx64.o/vitis_hls'
INFO: [HLS 200-10] For user 'user' on host 'archlinux' (Linux_x86_64 version 6.18.1-arch1-2) on Thu Dec 18 18:34:37 MSK 2025
INFO: [HLS 200-10] On os "Arch Linux"
INFO: [HLS 200-10] In directory '/home/user'
INFO: [HLS 200-10] Bringing up Vitis HLS GUI ... 
INFO: [HLS 200-112] Total CPU user time: 10.71 seconds. Total CPU system time: 0.85 seconds. Total elapsed time: 4.27 seconds; peak allocated memory: 98.996 MB.
INFO: [Common 17-206] Exiting vitis_hls at Thu Dec 18 18:34:41 2025...
$ vitis_hls -showguiout

****** Vitis HLS - High-Level Synthesis from C, C++ and OpenCL v2023.1 (64-bit)
  **** SW Build 3854077 on May  4 2023
  **** IP Build 3864474 on Sun May  7 20:36:21 MDT 2023
  **** SharedData Build 3865790 on Sun May 07 13:33:03 MDT 2023
    ** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.
    ** Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.

source /opt/Xilinx/Vitis_HLS/2023.1/scripts/vitis_hls/hls.tcl -notrace
INFO: [HLS 200-10] Running '/opt/Xilinx/Vitis_HLS/2023.1/bin/unwrapped/lnx64.o/vitis_hls'
INFO: [HLS 200-10] For user 'user' on host 'archlinux' (Linux_x86_64 version 6.18.1-arch1-2) on Thu Dec 18 18:34:49 MSK 2025
INFO: [HLS 200-10] On os "Arch Linux"
INFO: [HLS 200-10] In directory '/home/user'
INFO: [HLS 200-10] Bringing up Vitis HLS GUI ... 
HLS_GUI_DEBUG_INFO: Start loading HLS Swig Library: xv_hls_main
HLS_GUI_DEBUG_INFO: Finish loading HLS Swig Library: xv_hls_main
HLS_GUI_DEBUG_INFO: Running GuiDriver.tclInitFromJava, tclIsRunning=false
INFO: [HLS 200-10] Running '/opt/Xilinx/Vitis_HLS/2023.1/tps/lnx64/jre11.0.16_1/bin/java'
INFO: [HLS 200-10] For user 'user' on host 'archlinux' (Linux_x86_64 version 6.18.1-arch1-2) on Thu Dec 18 18:34:53 MSK 2025
INFO: [HLS 200-10] On os "Arch Linux"
INFO: [HLS 200-10] In directory '/home/user'
HLS_GUI_DEBUG_INFO: TCL was started from GUI
HLS_GUI_DEBUG_INFO: Start initializing Parts data
Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: com.autoesl.autopilot.ui.platform.util.AutoPilotTemplateUtil$1
An error has occurred. See the log file
/home/user/.Xilinx/vitis_hls/2023.1/workspace1/.metadata/.log.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007efc2336cb99, pid=141043, tid=141096
#
# JRE version: OpenJDK Runtime Environment Temurin-11.0.16.1+1 (11.0.16.1+1) (build 11.0.16.1+1)
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.16.1+1 (11.0.16.1+1, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libc.so.6+0x16cb99]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %d %F" (or dumping to /home/user/core.141043)
#
# An error report file with more information is saved as:
# /home/user/hs_err_pid141043.log
INFO: [HLS 200-112] Total CPU user time: 10.87 seconds. Total CPU system time: 0.89 seconds. Total elapsed time: 4.31 seconds; peak allocated memory: 99.000 MB.
INFO: [Common 17-206] Exiting vitis_hls at Thu Dec 18 18:34:53 2025...

Last edited by throwaway2014 (2025-12-18 16:15:39)

Offline

#5 2025-12-18 16:17:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,344

Re: Vitis hls on arch

So instead of making a thread about your problem, you dig up a 3 year old thread about a different problem?

Online

#6 2025-12-18 16:47:21

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,178
Website

Re: Vitis hls on arch

Please don't necrobump.

Mod node: moving to AUR Issues and closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB