Skip to content

Commit 88e836e

Browse files
committed
Don't require MPI for example 3
1 parent aa79743 commit 88e836e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/3_MultiGPU/CMakeLists.txt

-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ if(NOT CMAKE_BUILD_TYPE)
1515
endif()
1616

1717
find_package(FTorch)
18-
find_package(MPI REQUIRED)
1918
message(STATUS "Building with Fortran PyTorch coupling")
2019

2120
include(CheckLanguage)
@@ -29,7 +28,6 @@ endif()
2928
# Fortran example
3029
add_executable(multigpu_infer_fortran multigpu_infer_fortran.f90)
3130
target_link_libraries(multigpu_infer_fortran PRIVATE FTorch::ftorch)
32-
target_link_libraries(multigpu_infer_fortran PRIVATE MPI::MPI_Fortran)
3331

3432
# Integration testing
3533
if (CMAKE_BUILD_TESTS)

0 commit comments

Comments
 (0)