Skip to content
Snippets Groups Projects
Select Git revision
0 results

mpi_hello_world.c

  • Andreas Herten's avatar
    fb5b2b14
    Add TODO-ified verison of Task 1 (entirely in the batch scripts) · fb5b2b14
    Andreas Herten authored
    The .master folder uses the copy.mk script form all our courses to generate solutions and tasks. But because we are not using C files, we cannot use the cppp (C partial pre-processor) which we use for the tasks for the other courses. BUT Jinja to the rescue. I found a jinja2-cli application which consumes a YAML file and just processes a random other file. And it works! Look at the requirements.txt to set up your venv for the jinja2-cli app. That said, the pre-processed versions of the files are commited so no need to install it.
    fb5b2b14
    History
    Add TODO-ified verison of Task 1 (entirely in the batch scripts)
    Andreas Herten authored
    The .master folder uses the copy.mk script form all our courses to generate solutions and tasks. But because we are not using C files, we cannot use the cppp (C partial pre-processor) which we use for the tasks for the other courses. BUT Jinja to the rescue. I found a jinja2-cli application which consumes a YAML file and just processes a random other file. And it works! Look at the requirements.txt to set up your venv for the jinja2-cli app. That said, the pre-processed versions of the files are commited so no need to install it.