Skip to content

Commit

Permalink
Merge pull request #972 from eisenhauer/fx100
Browse files Browse the repository at this point in the history
Fx100
  • Loading branch information
eisenhauer committed Oct 31, 2018
2 parents 7a74575 + f8a1799 commit 8333e4b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
8 changes: 7 additions & 1 deletion source/adios2/toolkit/sst/cp/cp_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,13 @@ extern CP_GlobalInfo CP_getCPInfo(CP_DP_Interface DPInfo)
memset(CPInfo, 0, sizeof(*CPInfo));

CPInfo->cm = CManager_create();
CMfork_comm_thread(CPInfo->cm);
if (CMfork_comm_thread(CPInfo->cm) == 0)
{
fprintf(stderr, "ADIOS2 SST Engine failed to fork a communication "
"thread.\nThis is a fatal condition, please check "
"resources or system settings.\nDying now.\n");
exit(1);
}

CMlisten(CPInfo->cm);

Expand Down
22 changes: 9 additions & 13 deletions thirdparty/dill/dill/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
cmake_minimum_required(VERSION 2.8.3)
if(POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)
project(DILL VERSION 2.4.0 LANGUAGES C CXX)
else()
project(DILL C CXX)
set(DILL_MAJOR_VERSION 2)
set(DILL_MINOR_VERSION 4)
set(DILL_PATCH_VERSION 0)
set(DILL_VERSION
${DILL_MAJOR_VERSION}.${DILL_MINOR_VERSION}.${DILL_PATCH_VERSION})
endif()
cmake_minimum_required(VERSION 3.0)

project(DILL VERSION 2.4.0 LANGUAGES C CXX)

# Some boilerplate to setup nice output directories
set(CMAKE_INSTALL_BINDIR bin CACHE STRING "Installation runtime subdirectory")
Expand Down Expand Up @@ -111,7 +102,8 @@ CHECK_TYPE_SIZE("void*" CMAKE_SIZEOF_VOID_P)
CHECK_TYPE_SIZE("long" SIZEOF_LONG)
set (NATIVE_CG true)
if (("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i.86") OR
("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64"))
("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64") OR
("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "AMD64"))
if (CMAKE_SIZEOF_VOID_P MATCHES "8")
set (NATIVE_ARCH x86_64)
set (HOST_X86_64 1)
Expand Down Expand Up @@ -153,6 +145,10 @@ elseif ("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "ppc64le")
set (NATIVE_ARCH ppc64le)
set (HOST_PPC64LE 1)
set (ARCH_FILE ppc64le)
elseif ("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "s64fx")
set (NATIVE_ARCH sparcv9)
set (HOST_SPARCV9 1)
set (ARCH_FILE sparc)
else()
message (STATUS "NO CG for Processor \"${CMAKE_SYSTEM_PROCESSOR}\"")
set (NATIVE_CG false)
Expand Down

0 comments on commit 8333e4b

Please sign in to comment.