Hi Jonathon, hi all, Thank you - this did the trick! Simulink looks normal now and I can get into the model without errors. However, when updating the test_snap.slx model (just to check that things are indeed working alright), I now encounter a new error (or rather, set of similar errors) thrown at me by the diagnostic viewer: Could not find the configuration m-function "crc32x64_config". Error occurred during "Block Configuration". Reported by: 'test_snap/crc_check0/crc32x64_check1' Could not find the configuration m-function "crc32x64_config". Error occurred during "Block Configuration". Reported by: 'test_snap/crc_check1/crc32x64_check1' Could not find the configuration m-function "crc32x64_config". Error occurred during "Block Configuration". Reported by: 'test_snap/pkt_sim0/crc32x64' Could not find the configuration m-function "crc32x64_config". Error occurred during "Block Configuration". Reported by: 'test_snap/pkt_sim1/crc32x64' Any idea what this could be due to? Many thanks, Ben
On 09-Jun-2023 22:17:40 +0200, jxk...@gmail.com wrote: Hi Ben, You may have already, but there are a couple of other places to move libgmp that might be worth trying: (From this issue: https://github.com/casper-astro/mlib_devel/issues/190) cd /opt/Xilinx/Model_Composer/2021.1/lib/lnx64.o/Ubuntu mkdir exclude mv libgmp.so* exclude/ cd /opt/Xilinx/Vivado/2021.1/lib/lnx64.o mkdir exclude mv libgmp.so* exclude/ I've heard of a couple of other people with this issue - it seems something updated in Ubuntu 20.04.5 since we did our guide - we'll try and track it down. - In the meantime, another solution is to use an existing VM. - Andrew Martens kindly put this one together with the tools installed which should work - you just have to add licenses (you may have to request permission for the download): https://drive.google.com/file/d/1FfsZddV5_tRMd3ZBibDvolPTPPSjBfRk/view?usp=sharing Best, Jonathon On Fri, 9 Jun 2023 at 13:01, benjamin.fischer via casper@lists.berkeley.edu wrote: Hi all, I have been trying to set up the Toolflow quite closely following the setup guide (using the recommended versions: a completely fresh Ubuntu 20.04 install, Vivado 2021.1, mlib_devel m2021a). I get to the point under "Running the toolflow" but when I run the startsg script while Matlab does open it presents me with the error "Caught "std::exception" Exception message is: Error loading /usr/local/MATLAB/R2021a/bin/glnxa64/builtins/sl_main/mwlibmwsimulink_builtinimpl.so. /lib/x86_64-linux-gnu/libhogweed.so.5: undefined symbol: __gmpn_cnd_sub_n: Success: Success". This looked similar to what Craig Ramsay solved (https://strath-sdr.github.io/tools/matlab/sysgen/vivado/linux/2021/01/28/sysgen-on-20-04.html) which is also linked in the installation guide, so I followed that as well. This however didn't fix the issue. I get into Matlab and can start Simulink but it is quite slow and the toolbar in the Simulink window is missing. Additionally, when opening a Simulink window Matlab spits out copious amounts of errors and warnings in the background. Running the "jasper_frontend" command when following the tutorial further also results in an error. If I start Matlab manually, though, everything seems to behave. Perhaps someone has encountered similar issues or has an idea how to fix this. Many thanks and best wishes, Ben ------------------------------------------------------------------------------------------------- FreeMail powered by mail.co.uk -- You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/fbed96c94668f0ac9242c8b731210714640ac920%40mail.de. -- You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAPU71P8yyUVUgM2%3DFNvRW7jgGB_vjJJUzL1r%3Dy55gVZyU167qQ%40mail.gmail.com. ------------------------------------------------------------------------------------------------- FreeMail powered by mail.co.uk -- You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/df722deff85d85de23abdcf141a028d894eea34c%40mail.de.