Skip to content
Snippets Groups Projects
Commit 6a7f1387 authored by Paul Gierz's avatar Paul Gierz
Browse files

Update run_all.py

parent 5f2d8d15
No related branches found
No related tags found
No related merge requests found
......@@ -50,8 +50,8 @@ if __name__ == "__main__":
os.rename(output, "./raw_input_data/{{cookiecutter.input_fname}}")
print(40*"- ")
print("* MATLAB Part:")
os.system("matlab.sh -s -S\"--mem=36000\" -M\"-nodisplay -r run('mg_topo_prep_triangle_input.m')\"")
os.system("matlab.sh -s -S\"--mem=36000\" -M\"-nodisplay -r run('mg_coastline.m')\"")
os.system("module load matlab; matlab.x -nodisplay -r \"run('mg_topo_prep_triangle_input.m')\"")
os.system("module load matlab; matlab.x -nodisplay -r \"run('mg_coastline.m')\"")
os.rename("{{cookiecutter.mesh_name}}_cst.txt", "mesh_CORE2_{{cookiecutter.mesh_name}}/{{cookiecutter.mesh_name}}_cst.txt")
# TODO: Get count from the other python script and write it somewhere
# TODO: C reads count from the file just written...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment