Mixing Python and Compiled Code

Wed, Nov 11, 2020, 4:30 pm to 6:30 pm
Remote Learning
PICSciE/Research Computing

This virtual workshop will introduce participants to compiled code bindings in Python. Unlike “High-Performance Python: CPUs”, this workshop will explore using an existing or multipurpose compiled library from Python code for either performance or to reuse legacy calculations.

Learning objectives: Attendees will learn how to call C from Python, and how to create Python bindings for a C++ library using PyBind11, and have some idea of other existing methods.

Knowledge prerequisites: Basic Python knowledge, basic to intermediate knowledge of a compiled language, preferably C++.

Hardware/software prerequisites:  . (1) Have an SSH client installed on your laptop. (2) Register for an account on Adroit(link is external). This is the cluster we will use for demonstration purposes. Make sure you can SSH to Adroit before the workshop by following this guide. (3) Optional: Have the Anaconda Distribution installed on your laptop to run and build things locally.

Virtual Workshop format: Lecture and hands-on

Please register online at www. princeton.edu/training.  If you need help with registration, please reach out to alrubins@princeton.edu 

Upcoming Trainings


Tue, Jan 19, 2021, 9:00 am to Fri, Jan 29, 2021, 5:00 pm

Upcoming Help Sessions

Weekly Help Sessions

Tue, Jan 19, 2021, 10:30 am to 11:30 am

Weekly Help Sessions

Thu, Jan 21, 2021, 2:00 pm to 3:00 pm

Other Events

No upcoming events found.