- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
I'm using emulation on Linux and run the application with the command "env = CL_CONTEXT_EMULATOR_DEVICE_ALTERA s5_ref vector_add" I get the following message:
"env: CL_CONTEXT_EMULATOR_DEVICE_ALTERA: File or directory not found" Could anyone help me? grateful!Ссылка скопирована
8 Ответы
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
To run the application, invoke the command env CL_CONTEXT_EMULATOR_DEVICE_ALTERA=<board_name>
<your_host_program_name>, where <board_name> is the FPGA board name you specified when you compiled your kernel. You've got the equal sign in the wrong place.- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
--- Quote Start --- To run the application, invoke the command env CL_CONTEXT_EMULATOR_DEVICE_ALTERA=<board_name> <your_host_program_name>, where <board_name> is the FPGA board name you specified when you compiled your kernel. You've got the equal sign in the wrong place. --- Quote End --- I'm sorry, I typed wrong here in fact, the command is: env CL_CONTEXT_EMULATOR_DEVICE_ALTERA = <board_name> <your_host_program_name> the error message is the one that talked about earlier
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Hi there,
This post is a bit old so you probably already solved the problem but just in case: while typing the command, make sure not to put spaces on either sides of the "=" sign. The command should work then. Regards, David- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Hello , I am using Windows 10 and am having the same problem. I am running as follows:
du_ti@DESKTOP-BDFRAF0 /cygdrive/c/altera/15.0/hld/board/de1soc/examples/vector_add $ env CL_CONTEXT_EMULATOR_DEVICE_ALTERA=1 vector_add env: vector_add: No such file or directory I also tried the following: $ env CL_CONTEXT_EMULATOR_DEVICE_ALTERA=de1soc_sharedonly vector_add How do you solve your problem?- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Hi dutiene,
I cannot say much based on the limited information you shared here but it really seems like the problem has nothing to do with AOCL and rather be related to the fact that the executable (vector_add) is simply not there. I am not familiar with this "de1soc" board you are using but I would recommend you to start with recompiling the executable file and then try the execution command once more. Regards, David- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Hi thach.david
The executable file (vector_add) is generated afer compiling. I run the geneared file in Altera Embedded_Command_Shell or in Windows Command Prompt? Regards, Paulo- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Hi Paulo,
Using Windows' command prompt should do the trick. Why not try to setup the CL_CONTEXT_EMULATOR_DEVICE_ALTERA environment variable directly using Windows' GUI: right-click on My Computer, Properties, Advanced system settings, environment variables, etc. Doing so will avoid you to have to set it in the execution command. Regards, David- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Given the space in the variable, maybe you need to use inverted commas, e.g., env CL_CONTEXT_EMULATOR_DEVICE_ALTERA="de1soc_sharedonly vector_add"
Is this a possibility?
Ответить
Параметры темы
- Подписка на RSS-канал
- Отметить тему как новую
- Отметить тему как прочитанную
- Выполнить отслеживание данной Тема для текущего пользователя
- Закладка
- Подписаться
- Страница в формате печати