File tree Expand file tree Collapse file tree 4 files changed +18
-4
lines changed
Expand file tree Collapse file tree 4 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,25 @@ cd build
77# is added to the CXXFLAGS for MacOS builds.
88# see https://conda-forge.org/docs/maintainer/knowledge_base.html#newer-c-features-with-old-sdk
99
10- cmake .. \
10+ # install Elements
11+ cmake ../lib/Elements \
12+ -D CMAKE_BUILD_TYPE:STRING=RELEASE \
13+ -D CMAKE_INSTALL_PREFIX:PATH=$PREFIX \
14+ -D CMAKE_CXX_STANDARD:STRING=17 \
15+ -D Matar_ENABLE_KOKKOS=ON \
16+ -D Matar_KOKKOS_PACKAGE=Trilinos \
17+ $CMAKE_ARGS \
18+ -D CMAKE_CXX_FLAGS=" $PATCHED_CXXFLAGS -fopenmp -D_LIBCPP_DISABLE_AVAILABILITY" \
19+ -D VECTOR_ARCH_FLAGS=" $VECTOR_ARCH_FLAGS " \
20+
21+ make install
22+
23+ cmake ../.. \
1124 -D CMAKE_BUILD_TYPE:STRING=RELEASE \
1225 -D CMAKE_INSTALL_PREFIX:PATH=$PREFIX \
1326 -D CMAKE_CXX_STANDARD:STRING=17 \
1427 -D BUILD_PARALLEL_EXPLICIT_SOLVER=ON \
1528 -D BUILD_IMPLICIT_SOLVER=ON \
16- -D BUILD_ELEMENTS=ON \
1729 -D DISTRIBUTION=On \
1830 $CMAKE_ARGS \
1931 -D CMAKE_CXX_FLAGS=" $PATCHED_CXXFLAGS -fopenmp -D_LIBCPP_DISABLE_AVAILABILITY" \
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ requirements:
2929 - {{ compiler('cxx') }}={{ macos_compiler_version }} # [osx]
3030 - {{ compiler('fortran') }}
3131 - openmpi
32+ - trilinos-cpu
3233 host :
3334 - _openmp_mutex # [linux]
3435 - llvm-openmp # [osx]
Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ requirements:
3333 - boost-cpp
3434 - libnetcdf
3535 - libmatio
36- # - llvm-openmp # [osx]
36+ - llvm-openmp # [osx]
3737 run :
3838 - libblas
39- # - llvm-openmp # [osx]
39+ - llvm-openmp # [osx]
4040
4141about :
4242 home : https://trilinos.org
Original file line number Diff line number Diff line change 2323
2424# Install Elements
2525if [ ! -d " ${ELEMENTS_INSTALL_DIR} /lib" ]; then
26+ # if [ -d "${ELEMENTS_INSTALL_DIR}/lib" ]; then
2627 echo " Installing Elements..."
2728 cmake -D CMAKE_INSTALL_PREFIX=" $ELEMENTS_INSTALL_DIR " -D Trilinos_DIR=" ${Trilinos_DIR} " -D Matar_ENABLE_KOKKOS=ON -D Matar_KOKKOS_PACKAGE=Trilinos -B " ${ELEMENTS_BUILD_DIR} " -S " ${ELEMENTS_SOURCE_DIR} "
2829 make -C " ${ELEMENTS_BUILD_DIR} " -j${FIERRO_BUILD_CORES}
You can’t perform that action at this time.
0 commit comments