aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_hosts.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2021-10-11 16:30:12 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2021-10-11 16:37:04 +0200
commit62ca5edd03630e388d7c4bb0c93e5952d55e5b11 (patch)
tree8daebc385e307025c6e2e76feccef8f8851b1104 /src/testbed/testbed_api_hosts.c
parent7ee114251b2a512153011e5475c7a15ca0b73eb3 (diff)
downloadgnunet-62ca5edd03630e388d7c4bb0c93e5952d55e5b11.tar.gz
gnunet-62ca5edd03630e388d7c4bb0c93e5952d55e5b11.zip
BUILD: Remove SuperMUC code. Issue #7033
Diffstat (limited to 'src/testbed/testbed_api_hosts.c')
-rw-r--r--src/testbed/testbed_api_hosts.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c
index 1a8d9976d..8dd0a4893 100644
--- a/src/testbed/testbed_api_hosts.c
+++ b/src/testbed/testbed_api_hosts.c
@@ -568,41 +568,6 @@ simple_resolve (const char *host)
568 568
569 569
570/** 570/**
571 * Loads the set of host allocated by the LoadLeveler Job Scheduler. This
572 * function is only available when compiled with support for LoadLeveler and is
573 * used for running on the SuperMUC
574 *
575 * @param cfg the configuration to use as a template while starting a controller
576 * on any of the loaded hosts. Operation queue sizes specific to a host
577 * are also read from this configuration handle
578 * @param hosts set to the hosts found in the file; caller must free this if
579 * number of hosts returned is greater than 0
580 * @return number of hosts returned in 'hosts', 0 on error
581 */
582unsigned int
583GNUNET_TESTBED_hosts_load_from_loadleveler (
584 const struct GNUNET_CONFIGURATION_Handle *cfg,
585 struct GNUNET_TESTBED_Host ***hosts)
586{
587#if ! ENABLE_SUPERMUC
588 LOG (GNUNET_ERROR_TYPE_ERROR,
589 _ ("The function %s is only available when compiled with (--with-ll)\n"),
590 __func__);
591 GNUNET_assert (0);
592#else
593 const char *hostfile;
594
595 if (NULL == (hostfile = getenv ("MP_SAVEHOSTFILE")))
596 {
597 GNUNET_break (0);
598 return 0;
599 }
600 return GNUNET_TESTBED_hosts_load_from_file (hostfile, cfg, hosts);
601#endif
602}
603
604
605/**
606 * Destroy a host handle. Must only be called once everything 571 * Destroy a host handle. Must only be called once everything
607 * running on that host has been stopped. 572 * running on that host has been stopped.
608 * 573 *