abort exits when there is an error. A dummy stub file is written out, which will cause a compilation failure
(outfile)
| 137 | |
| 138 | |
| 139 | def abort(outfile): |
| 140 | """ abort exits when there is an error. A dummy stub file is written |
| 141 | out, which will cause a compilation failure """ |
| 142 | |
| 143 | fout = open(outfile, "w") |
| 144 | fout.write("There was an error parsing the parameter files") |
| 145 | fout.close() |
| 146 | sys.exit(1) |
| 147 | |
| 148 | |
| 149 | def write_probin(prob_param_files, cxx_prefix): |