Skip to content

Commit 64ff5ea

Browse files
committed
Debug magma on crusher
1 parent f190c19 commit 64ff5ea

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ set(Intel_Fortran_FLAGS_DEBUG -O0 -g -check all -assume realloc_lhs
4444
-traceback -qopt-report=5)
4545
set(Intel_Fortran_FLAGS_RELEASE -O2 -g -assume realloc_lhs -qopt-report=5)
4646

47-
if(DEFINED ENV{CRAYPE_VERSION})
48-
set(EXTRA_FCFLAGS "-ef ${EXTRA_FCLAGS}")
47+
if(CMAKE_Fortran_COMPILER_ID STREQUAL "Cray")
48+
set(EXTRA_FCFLAGS "-ef ${EXTRA_FCFLAGS}")
4949
else()
5050
set(EXTRA_FCFLAGS "-ffree-line-length-none ${EXTRA_FCFLAGS}")
5151
endif()

build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ EOF
3535
echo "CC Path to C compiler (default is ${CC})"
3636
echo "CXX Path to C++ compiler (default is ${CXX})"
3737
echo "FC Path to Fortran compiler (default is ${FC})"
38-
echo "BML_ROCSPARSE Build with rocSPARSE (default is ${BML_ROCSPARSE})"
3938
echo "PROGRESS_OPENMP {yes,no} (default is ${PROGRESS_OPENMP})"
4039
echo "BLAS_VENDOR {Default} (default is ${BLAS_VENDOR})"
4140
echo "PROGRESS_MPI {yes,no} (default is ${PROGRESS_MPI})"

0 commit comments

Comments
 (0)