Skip to content

Commit 9cc7633

Browse files
committed
cmake: first draft for JUQUEEN toolchain file
going to test it on the system
1 parent ca73491 commit 9cc7633

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

cmake/toolchain_juqueen.cmake

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Toolchain File for JUQUEEN @ Juelich Supercomputing Center
2+
# BG/Q system
3+
#
4+
# Remark: IBM XL/C++ compiler is not supported by PFASST++ due to lack of C++11 support
5+
#
6+
# IMPORTANT!!
7+
# Make sure you have loaded only the following modules:
8+
# - gcc/4.8.1
9+
# - fftw3/3.3.3
10+
#
11+
# As well make sure you have built boost::program_options according to the instructions from the
12+
# PFASST++ documentation on JUQUEEN.
13+
#
14+
15+
message(STATUS "Please make sure you have loaded at least gcc/4.8.1")
16+
17+
set(CMAKE_C_COMPILER /bgsys/local/gcc/4.8.1/bin/mpigcc)
18+
set(CMAKE_CXX_COMPILER /bgsys/local/gcc/4.8.1/bin/mpig++)
19+
set(CMAKE_Fortran_COMPILER /bgsys/local/gcc/4.8.1/bin/mpigfortran)
20+
21+
set(MPI_ROOT /bgsys/local/gcc/4.8.1)
22+
set(MPI_C_COMPILER ${MPI_ROOT}/bin/mpigcc)
23+
set(MPI_CXX_COMPILER ${MPI_ROOT}/bin/mpig++)
24+
set(MPI_Fortran_COMPILER ${MPI_ROOT}/bin/mpigfortran)

0 commit comments

Comments
 (0)