Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefiles: add OUTPUT_NAME and THIS_TASK, minor updates #35

Merged
merged 3 commits into from
Nov 15, 2024
Merged

Conversation

mhrywniak
Copy link
Collaborator

Modify all hands-on Makefiles to include current task and dynamic output file name so that
any output generated by tasks can be distinguished (and not all files have the same name).

  • All existing .master/Makefile renamed to Makefile.in
  • Add @@TASKSOL@@ replacement pattern to Makefile.in
  • Running copy.mk preprocesses replacement pattern depending on destination (task/sol)
  • Use OUTPUT_NAME with exercise and timestamp, e.g. jacobi.08H-NCCL-sol__20241114-1951.0.nsys-rep

Minor:

  • Fix 06-H Readme

Modify all hands-on Makefiles to include current task and dynamic output file name so that
any output generated by tasks can be distinguished (and not all files have the same name).
* All existing .master/Makefile renamed to Makefile.in
* Add @@TASKSOL@@ replacement pattern to Makefile.in
* Running copy.mk preprocesses replacement pattern depending on destination (task/sol)
* Use OUTPUT_NAME with exercise and timestamp, e.g. jacobi.08H-NCCL-sol__20241114-1951.0.nsys-rep
@mhrywniak mhrywniak requested a review from AndiH November 15, 2024 09:34
@mhrywniak mhrywniak self-assigned this Nov 15, 2024
@AndiH
Copy link
Member

AndiH commented Nov 15, 2024

Looks good to me!

@AndiH AndiH merged commit 9abe716 into main Nov 15, 2024
@AndiH AndiH deleted the mh/sc24_fixes branch November 15, 2024 12:46
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