UPGRADE YOUR BROWSER

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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer jmorenoz
Observer
504 Views
Registered: ‎12-04-2010

Sysgen 2018.2 and Matlab R2018A starting errors in Linux

Please I need help with new versions of Vivado Suite System Edition 2018.2 and Matlab 2018a, it's not possible to exec matlab throught sysgen and the MATLAB root seems correct, also reports an awk error.

I have reinstalled from root and try execute with root also with the same results.

Neither I have found de Sysgen configurator for setting the Matlab version like in previous version.

I expect you can help me, thanks in advance.

 

$ which matlab
/usr/local/MATLAB/R2018a/bin/matlab

 

Output:

$ sysgen
awk: symbol lookup error: awk: undefined symbol: mpfr_z_sub

Internal error 2: Could not determine the path of the
                  MATLAB root directory.

                  original command path = /usr/local/MATLAB/R2018a/bin/matlab
                  current  command path = /usr/local/MATLAB/R2018a/bin/matlab

                  Please contact:

                      MathWorks Technical Support

                  for further assistance.

 

PATHs list:

 

/usr/local/MATLAB/R2018a/bin
/opt/sw/xilinx/Model_Composer/2018.2/bin
/opt/sw/xilinx/DocNav
/opt/sw/xilinx/SDK/2018.2/bin
/opt/sw/xilinx/SDK/2018.2/gnu/microblaze/lin/bin
/opt/sw/xilinx/SDK/2018.2/gnu/arm/lin/bin
/opt/sw/xilinx/SDK/2018.2/gnu/microblaze/linux_toolchain/lin64_le/bin
/opt/sw/xilinx/SDK/2018.2/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin
/opt/sw/xilinx/SDK/2018.2/gnu/aarch32/lin/gcc-arm-none-eabi/bin
/opt/sw/xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-linux/bin
/opt/sw/xilinx/SDK/2018.2/gnu/aarch64/lin/aarch64-none/bin
/opt/sw/xilinx/SDK/2018.2/gnu/armr5/lin/gcc-arm-none-eabi/bin
/opt/sw/xilinx/SDK/2018.2/tps/lnx64/cmake-3.3.2/bin
/opt/sw/xilinx/Vivado/2018.2/bin
/home/josan/bin
/opt/sw/bin
/bin
/usr/bin
/usr/local/bin
/sbin
/usr/sbin

--

$ echo $LD_LIBRARY_PATH
/usr/local/lib64:/usr/local/lib

 

--

$ uname -a
Linux m4z 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64 GNU/Linux

 

-- j054n
0 Kudos
4 Replies
Xilinx Employee
Xilinx Employee
486 Views
Registered: ‎09-18-2018

Re: Sysgen 2018.2 and Matlab R2018A starting errors in Linux

Hi ,

Can you please comment what is the Linux OS version that you are using. Please see the below OS supportted by Vivado 2018.2 and MATLAB 2018a . It supports only Red Hat Linux 64 and Red Hat Linux

Please refer to Vivado release notes UG973 to know more about the supported OS and 3rd party tools by Vivado.

 

Regards,

Vivek

viv2018rel.PNG
0 Kudos
Observer jmorenoz
Observer
428 Views
Registered: ‎12-04-2010

Re: Sysgen 2018.2 and Matlab R2018A starting errors in Linux

Certainly my current OS doesn't appear in this table, but I have just tested in a Centos 7 wit the same result

 

 

$ uname -a
Linux elab 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ rpm -q centos-release
centos-release-7-5.1804.4.el7.centos.x86_64

 

 

In this machine I can use Sysgen 2017.4 with Matlab 2017a, but with 2018 versions in a similar installation gives the same error

-- j054n
0 Kudos
Xilinx Employee
Xilinx Employee
398 Views
Registered: ‎09-18-2018

Re: Sysgen 2018.2 and Matlab R2018A starting errors in Linux

Hi,

 

I see another user on forum faced a similar problem, given in the below link. He has solved it by installing KDE. Please see the below link 

 

https://forums.xilinx.com/t5/DSP-IP-and-Tools/Error-using-System-Generator/td-p/900420

 

Please try this and check.

 

Regards,

Vivek

0 Kudos
Newbie abansod88
Newbie
68 Views
Registered: ‎05-19-2018

Re: Sysgen 2018.2 and Matlab R2018A starting errors in Linux

Hi,

I faced same issue while running this setup on debian.

I located the issue on matlab script line: 380

newdir=`echo "$filename" | awk '
                        { tail = $0
                          np = index (tail, "/")
                          while ( np != 0 ) {
                             tail = substr (tail, np + 1, length (tail) - np)
                             if (tail == "" ) break
                             np = index (tail, "/")
                          }
                          head = substr ($0, 1, length ($0) - length (tail))
                          if ( tail == "." || tail == "..")
                             print $0
                          else
                             print head
                        }'`

I fixed it by giving the correct value to this variable as follows:

newdir="<your dir path>/MATLAB/R2018a/bin"

Afterwards sysgen runs properly!

Hope it helps.

Cheers,

 

 

0 Kudos