Skip to content

Commit 03dd6dd

Browse files
Merge pull request #1003 from arcaneframework/dev/gg-move-sloop-in-common-arcane-part
Move 'aleph/sloop' to 'src/arcane/aleph'
2 parents b7aebe8 + 945f4a6 commit 03dd6dd

File tree

6 files changed

+27
-20
lines changed

6 files changed

+27
-20
lines changed

arcane/ceapart/CMakeLists.txt

-16
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,12 @@ message(STATUS "ARCANEBUILDROOT for CEA = ${ARCANEBUILDROOT}")
1212
file(MAKE_DIRECTORY ${ARCANEBUILDROOT}/share)
1313
file(MAKE_DIRECTORY ${ARCANEBUILDROOT}/share/axl)
1414

15-
# A supprimer mais en attendant permet de compiler avec IntelMPI
16-
if (ARCANE_WANT_MPI_DISTRIB MATCHES "intelmpi")
17-
set(DISABLE_SLOOP_AND_TRILINOS YES)
18-
include(cmake/FindItac.cmake)
19-
endif ()
20-
if(ARCANE_USE_MPC)
21-
set(DISABLE_SLOOP_AND_TRILINOS YES)
22-
endif()
23-
2415
# ----------------------------------------------------------------------------
2516

2617
include(cmake/VT100.cmake)
2718
if(NOT WIN32)
28-
# Lima a besoin de LM et F90 donc il faut qu'ils soient
29-
# recherchés avan lui
3019
include(cmake/FindItac.cmake)
3120
include(cmake/FindMathlink.cmake)
32-
33-
if(NOT DISABLE_SLOOP_AND_TRILINOS)
34-
include(cmake/FindSuperLU.cmake)
35-
endif()
3621
endif()
3722

3823
if(NOT WIN32 AND MATHLINK_FOUND)
@@ -43,7 +28,6 @@ add_subdirectory(src/arcane/cea)
4328
add_subdirectory(src/arcane/geometric)
4429
add_subdirectory(src/arcane/meshutils)
4530
add_subdirectory(src/arcane/hyoda)
46-
add_subdirectory(src/arcane/aleph/sloop)
4731

4832
# ----------------------------------------------------------------------------
4933
# Ajoute des tests.

arcane/src/arcane/aleph/CMakeLists.txt

+24-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include(srcs.cmake)
1+
include(srcs.cmake)
22

33
arcane_add_library(arcane_aleph
44
INPUT_PATH ${Arcane_SOURCE_DIR}/src
@@ -21,3 +21,26 @@ if(MPI_FOUND)
2121
endif()
2222
add_subdirectory(tests)
2323
endif()
24+
25+
# A supprimer mais en attendant permet de compiler Sloop avec IntelMPI
26+
if (ARCANE_WANT_MPI_DISTRIB MATCHES "intelmpi")
27+
set(DISABLE_SLOOP_AND_TRILINOS YES)
28+
include(cmake/FindItac.cmake)
29+
endif ()
30+
if(ARCANE_USE_MPC)
31+
set(DISABLE_SLOOP_AND_TRILINOS YES)
32+
endif()
33+
34+
if(NOT WIN32)
35+
if(NOT DISABLE_SLOOP_AND_TRILINOS)
36+
include(${CMAKE_CURRENT_LIST_DIR}/FindSuperLU.cmake)
37+
add_subdirectory(sloop)
38+
endif()
39+
endif()
40+
41+
# ----------------------------------------------------------------------------
42+
# Local Variables:
43+
# tab-width: 2
44+
# indent-tabs-mode: nil
45+
# coding: utf-8-with-signature
46+
# End:
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
info("${VT100_FG_GREEN}Looking for ${VT100_BOLD}SuperLU${VT100_RESET}")
1+
message(STATUS "Looking for SuperLU")
22

33
find_path(SUPERLU_INCLUDE_DIRS superlu_defs.h)
44
find_library(SUPERLU_LIBRARIES superlu_dist_4.2)
55

6-
info("${VT100_FG_GREEN}SUPERLU_LIBRARY=${VT100_BOLD}${SUPERLU_LIBRARY}${VT100_RESET}")
6+
message(STATUS "SUPERLU_LIBRARY=${SUPERLU_LIBRARY}")
77

88
MESSAGE(STATUS "SUPERLU_LIBRARIES = ${SUPERLU_LIBRARIES}")
99
MESSAGE(STATUS "SUPERLU_INCLUDE_DIRS = ${SUPERLU_INCLUDE_DIRS}")
1010

1111
set(SUPERLU_FOUND "NO")
1212
if(SUPERLU_INCLUDE_DIRS AND SUPERLU_LIBRARIES)
1313
set(SUPERLU_FOUND "YES" )
14-
info("${VT100_FG_GREEN}${VT100_BOLD}SUPERU_FOUND=YES${VT100_RESET}")
14+
message(STATUS "SUPERU_FOUND=YES")
1515
arcane_add_package_library(superlu SUPERLU)
1616
endif()

0 commit comments

Comments
 (0)