Sfoglia il codice sorgente

COMP: also build the static dummy loader on Cray Catamount

Alex
Alexander Neundorf 18 anni fa
parent
commit
d486e7c871
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      Source/kwsys/DynamicLoader.cxx

+ 2 - 1
Source/kwsys/DynamicLoader.cxx

@@ -437,7 +437,8 @@ const char* DynamicLoader::LastError()
 // ---------------------------------------------------------------
 // ---------------------------------------------------------------
 // 5. Implementation for systems without dynamic libs
 // 5. Implementation for systems without dynamic libs
 // __gnu_blrts__ is IBM BlueGene/L
 // __gnu_blrts__ is IBM BlueGene/L
-#ifdef __gnu_blrts__
+// __LIBCATAMOUNT__ is defined on Catamount on Cray compute nodes
+#if defined(__gnu_blrts__) || defined(__LIBCATAMOUNT__)
 #include <string.h> // for strerror()
 #include <string.h> // for strerror()
 #define DYNAMICLOADER_DEFINED 1
 #define DYNAMICLOADER_DEFINED 1