Skip to content

Commit 653e9f0

Browse files
committed
fix: flush correct ostream in runtime_init
1 parent a98facd commit 653e9f0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

apps/core/src/case_data.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ namespace Core
156156
<< "Number of MPI nodes: " << size << '\n';
157157
}
158158
std::ios_base::sync_with_stdio(true);
159-
std::flush(std::cout);
159+
std::flush(out_stream);
160160
}
161161
}
162162

tools/cases.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@
6464
<!-- <cma_case_path>/app/cma_data/0d_gas/</cma_case_path> -->
6565
<!-- <cma_case_path >/home_pers/casale/Documents/thesis/cfd/sanofi/</cma_case_path> -->
6666
<!-- <cma_case_path >/home-local/casale/Documents/thesis/cfd-cma/cma_data/sanofi/</cma_case_path> -->
67-
<final_time>1000</final_time>
68-
<number_particle>1000</number_particle>
67+
<final_time>10</final_time>
68+
<number_particle>1000000</number_particle>
6969
<delta_time>0.1</delta_time>
7070
<results_file_name>debug</results_file_name>
7171
<number_exported_result>10</number_exported_result>
72-
<model_name>fixed_length</model_name>
72+
<model_name>udf_model</model_name>
7373
<!-- <initialiser_path /> -->
7474
<initialiser_path>./cma_data/0d_4s_init.h5</initialiser_path>
7575
</control>

tools/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def get_executable(instal: str, mpi: bool = True):
4141
if instal:
4242
return f"/opt/biomc/{appname}"
4343
else:
44-
return f"{ROOT}/builddir/host/apps/cli/{appname}"
44+
return f"{ROOT}/builddir/host_test/apps/cli/{appname}"
4545

4646

4747
def mk_parser():

0 commit comments

Comments
 (0)