- create you own development environment by installing all required packages, libraries, dependencies, environmental variables, paths, and anything required to build your project by adding stuff into the
devctr/Dockerfile- the provided Dockerfile already contains
cuda:11.8.0toolchain andpython3
- the provided Dockerfile already contains
- build your own development environment:
./devtool build_devctr - (OPTIONALLY) If you want to share your development environment with other people:
- register on Dockerhub
- change
DOCKER_HUB_USERNAMEindevtoolto your username - push changes with
docker push <your username>:6_s894_finalproject_devctr:latest
Now you can build things inside this development container anywhere, without "it works on my machine" issues anymore and without installing anything (which might be very complicated and messy sometimes) on your physical machine (host).
- put your project you want to build inside
srcfolder - write what should be called to build your project in
src/build.sh- if you want to add some test input files along your binaries, write instructions in
build.shas well
- if you want to add some test input files along your binaries, write instructions in
- (OPTIONAL) write what should be executed on the GPU server in
src/run.sh - build it:
./devtool build_project - the output can be found in
buildfolder and all together inbuild.tar - (OPTIONAL)
build.taris shippable for execution viaTelerun:python3 <path_to_telerun.py> submit build.tar- Telerun will execute your
run.sh