|
| 1 | +diff --git a/examples/read_write_col_perf.c b/examples/read_write_col_perf.c |
| 2 | +index 7aa15998..f861ae8e 100644 |
| 3 | +--- a/examples/read_write_col_perf.c |
| 4 | ++++ b/examples/read_write_col_perf.c |
| 5 | +@@ -117,6 +117,7 @@ main(int argc, char **argv) |
| 6 | + |
| 7 | + char hostname[256]; |
| 8 | + gethostname(hostname, 256); |
| 9 | ++ strcpy(hostname, "eno1"); |
| 10 | + if (rank == 0) { |
| 11 | + LOG_INFO("number of dimensions in this test is %d\n", ndim); |
| 12 | + LOG_INFO("data size = %llu\n", (long long unsigned)data_size); |
| 13 | +diff --git a/examples/read_write_perf.c b/examples/read_write_perf.c |
| 14 | +index 923fdae1..6b27c700 100644 |
| 15 | +--- a/examples/read_write_perf.c |
| 16 | ++++ b/examples/read_write_perf.c |
| 17 | +@@ -111,6 +111,7 @@ main(int argc, char **argv) |
| 18 | + #endif |
| 19 | + char hostname[256]; |
| 20 | + gethostname(hostname, 256); |
| 21 | ++ strcpy(hostname, "eno1"); |
| 22 | + if (rank == 0) { |
| 23 | + LOG_INFO("number of dimensions in this test is %d\n", ndim); |
| 24 | + LOG_INFO("data size = %llu\n", (long long unsigned)data_size); |
| 25 | +diff --git a/src/api/pdc_client_connect.c b/src/api/pdc_client_connect.c |
| 26 | +index 50e29956..7e84f3a8 100644 |
| 27 | +--- a/src/api/pdc_client_connect.c |
| 28 | ++++ b/src/api/pdc_client_connect.c |
| 29 | +@@ -1380,6 +1380,7 @@ PDC_Client_mercury_init(hg_class_t **hg_class, hg_context_t **hg_context, int po |
| 30 | + } |
| 31 | + memset(hostname, 0, sizeof(hostname)); |
| 32 | + gethostname(hostname, sizeof(hostname)); |
| 33 | ++ strcpy(hostname, "eno1"); |
| 34 | + sprintf(na_info_string, "%s://%s:%d", hg_transport, hostname, port); |
| 35 | + if (pdc_client_mpi_rank_g == 0) { |
| 36 | + LOG_INFO("==PDC_CLIENT: using %.7s\n", na_info_string); |
| 37 | +diff --git a/src/commons/utils/pdc_timing.c b/src/commons/utils/pdc_timing.c |
| 38 | +index 0adea269..322674c1 100644 |
| 39 | +--- a/src/commons/utils/pdc_timing.c |
| 40 | ++++ b/src/commons/utils/pdc_timing.c |
| 41 | +@@ -41,6 +41,7 @@ PDC_timing_init() |
| 42 | + |
| 43 | + MPI_Comm_rank(MPI_COMM_WORLD, &rank); |
| 44 | + gethostname(hostname, HOST_NAME_MAX); |
| 45 | ++ strcpy(hostname, "eno1"); |
| 46 | + if (!(rank % 31)) { |
| 47 | + LOG_INFO("client process rank %d, hostname = %s\n", rank, hostname); |
| 48 | + } |
| 49 | +@@ -126,6 +127,7 @@ PDC_timing_report(const char *prefix) |
| 50 | + time(&now); |
| 51 | + MPI_Comm_rank(MPI_COMM_WORLD, &rank); |
| 52 | + gethostname(hostname, HOST_NAME_MAX); |
| 53 | ++ strcpy(hostname, "eno1"); |
| 54 | + if (!(rank % 32)) { |
| 55 | + LOG_INFO("client process rank %d, hostname = %s\n", rank, hostname); |
| 56 | + } |
| 57 | +@@ -261,6 +263,7 @@ PDC_server_timing_init() |
| 58 | + |
| 59 | + MPI_Comm_rank(MPI_COMM_WORLD, &rank); |
| 60 | + gethostname(hostname, HOST_NAME_MAX); |
| 61 | ++ strcpy(hostname, "eno1"); |
| 62 | + |
| 63 | + LOG_INFO("server process rank %d, hostname = %s\n", rank, hostname); |
| 64 | + /* |
| 65 | +diff --git a/src/server/pdc_server.c b/src/server/pdc_server.c |
| 66 | +index 9247005f..4c8b52e2 100644 |
| 67 | +--- a/src/server/pdc_server.c |
| 68 | ++++ b/src/server/pdc_server.c |
| 69 | +@@ -819,6 +819,7 @@ PDC_Server_init(int port, hg_class_t **hg_class, hg_context_t **hg_context) |
| 70 | + } |
| 71 | + memset(hostname, 0, HOSTNAME_LEN); |
| 72 | + gethostname(hostname, HOSTNAME_LEN - 1); |
| 73 | ++ strcpy(hostname, "eno1"); |
| 74 | + snprintf(na_info_string, NA_STRING_INFO_LEN, "%s://%s:%d", hg_transport, hostname, port); |
| 75 | + if (pdc_server_rank_g == 0) |
| 76 | + LOG_INFO("==PDC_SERVER[%d]: using %.7s\n", pdc_server_rank_g, na_info_string); |
| 77 | +diff --git a/src/tests/read_write_col_perf.c b/src/tests/read_write_col_perf.c |
| 78 | +index d9d0d0ee..20fbb616 100644 |
| 79 | +--- a/src/tests/read_write_col_perf.c |
| 80 | ++++ b/src/tests/read_write_col_perf.c |
| 81 | +@@ -119,6 +119,7 @@ main(int argc, char **argv) |
| 82 | + |
| 83 | + char hostname[256]; |
| 84 | + gethostname(hostname, 256); |
| 85 | ++ strcpy(hostname, "eno1"); |
| 86 | + |
| 87 | + if (rank == 0) { |
| 88 | + LOG_INFO("number of dimensions in this test is %d\n", ndim); |
| 89 | +diff --git a/src/tests/read_write_perf.c b/src/tests/read_write_perf.c |
| 90 | +index 152140d5..6f5a9840 100644 |
| 91 | +--- a/src/tests/read_write_perf.c |
| 92 | ++++ b/src/tests/read_write_perf.c |
| 93 | +@@ -113,6 +113,7 @@ main(int argc, char **argv) |
| 94 | + #endif |
| 95 | + char hostname[256]; |
| 96 | + gethostname(hostname, 256); |
| 97 | ++ strcpy(hostname, "eno1"); |
| 98 | + if (rank == 0) { |
| 99 | + LOG_INFO("number of dimensions in this test is %d\n", ndim); |
| 100 | + LOG_INFO("data size = %llu\n", (long long unsigned)data_size); |
0 commit comments