Skip to content

Commit

Permalink
Removed explicit specification of MPI_Fortran_COMPILER from F2003_par…
Browse files Browse the repository at this point in the history
…allel/CMakeLists.txt example files
  • Loading branch information
drreynolds committed Feb 13, 2024
1 parent 3480832 commit 7cbd968
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 35 deletions.
10 changes: 1 addition & 9 deletions examples/arkode/F2003_parallel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ set(FARKODE_examples
"ark_diag_non_f2003\;\;1\;4\;develop\;2"
"ark_heat2D_f2003\;\;1\;4\;develop\;2")

if(MPI_Fortran_COMPILER)
# use MPI wrapper as the compiler
set(CMAKE_Fortran_COMPILER ${MPI_Fortran_COMPILER})
else()
# add MPI_INCLUDE_PATH to include directories
include_directories(${MPI_INCLUDE_PATH})
endif()

# Set-up linker flags and link libraries
set(SUNDIALS_LIBS sundials_arkode
sundials_farkode_mod
Expand Down Expand Up @@ -112,7 +104,7 @@ if(EXAMPLES_INSTALL)
set(EXAMPLE_LIBS_LIST
sundials_farkode_mod
sundials_nvecparallel
sundials_fnvecparallel_mod
sundials_fnvecparallel_mod
sundials_arkode
sundials_fnvecmpiplusx_mod
sundials_nvecmpiplusx
Expand Down
9 changes: 0 additions & 9 deletions examples/cvode/F2003_parallel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,6 @@ if(MPI_ENABLED)
"cv_diag_non_p_f2003\;\;1\;4\;develop\;2")
endif()


if(MPI_Fortran_COMPILER)
# use MPI wrapper as the compiler
set(CMAKE_Fortran_COMPILER ${MPI_Fortran_COMPILER})
else()
# add MPI_INCLUDE_PATH to include directories
include_directories(${MPI_INCLUDE_PATH})
endif()

# Specify libraries to link against
set(CVODE_LIBS
sundials_cvode
Expand Down
8 changes: 0 additions & 8 deletions examples/ida/F2003_parallel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,6 @@ if(MPI_ENABLED)
endif()


if(MPI_Fortran_COMPILER)
# use MPI wrapper as the compiler
set(CMAKE_Fortran_COMPILER ${MPI_Fortran_COMPILER})
else()
# add MPI_INCLUDE_PATH to include directories
include_directories(${MPI_INCLUDE_PATH})
endif()

# Specify libraries to link against
set(IDA_LIBS
sundials_ida
Expand Down
9 changes: 0 additions & 9 deletions examples/kinsol/F2003_parallel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,6 @@ if(MPI_ENABLED)
"kin_diagon_kry_f2003\;\;1\;4\;develop\;2")
endif()


if(MPI_Fortran_COMPILER)
# use MPI wrapper as the compiler
set(CMAKE_Fortran_COMPILER ${MPI_Fortran_COMPILER})
else()
# add MPI_INCLUDE_PATH to include directories
include_directories(${MPI_INCLUDE_PATH})
endif()

# Specify libraries to link against
set(KINSOL_LIBS
sundials_kinsol
Expand Down

0 comments on commit 7cbd968

Please sign in to comment.