diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-05-26 16:51:08 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-05-26 16:51:08 -0400 |
commit | 9d7bb2dc1d90a03dee83dc999fe2798999b4b27d (patch) | |
tree | e230ded52add451b5adca0c0a7c7f6f7cadddc2f | |
parent | 4acaa0d0d3e59d6e618815515871f1f1115a6789 (diff) |
Carpet: Remove unused, broken code
-rw-r--r-- | Carpet/Carpet/src/SetupGH.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Carpet/Carpet/src/SetupGH.cc b/Carpet/Carpet/src/SetupGH.cc index 138e0f63a..94d430aab 100644 --- a/Carpet/Carpet/src/SetupGH.cc +++ b/Carpet/Carpet/src/SetupGH.cc @@ -283,19 +283,10 @@ namespace Carpet { } #endif -#if 0 - // Do not call Util_GetHostName. Certain InfiniBand libraries do - // not allow calling fork or exec, and getting the host name - // seems also not allowed. It leads to random crashes. - char hostnamebuf[1000]; - Util_GetHostName (hostnamebuf, sizeof hostnamebuf); - string const hostname (hostnamebuf); -#else char hostnamebuf[MPI_MAX_PROCESSOR_NAME]; int hostnamelen; MPI_Get_processor_name (hostnamebuf, &hostnamelen); string const hostname (hostnamebuf); -#endif DetermineHosts (hostname, true); #if HAVE_GETPID int const mypid = static_cast<int> (getpid ()); |