Skip to content

Conversation

@CampGareth
Copy link
Contributor

Checklist

  • Thought about testing?
  • Is the intent of the code clear? (use comments judiciously!)
  • Added to RELEASE.md?

RECO_FEATURE_INTERCOM: "1"
PORT: '80'
RECO_DEPLOY_AMI: ami-43338239
RECO_DEPLOY_AMI: ami-0bf310a6858243a7c
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This AMI is the same one used by the compiler and I don't think that's going to work. The 'normal' deployment container has config to make scripts run on startup. We could however build a deployment container based on the compiler one ensuring libraries and whatnot are kept the same.

@CampGareth
Copy link
Contributor Author

Copying steps from https://docs.google.com/document/d/1dfP5GL6k-i6zwCN8u538UJa_6dXSaO51PztP4RmIFLs/edit?usp=sharing

  • Move to /x/examples/histogram where PWD in the next command has a .reco-work directory present to bind-mount.
  • docker run -ti --rm --volume /lib64/libboost_filesystem-mt.so.1.53.0:/usr/lib/libboost_filesystem-mt.so.1.53.0 --volume /lib64/libboost_system-mt.so.1.53.0:/usr/lib/libboost_system-mt.so.1.53.0 --volume /opt/xilinx:/opt/xilinx --volume $PWD/.reco-work/sdaccel/dist/xclbin/kernel_test.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.xclbin:/xclbin/kernel_test.hw.xilinx_aws-vu9p-f1-04261818_dynamic_5_0.xclbin --volume /etc/OpenCL:/etc/OpenCL --volume /opt/Xilinx:/opt/Xilinx --volume $PWD/test-histogram:/test-histogram --privileged -e XILINX_SDX=/opt/Xilinx/SDx/2018.2.op2258646 398048034572.dkr.ecr.us-east-1.amazonaws.com/reconfigureio/build-framework/sdaccel-builder:PR-240
  • Compile host binary
  • source /opt/xilinx/xrt/setup.sh
  • Make xclbin available, e.g. copy it from /xclbin/kernel_test to $PWD/xclbin/kernel_test
  • Run binary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants