mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Two small fixes for IBM XL Fortran compiler
This commit is contained in:
parent
cd67d8f526
commit
fa820b060d
2 changed files with 4 additions and 3 deletions
|
|
@ -116,7 +116,8 @@ elseif(CMAKE_Fortran_COMPILER_ID STREQUAL "PGI")
|
|||
|
||||
elseif(CMAKE_Fortran_COMPILER_ID STREQUAL "XL")
|
||||
# IBM XL compiler options
|
||||
set(f90flags "-WF,-DNO_F2008 -O2")
|
||||
set(f90flags "-O2")
|
||||
add_definitions(-DNO_F2008)
|
||||
if(debug)
|
||||
set(f90flags "-g -C -qflag=i:i -u")
|
||||
set(ldflags "-g")
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ contains
|
|||
! TO_LOWER converts a string to all lower case characters
|
||||
!===============================================================================
|
||||
|
||||
elemental function to_lower(word) result(word_lower)
|
||||
function to_lower(word) result(word_lower)
|
||||
|
||||
character(*), intent(in) :: word
|
||||
character(len=len(word)) :: word_lower
|
||||
|
|
@ -174,7 +174,7 @@ contains
|
|||
! TO_UPPER converts a string to all upper case characters
|
||||
!===============================================================================
|
||||
|
||||
elemental function to_upper(word) result(word_upper)
|
||||
function to_upper(word) result(word_upper)
|
||||
|
||||
character(*), intent(in) :: word
|
||||
character(len=len(word)) :: word_upper
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue