diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 22cee64..8e3424e 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,57 +1,57 @@ # # @file CMakeLists.txt # # @brief # # @copyright # Copyright (©) 2021 EPFL (Ecole Polytechnique Fédérale de Lausanne) # SPC (Swiss Plasma Center) # # futils is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free # Software Foundation, either version 3 of the License, or (at your option) # any later version. # # futils is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see . # # @authors # (in alphabetical order) # @author Nicolas Richart # @author Trach-Minh Tran # set(SERIAL ex1 ex2 ex3 ex4 ex7 ex8 ex9 ex11 ex12 ex13 ex14 ex15 ex16) -set(PARA pex1 pex3 pex3D pex4 pex5 pex6 pex7 pex8 pex9 ex10 pex16) +set(PARA pex1 pex3 pex4 pex5 pex6 pex7 pex8 pex9 ex10 pex16) set(PARA1 pex5r pex10 pex11 pex12 pex13 pex14 pex15) if(NOT TARGET futils) message("BLIP") endif() foreach(ex ${SERIAL}) add_executable(${ex} ${ex}.f90) add_test(${ex} ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} 1 ${CMAKE_CURRENT_BINARY_DIR}/${ex}) target_link_libraries(${ex} PRIVATE futils) endforeach() foreach(ex ${PARA}) add_executable(${ex} ${ex}.f90) add_test(${ex} ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} 4 ${CMAKE_CURRENT_BINARY_DIR}/${ex}) target_link_libraries(${ex} PRIVATE futils) endforeach() foreach(ex ${PARA1}) add_executable(${ex} ${ex}.f90) target_link_libraries(${ex} PRIVATE futils) endforeach() add_test(pex10 ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} 12 ${CMAKE_CURRENT_BINARY_DIR}/pex10) add_test(pex11 ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} 8 ${CMAKE_CURRENT_BINARY_DIR}/pex11) add_test(pex12 ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} 4 ${CMAKE_CURRENT_BINARY_DIR}/pex12 2 2) add_test(pex13 ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} 6 ${CMAKE_CURRENT_BINARY_DIR}/pex13 3 2) add_test(pex14 ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} 4 ${CMAKE_CURRENT_BINARY_DIR}/pex12 2 2) add_test(pex15 ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} 6 ${CMAKE_CURRENT_BINARY_DIR}/pex12 3 2)