Commit 456dfe85 authored by Josh Borrow's avatar Josh Borrow
Browse files

Added SWIFT code group to the output files to enable a quick check from other...

Added SWIFT code group to the output files to enable a quick check from other programs if the output was generated by SWIFT
parent d408db13
......@@ -375,6 +375,7 @@ void io_write_code_description(hid_t h_file) {
h_grpcode = H5Gcreate1(h_file, "/Code", 0);
if (h_grpcode < 0) error("Error while creating code group");
io_write_attribute_s(h_grpcode, "Code", "SWIFT");
io_write_attribute_s(h_grpcode, "Code Version", package_version());
io_write_attribute_s(h_grpcode, "Compiler Name", compiler_name());
io_write_attribute_s(h_grpcode, "Compiler Version", compiler_version());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment