Skip to content

Commit

Permalink
Merge pull request igfuw#168 from pdziekan/record_hostname
Browse files Browse the repository at this point in the history
Record hostname
  • Loading branch information
pdziekan committed Feb 1, 2024
2 parents a26c9f3 + 507d3b4 commit eb5ffb3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions src/solvers/slvr_common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <libcloudph++/common/output.hpp>
#include "../detail/get_uwlcm_git_revision.hpp"
#include "../detail/ForceParameters.hpp"
#include <boost/asio/ip/host_name.hpp>

struct smg_tag {};
struct iles_tag {};
Expand Down Expand Up @@ -106,6 +107,7 @@ class slvr_common : public slvr_dim<ct_params_t>
std::string run_command;
for(int i=0; i<ac; ++i)
run_command += std::string(av[i]) + std::string(" ");
this->record_aux_const("hostname", "misc", boost::asio::ip::host_name());
this->record_aux_const("run command", "misc", run_command);
this->record_aux_const("omp_max_threads (on MPI rank 0)", omp_get_max_threads());
this->record_aux_const("MPI compiler (true/false)", "MPI details",
Expand Down
16 changes: 8 additions & 8 deletions tests/moist_thermal/refdata/stats_blk_ens_1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,29 @@ blk_1m
(0,10)
[ 0 0 0 0 0 0 0 0 0 0 0 ]
(0,10)
[ 0 842.513 917.064 1021.59 1133.5 1231.77 1304.93 1355.7 1399.55 1420.29 1412.15 ]
[ 0 842.513 917.063 1021.59 1133.5 1231.78 1304.91 1355.76 1399.75 1420.06 1412.81 ]
(0,10)
[ 0 842.513 917.064 1021.59 1133.5 1231.77 1304.93 1355.7 1399.55 1420.29 1412.15 ]
[ 0 842.513 917.063 1021.59 1133.5 1231.78 1304.91 1355.76 1399.75 1420.06 1412.81 ]
rc_avg
blk_1m
(0,10)
[ 0 0 0 0 0 0 0 0 0 0 0 ]
(0,10)
[ 0 0 0 0 0 0 0 0 0 0 0 ]
(0,10)
[ 0 0 0.192135 0.369521 0.533292 0.675522 0.737115 0.738637 0.66149 0.493945 0.376956 ]
[ 0 0 0.192136 0.369522 0.533303 0.675598 0.738208 0.740045 0.65895 0.494113 0.384123 ]
(0,10)
[ 0 0 0.192135 0.369521 0.533292 0.675522 0.737115 0.738637 0.66149 0.493945 0.376956 ]
[ 0 0 0.192136 0.369522 0.533303 0.675598 0.738208 0.740045 0.65895 0.494113 0.384123 ]
rc_std_dev
blk_1m
(0,10)
[ 0 0 0 0 0 0 0 0 0 0 0 ]
(0,10)
[ 0 0 0 0 0 0 0 0 0 0 0 ]
(0,10)
[ 0 0 0.0220711 0.0761175 0.153982 0.205269 0.273749 0.324464 0.326298 0.261709 0.223169 ]
[ 0 0 0.0220706 0.0761182 0.153964 0.205153 0.272817 0.323494 0.328416 0.262572 0.227212 ]
(0,10)
[ 0 0 0.0220711 0.0761175 0.153982 0.205269 0.273749 0.324464 0.326298 0.261709 0.223169 ]
[ 0 0 0.0220706 0.0761182 0.153964 0.205153 0.272817 0.323494 0.328416 0.262572 0.227212 ]
actconc_avg
blk_1m
(0,10)
Expand Down Expand Up @@ -105,6 +105,6 @@ blk_1m
(0,10)
[ 0 0 0 0 0 0 0 0 0 0 0 ]
(0,10)
[ 0 0 0.0231496 0.0246564 0.0257979 0.0255696 0.0256153 0.0239258 0.0213689 0.0188119 0.0115976 ]
[ 0 0 0.0231496 0.0246564 0.0257979 0.0255696 0.0255696 0.0238802 0.0214602 0.0189489 0.0116433 ]
(0,10)
[ 0 0 0.0231496 0.0246564 0.0257979 0.0255696 0.0256153 0.0239258 0.0213689 0.0188119 0.0115976 ]
[ 0 0 0.0231496 0.0246564 0.0257979 0.0255696 0.0255696 0.0238802 0.0214602 0.0189489 0.0116433 ]

0 comments on commit eb5ffb3

Please sign in to comment.