Forum Discussion
Hi,
May I know do you have setup for connecting to servers running FPGA development software as described in chapter 5:
https://github.com/intel/FPGA-Devcloud/tree/master/main/QuickStartGuides/OneAPI_Program_PAC_Quickstart/Arria%2010
There is OpenCL Quickstart guides in Devcloud and useful information here:
https://github.com/intel/FPGA-Devcloud/tree/master/main/QuickStartGuides/OpenCL_Program_PAC_Quickstart/Arria%2010
Thanks
- RJimé15 years ago
New Contributor
I can follow the steps described in the first link you provided successfully, but that doesn't enable me to compile for OpenCL. It seems the solution for that is in the second link. However, when I launch the devcloud_login function, choose the first option and later either one of the two new available options, I get this error:
running: qsub -q batch@v-qsvr-fpga -I -l nodes=s005-n004:ppn=2
qsub: submit error (Unauthorized Request MSG=group ACL is not satisfied: user u39146@login-2, queue batch)
It seems I lack some permissions. Besides, none of this was necessary a week ago, I could simply request a node with compiling capabilities by specifying the property fpga_compile to qsub.
Thank you.
- JSchr205 years ago
Occasional Contributor
Like RJimé1, I am working with a purely OpenCL design.
I, also, followed the instructions at the second link, and I encountered the same qsub submit error mentioned by RJimé1 above.
I agree as well that none of this environmental hoop jumping was necessary a week ago. We were set up properly to do this stuff automatically at login.
- JSchr205 years ago
Occasional Contributor
I think I have something that's working. First, the devcloud environment has clearly improved this afternoon, so I'm unsure whether this would have worked yesterday. But no matter, I have tentative hope that is working today. I believe I can now build FPGA hardware again.
Interactive mode:
qsub -I -l nodes=1:fpga_compile:ppn=2
source /data/intel_fpga/devcloudLoginToolSetup.sh
aoc device/vector_add.cl -o bin/vector_add_hw.aocx
Batch mode:
file build_fpga_hw.sh contains:
#!/bin/bash
source /data/intel_fpga/devcloudLoginToolSetup.sh
aoc device/vector_add.cl -o bin/vector_add_hw.aocx
Then, from login-2, I run:
qsub -l nodes=1:fpga_compile:ppn=2 -d . -o logs -e logs build_fpga_hw.sh
I am not positive this will complete successfully, but it has been running for 15 minutes and hasn't died yet, which is a hopeful sign.
Turns out what I was doing wrong yesterday with my six hour builds was that I had the line "tools_setup" in my batch shell file after the setup script, because that's what the instructions indicated. I didn't realize that was an interactive command, so my batch jobs spent six hours waiting on keyboard input. Oops. Seems one needs to run the setup script (without that, we still get the "dcp.qpf does not exist" error), but one should *not* run tools_setup or devcloud_login.