Project

General

Profile

0003-use-more-obvious-name-of-BGQ-compiler-MPI-wrappers.patch

Jeff Hammond, 06/16/2013 09:14 PM

View differences:

cmake/Platform/BlueGeneQ-static-XL-C.cmake
20 20
set(CMAKE_SYSTEM_NAME BlueGeneQ-static)
21 21
# xl.ndebug is appropriate for production calculations. For debugging,
22 22
# use xl to add back error checks and assertions
23
set(CMAKE_C_COMPILER /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicc)
23
set(CMAKE_C_COMPILER /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpixlc_r)
24 24
set(CMAKE_C_FLAGS_RELEASE "-O4 -DNDEBUG" CACHE STRING "Compiler optimization flags")
25 25

  
26 26
mark_as_advanced(CMAKE_XL_CreateExportList) # No idea what spams this
cmake/Platform/BlueGeneQ-static-XL-CXX.cmake
20 20
set(CMAKE_SYSTEM_NAME BlueGeneQ-static CACHE STRING "Cross-compiling for BlueGene/Q" FORCE)
21 21
# xl.ndebug is appropriate for production calculations. For debugging,
22 22
# use xl to add back error checks and assertions
23
set(CMAKE_CXX_COMPILER /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpicxx)
23
set(CMAKE_CXX_COMPILER /bgsys/drivers/ppcfloor/comm/xl.ndebug/bin/mpixlcxx_r)
24 24
set(CMAKE_CXX_FLAGS_RELEASE "-O4 -DNDEBUG" CACHE STRING "Compiler optimization flags")
25 25

  
26 26
mark_as_advanced(CMAKE_XL_CreateExportList) # No idea what spams this
27
-