Skip to content

pyccel/ossfe_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

OSSFE Tutorial

This repository contains example files and setup instructions for demonstrating Pyccel, a Python-to-Fortran/C accelerator, presented at the Open Source Software for Fusion Energy (OSSFE) conference.


What is Pyccel?

Pyccel is a Python package designed to translate performance-critical Python code into optimized, compiled Fortran or C extensions, significantly accelerating numerical computations while retaining the flexibility and ease-of-use of Python.


How to Run the Demo

1. Build and Run Docker Container

docker build -t pyccel_env .
docker run -it -v $(pwd):/workspace pyccel_env

2. Compile Python Code with Pyccel

Inside your container:

pyccel ossfe_demo.py

3. Execute Compiled Code

Run the compiled version seamlessly within Python:

from ossfe_demo import greet_ossfe
greet_ossfe()

Resources


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published