From 2ee14a3fe4f5666c7cb2964eacdf228b895267bd Mon Sep 17 00:00:00 2001 From: kousuke-nakano <37653569+kousuke-nakano@users.noreply.github.com> Date: Thu, 29 Jun 2023 18:20:23 +0200 Subject: [PATCH 1/2] added convertpfaff.x --- CMakeLists.txt | 2 ++ src/a_convertfortpfaff/CMakeLists.txt | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 src/a_convertfortpfaff/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index a35f0a7..679cafb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -495,6 +495,7 @@ if(EXT_TOOLS) # serial tools add_target_exe_serial_wrapper( makefort10 ) + add_target_exe_serial_wrapper( convertpfaff ) add_target_exe_serial_wrapper( readforward-serial ) add_target_exe_serial_wrapper( convertfort10-serial ) add_target_exe_serial_wrapper( convertfort10mol-serial ) @@ -700,6 +701,7 @@ add_subdirectory(src/a_tools) add_subdirectory(src/a_readforward) add_subdirectory(src/a_module_tests) add_subdirectory(src/a_makefort10) +add_subdirectory(src/a_convertfortpfaff) add_subdirectory(src/a_convertfort10mol) add_subdirectory(src/a_convertfort10) diff --git a/src/a_convertfortpfaff/CMakeLists.txt b/src/a_convertfortpfaff/CMakeLists.txt new file mode 100644 index 0000000..7a9ade9 --- /dev/null +++ b/src/a_convertfortpfaff/CMakeLists.txt @@ -0,0 +1,19 @@ +if(convertpfaff IN_LIST EXECUTABLES_S_L) + + set_module_path_directory( convertpfaff serial ) + + target_sources( convertpfaff + PRIVATE + convertpfaff.f90 + ) + + set_target_properties( convertpfaff PROPERTIES SUFFIX ".x") + + target_link_libraries( convertpfaff + PRIVATE + common-serial + adjoint-forward-serial + complex-serial + ) + +endif() \ No newline at end of file From e10d1116f7fc57aa6f93732e5c61926799929b9a Mon Sep 17 00:00:00 2001 From: kousuke-nakano <37653569+kousuke-nakano@users.noreply.github.com> Date: Fri, 30 Jun 2023 10:34:32 +0200 Subject: [PATCH 2/2] added convertpfaff --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 00464c2..fe41418 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -515,13 +515,13 @@ if(EXT_TOOLS) # serial tools add_target_exe_serial_wrapper( makefort10 ) + add_target_exe_serial_wrapper( convertpfaff ) add_target_exe_serial_wrapper( readforward-serial ) add_target_exe_serial_wrapper( convertfort10-serial ) add_target_exe_serial_wrapper( convertfort10mol-serial ) if(EXT_GPU) # Non-gpu version is important only for testad - add_target_lib_serial_wrapper(common-nogpu-serial) add_target_lib_serial_wrapper(complex-nogpu-serial) add_target_lib_serial_wrapper(qlapack-nogpu-serial)