Skip to content

Commit

Permalink
integer type flag for nvfortran
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaypanyala committed Sep 9, 2021
1 parent a5e7d99 commit 9c2380c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ if(BUILD_INDEX64)
set(CPE_ENV $ENV{PE_ENV})
if(CPE_ENV STREQUAL "CRAY")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -sinteger64")
elseif(CPE_ENV STREQUAL "NVIDIA")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -i8")
else()
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fdefault-integer-8")
endif()
Expand Down

0 comments on commit 9c2380c

Please sign in to comment.