Skip to content

Commit

Permalink
split implementation into smaller modules #19
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeZ committed Feb 22, 2019
1 parent d16d07f commit a6ef436
Show file tree
Hide file tree
Showing 8 changed files with 746 additions and 699 deletions.
5 changes: 3 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

# create binary
set(SOURCES main.f90 numeric_kinds.f90 davidson.f90 benchmark.f90)
set(UTILS numeric_kinds.f90 lapack_wrapper.f90)
set(SOURCES main.f90 davidson.f90 benchmark.f90 ${UTILS})
message (STATUS "SOURCES: " ${SOURCES})
add_executable(main ${SOURCES})

Expand Down Expand Up @@ -29,7 +30,7 @@ target_compile_options(main
target_link_libraries(main PRIVATE ${LINEAR_ALGEBRA} ${OpenMP_Fortran_FLAGS})

# Benchmark free matrix
add_executable(benchmark_free benchmark_free.f90 davidson.f90 numeric_kinds.f90)
add_executable(benchmark_free benchmark_free.f90 davidson.f90 ${UTILS})

target_compile_options(main
PRIVATE
Expand Down
Loading

0 comments on commit a6ef436

Please sign in to comment.