diff --git a/build/Makefile_am.bak b/build/Makefile_am.bak new file mode 100644 index 0000000000000000000000000000000000000000..d9b8fa1e997303ba95954eb1f7187c214edbd2a3 --- /dev/null +++ b/build/Makefile_am.bak @@ -0,0 +1,40 @@ +LDADD=libnptm/libnptm.la -L/usr/lib64 ${USER_LDFLAGS} ${HDF5_LDFLAGS} ${LAPACKLDFLAGS} ${BLASLDFLAGS} ${CUBLASLDFLAGS} ${MAGMALDFLAGS} +lib_LTLIBRARIES=libnptm/libnptm.la +libnptm_libnptm_la_SOURCES=../src/libnptm/algebraic.cpp ../src/libnptm/clu_subs.cpp ../src/libnptm/Commons.cpp ../src/libnptm/Configuration.cpp ../src/libnptm/file_io.cpp ../src/libnptm/inclu_subs.cpp ../src/libnptm/lapack_calls.cpp ../src/libnptm/logging.cpp ../src/libnptm/magma_calls.cpp ../src/libnptm/cublas_calls.cpp ../src/libnptm/Parsers.cpp ../src/libnptm/sph_subs.cpp ../src/libnptm/utils.cpp ../src/libnptm/tfrfme.cpp ../src/libnptm/TransitionMatrix.cpp ../src/libnptm/tra_subs.cpp +if BUILDFORTRAN +PROGS=cluster/edfb_clu cluster/clu cluster/np_cluster inclusion/edfb_inclu inclusion/inclu inclusion/np_inclusion sphere/edfb_sph sphere/sph sphere/np_sphere trapping/frfme trapping/lffft trapping/np_trapping testing/test_ParticleDescriptor testing/test_TEDF testing/test_TTMS +bin_PROGRAMS=$(PROGS) +EDFBCLUSOURCES=../src/cluster/edfb_clu.f +CLUSOURCES=../src/cluster/clu.f +EDFBINCLUSOURCES=../src/inclusion/edfb_inclu.f +INCLUSOURCES=../src/inclusion/inclu.f +EDFBSPHSOURCES=../src/sphere/edfb_sph.f +SPHSOURCES=../src/sphere/sph.f +FRFMESOURCES=../src/trapping/frfme.f +LFFFTSOURCES=../src/trapping/lffft.f +cluster_edfb_clu_SOURCES=$(EDFBCLUSOURCES) +cluster_clu_SOURCES=$(CLUSOURCES) +inclusion_edfb_inclu_SOURCES=$(EDFBINCLUSOURCES) +inclusion_inclu_SOURCES=$(INCLUSOURCES) +sphere_edfb_sph_SOURCES=$(EDFBSPHSOURCES) +sphere_sph_SOURCES=$(SPHSOURCES) +trapping_frfme_SOURCES=$(FRFMESOURCES) +trapping_lffft_SOURCES=$(LFFFTSOURCES) +cluster_np_cluster_SOURCES=../src/cluster/np_cluster.cpp ../src/cluster/cluster.cpp +inclusion_np_inclusion_SOURCES=../src/inclusion/np_inclusion.cpp ../src/inclusion/inclusion.cpp +sphere_np_sphere_SOURCES=../src/sphere/np_sphere.cpp ../src/sphere/sphere.cpp +trapping_np_trapping_SOURCES=../src/trapping/np_trapping.cpp ../src/trapping/cfrfme.cpp ../src/trapping/clffft.cpp +testing_test_ParticleDescriptor_SOURCES=../src/testing/test_ParticleDescriptor.cpp +testing_test_TEDF_SOURCES=../src/testing/test_TEDF.cpp +testing_test_TTMS_SOURCES=../src/testing/test_TTMS.cpp +else +PROGS=cluster/np_cluster inclusion/np_inclusion sphere/np_sphere trapping/np_trapping testing/test_ParticleDescriptor testing/test_TEDF testing/test_TTMS +bin_PROGRAMS=$(PROGS) +cluster_np_cluster_SOURCES=../src/cluster/np_cluster.cpp ../src/cluster/cluster.cpp +inclusion_np_inclusion_SOURCES=../src/inclusion/np_inclusion.cpp ../src/inclusion/inclusion.cpp +sphere_np_sphere_SOURCES=../src/sphere/np_sphere.cpp ../src/sphere/sphere.cpp +trapping_np_trapping_SOURCES=../src/trapping/np_trapping.cpp ../src/trapping/cfrfme.cpp ../src/trapping/clffft.cpp +testing_test_ParticleDescriptor_SOURCES=../src/testing/test_ParticleDescriptor.cpp +testing_test_TEDF_SOURCES=../src/testing/test_TEDF.cpp +testing_test_TTMS_SOURCES=../src/testing/test_TTMS.cpp +endif diff --git a/build/Makefile_in.bak b/build/Makefile_in.bak new file mode 100644 index 0000000000000000000000000000000000000000..077a305569f613095c2b0f2ad174191c4adf6aa0 --- /dev/null +++ b/build/Makefile_in.bak @@ -0,0 +1,1550 @@ +# Makefile.in generated by automake 1.16.5 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2021 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +@BUILDFORTRAN_FALSE@bin_PROGRAMS = $(am__EXEEXT_1) +@BUILDFORTRAN_TRUE@bin_PROGRAMS = $(am__EXEEXT_1) +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ + $(am__configure_deps) $(am__DIST_COMMON) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +@BUILDFORTRAN_FALSE@am__EXEEXT_1 = cluster/np_cluster$(EXEEXT) \ +@BUILDFORTRAN_FALSE@ inclusion/np_inclusion$(EXEEXT) \ +@BUILDFORTRAN_FALSE@ sphere/np_sphere$(EXEEXT) \ +@BUILDFORTRAN_FALSE@ trapping/np_trapping$(EXEEXT) \ +@BUILDFORTRAN_FALSE@ testing/test_ParticleDescriptor$(EXEEXT) \ +@BUILDFORTRAN_FALSE@ testing/test_TEDF$(EXEEXT) \ +@BUILDFORTRAN_FALSE@ testing/test_TTMS$(EXEEXT) +@BUILDFORTRAN_TRUE@am__EXEEXT_1 = cluster/edfb_clu$(EXEEXT) \ +@BUILDFORTRAN_TRUE@ cluster/clu$(EXEEXT) \ +@BUILDFORTRAN_TRUE@ cluster/np_cluster$(EXEEXT) \ +@BUILDFORTRAN_TRUE@ inclusion/edfb_inclu$(EXEEXT) \ +@BUILDFORTRAN_TRUE@ inclusion/inclu$(EXEEXT) \ +@BUILDFORTRAN_TRUE@ inclusion/np_inclusion$(EXEEXT) \ +@BUILDFORTRAN_TRUE@ sphere/edfb_sph$(EXEEXT) \ +@BUILDFORTRAN_TRUE@ sphere/sph$(EXEEXT) \ +@BUILDFORTRAN_TRUE@ sphere/np_sphere$(EXEEXT) \ +@BUILDFORTRAN_TRUE@ trapping/frfme$(EXEEXT) \ +@BUILDFORTRAN_TRUE@ trapping/lffft$(EXEEXT) \ +@BUILDFORTRAN_TRUE@ trapping/np_trapping$(EXEEXT) \ +@BUILDFORTRAN_TRUE@ testing/test_ParticleDescriptor$(EXEEXT) \ +@BUILDFORTRAN_TRUE@ testing/test_TEDF$(EXEEXT) \ +@BUILDFORTRAN_TRUE@ testing/test_TTMS$(EXEEXT) +am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libdir)" +PROGRAMS = $(bin_PROGRAMS) +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +LTLIBRARIES = $(lib_LTLIBRARIES) +libnptm_libnptm_la_LIBADD = +am__dirstamp = $(am__leading_dot)dirstamp +am_libnptm_libnptm_la_OBJECTS = ../src/libnptm/algebraic.lo \ + ../src/libnptm/clu_subs.lo ../src/libnptm/Commons.lo \ + ../src/libnptm/Configuration.lo ../src/libnptm/file_io.lo \ + ../src/libnptm/inclu_subs.lo ../src/libnptm/lapack_calls.lo \ + ../src/libnptm/logging.lo ../src/libnptm/magma_calls.lo \ + ../src/libnptm/cublas_calls.lo ../src/libnptm/Parsers.lo \ + ../src/libnptm/sph_subs.lo ../src/libnptm/utils.lo \ + ../src/libnptm/tfrfme.lo ../src/libnptm/TransitionMatrix.lo \ + ../src/libnptm/tra_subs.lo +libnptm_libnptm_la_OBJECTS = $(am_libnptm_libnptm_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +am__cluster_clu_SOURCES_DIST = ../src/cluster/clu.f +@BUILDFORTRAN_TRUE@am__objects_1 = ../src/cluster/clu.$(OBJEXT) +@BUILDFORTRAN_TRUE@am_cluster_clu_OBJECTS = $(am__objects_1) +cluster_clu_OBJECTS = $(am_cluster_clu_OBJECTS) +cluster_clu_LDADD = $(LDADD) +am__DEPENDENCIES_1 = +cluster_clu_DEPENDENCIES = libnptm/libnptm.la $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) +am__cluster_edfb_clu_SOURCES_DIST = ../src/cluster/edfb_clu.f +@BUILDFORTRAN_TRUE@am__objects_2 = ../src/cluster/edfb_clu.$(OBJEXT) +@BUILDFORTRAN_TRUE@am_cluster_edfb_clu_OBJECTS = $(am__objects_2) +cluster_edfb_clu_OBJECTS = $(am_cluster_edfb_clu_OBJECTS) +cluster_edfb_clu_LDADD = $(LDADD) +cluster_edfb_clu_DEPENDENCIES = libnptm/libnptm.la \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +am__cluster_np_cluster_SOURCES_DIST = ../src/cluster/np_cluster.cpp \ + ../src/cluster/cluster.cpp +@BUILDFORTRAN_FALSE@am_cluster_np_cluster_OBJECTS = \ +@BUILDFORTRAN_FALSE@ ../src/cluster/np_cluster.$(OBJEXT) \ +@BUILDFORTRAN_FALSE@ ../src/cluster/cluster.$(OBJEXT) +@BUILDFORTRAN_TRUE@am_cluster_np_cluster_OBJECTS = \ +@BUILDFORTRAN_TRUE@ ../src/cluster/np_cluster.$(OBJEXT) \ +@BUILDFORTRAN_TRUE@ ../src/cluster/cluster.$(OBJEXT) +cluster_np_cluster_OBJECTS = $(am_cluster_np_cluster_OBJECTS) +cluster_np_cluster_LDADD = $(LDADD) +cluster_np_cluster_DEPENDENCIES = libnptm/libnptm.la \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +am__inclusion_edfb_inclu_SOURCES_DIST = ../src/inclusion/edfb_inclu.f +@BUILDFORTRAN_TRUE@am__objects_3 = \ +@BUILDFORTRAN_TRUE@ ../src/inclusion/edfb_inclu.$(OBJEXT) +@BUILDFORTRAN_TRUE@am_inclusion_edfb_inclu_OBJECTS = $(am__objects_3) +inclusion_edfb_inclu_OBJECTS = $(am_inclusion_edfb_inclu_OBJECTS) +inclusion_edfb_inclu_LDADD = $(LDADD) +inclusion_edfb_inclu_DEPENDENCIES = libnptm/libnptm.la \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +am__inclusion_inclu_SOURCES_DIST = ../src/inclusion/inclu.f +@BUILDFORTRAN_TRUE@am__objects_4 = ../src/inclusion/inclu.$(OBJEXT) +@BUILDFORTRAN_TRUE@am_inclusion_inclu_OBJECTS = $(am__objects_4) +inclusion_inclu_OBJECTS = $(am_inclusion_inclu_OBJECTS) +inclusion_inclu_LDADD = $(LDADD) +inclusion_inclu_DEPENDENCIES = libnptm/libnptm.la \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +am__inclusion_np_inclusion_SOURCES_DIST = \ + ../src/inclusion/np_inclusion.cpp \ + ../src/inclusion/inclusion.cpp +@BUILDFORTRAN_FALSE@am_inclusion_np_inclusion_OBJECTS = \ +@BUILDFORTRAN_FALSE@ ../src/inclusion/np_inclusion.$(OBJEXT) \ +@BUILDFORTRAN_FALSE@ ../src/inclusion/inclusion.$(OBJEXT) +@BUILDFORTRAN_TRUE@am_inclusion_np_inclusion_OBJECTS = \ +@BUILDFORTRAN_TRUE@ ../src/inclusion/np_inclusion.$(OBJEXT) \ +@BUILDFORTRAN_TRUE@ ../src/inclusion/inclusion.$(OBJEXT) +inclusion_np_inclusion_OBJECTS = $(am_inclusion_np_inclusion_OBJECTS) +inclusion_np_inclusion_LDADD = $(LDADD) +inclusion_np_inclusion_DEPENDENCIES = libnptm/libnptm.la \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +am__sphere_edfb_sph_SOURCES_DIST = ../src/sphere/edfb_sph.f +@BUILDFORTRAN_TRUE@am__objects_5 = ../src/sphere/edfb_sph.$(OBJEXT) +@BUILDFORTRAN_TRUE@am_sphere_edfb_sph_OBJECTS = $(am__objects_5) +sphere_edfb_sph_OBJECTS = $(am_sphere_edfb_sph_OBJECTS) +sphere_edfb_sph_LDADD = $(LDADD) +sphere_edfb_sph_DEPENDENCIES = libnptm/libnptm.la \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +am__sphere_np_sphere_SOURCES_DIST = ../src/sphere/np_sphere.cpp \ + ../src/sphere/sphere.cpp +@BUILDFORTRAN_FALSE@am_sphere_np_sphere_OBJECTS = \ +@BUILDFORTRAN_FALSE@ ../src/sphere/np_sphere.$(OBJEXT) \ +@BUILDFORTRAN_FALSE@ ../src/sphere/sphere.$(OBJEXT) +@BUILDFORTRAN_TRUE@am_sphere_np_sphere_OBJECTS = \ +@BUILDFORTRAN_TRUE@ ../src/sphere/np_sphere.$(OBJEXT) \ +@BUILDFORTRAN_TRUE@ ../src/sphere/sphere.$(OBJEXT) +sphere_np_sphere_OBJECTS = $(am_sphere_np_sphere_OBJECTS) +sphere_np_sphere_LDADD = $(LDADD) +sphere_np_sphere_DEPENDENCIES = libnptm/libnptm.la \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +am__sphere_sph_SOURCES_DIST = ../src/sphere/sph.f +@BUILDFORTRAN_TRUE@am__objects_6 = ../src/sphere/sph.$(OBJEXT) +@BUILDFORTRAN_TRUE@am_sphere_sph_OBJECTS = $(am__objects_6) +sphere_sph_OBJECTS = $(am_sphere_sph_OBJECTS) +sphere_sph_LDADD = $(LDADD) +sphere_sph_DEPENDENCIES = libnptm/libnptm.la $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) +am__testing_test_ParticleDescriptor_SOURCES_DIST = \ + ../src/testing/test_ParticleDescriptor.cpp +@BUILDFORTRAN_FALSE@am_testing_test_ParticleDescriptor_OBJECTS = ../src/testing/test_ParticleDescriptor.$(OBJEXT) +@BUILDFORTRAN_TRUE@am_testing_test_ParticleDescriptor_OBJECTS = ../src/testing/test_ParticleDescriptor.$(OBJEXT) +testing_test_ParticleDescriptor_OBJECTS = \ + $(am_testing_test_ParticleDescriptor_OBJECTS) +testing_test_ParticleDescriptor_LDADD = $(LDADD) +testing_test_ParticleDescriptor_DEPENDENCIES = libnptm/libnptm.la \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +am__testing_test_TEDF_SOURCES_DIST = ../src/testing/test_TEDF.cpp +@BUILDFORTRAN_FALSE@am_testing_test_TEDF_OBJECTS = \ +@BUILDFORTRAN_FALSE@ ../src/testing/test_TEDF.$(OBJEXT) +@BUILDFORTRAN_TRUE@am_testing_test_TEDF_OBJECTS = \ +@BUILDFORTRAN_TRUE@ ../src/testing/test_TEDF.$(OBJEXT) +testing_test_TEDF_OBJECTS = $(am_testing_test_TEDF_OBJECTS) +testing_test_TEDF_LDADD = $(LDADD) +testing_test_TEDF_DEPENDENCIES = libnptm/libnptm.la \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +am__testing_test_TTMS_SOURCES_DIST = ../src/testing/test_TTMS.cpp +@BUILDFORTRAN_FALSE@am_testing_test_TTMS_OBJECTS = \ +@BUILDFORTRAN_FALSE@ ../src/testing/test_TTMS.$(OBJEXT) +@BUILDFORTRAN_TRUE@am_testing_test_TTMS_OBJECTS = \ +@BUILDFORTRAN_TRUE@ ../src/testing/test_TTMS.$(OBJEXT) +testing_test_TTMS_OBJECTS = $(am_testing_test_TTMS_OBJECTS) +testing_test_TTMS_LDADD = $(LDADD) +testing_test_TTMS_DEPENDENCIES = libnptm/libnptm.la \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +am__trapping_frfme_SOURCES_DIST = ../src/trapping/frfme.f +@BUILDFORTRAN_TRUE@am__objects_7 = ../src/trapping/frfme.$(OBJEXT) +@BUILDFORTRAN_TRUE@am_trapping_frfme_OBJECTS = $(am__objects_7) +trapping_frfme_OBJECTS = $(am_trapping_frfme_OBJECTS) +trapping_frfme_LDADD = $(LDADD) +trapping_frfme_DEPENDENCIES = libnptm/libnptm.la $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) +am__trapping_lffft_SOURCES_DIST = ../src/trapping/lffft.f +@BUILDFORTRAN_TRUE@am__objects_8 = ../src/trapping/lffft.$(OBJEXT) +@BUILDFORTRAN_TRUE@am_trapping_lffft_OBJECTS = $(am__objects_8) +trapping_lffft_OBJECTS = $(am_trapping_lffft_OBJECTS) +trapping_lffft_LDADD = $(LDADD) +trapping_lffft_DEPENDENCIES = libnptm/libnptm.la $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) +am__trapping_np_trapping_SOURCES_DIST = \ + ../src/trapping/np_trapping.cpp ../src/trapping/cfrfme.cpp \ + ../src/trapping/clffft.cpp +@BUILDFORTRAN_FALSE@am_trapping_np_trapping_OBJECTS = \ +@BUILDFORTRAN_FALSE@ ../src/trapping/np_trapping.$(OBJEXT) \ +@BUILDFORTRAN_FALSE@ ../src/trapping/cfrfme.$(OBJEXT) \ +@BUILDFORTRAN_FALSE@ ../src/trapping/clffft.$(OBJEXT) +@BUILDFORTRAN_TRUE@am_trapping_np_trapping_OBJECTS = \ +@BUILDFORTRAN_TRUE@ ../src/trapping/np_trapping.$(OBJEXT) \ +@BUILDFORTRAN_TRUE@ ../src/trapping/cfrfme.$(OBJEXT) \ +@BUILDFORTRAN_TRUE@ ../src/trapping/clffft.$(OBJEXT) +trapping_np_trapping_OBJECTS = $(am_trapping_np_trapping_OBJECTS) +trapping_np_trapping_LDADD = $(LDADD) +trapping_np_trapping_DEPENDENCIES = libnptm/libnptm.la \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ +depcomp = $(SHELL) $(top_srcdir)/build_aux/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = ../src/cluster/$(DEPDIR)/cluster.Po \ + ../src/cluster/$(DEPDIR)/np_cluster.Po \ + ../src/inclusion/$(DEPDIR)/inclusion.Po \ + ../src/inclusion/$(DEPDIR)/np_inclusion.Po \ + ../src/libnptm/$(DEPDIR)/Commons.Plo \ + ../src/libnptm/$(DEPDIR)/Configuration.Plo \ + ../src/libnptm/$(DEPDIR)/Parsers.Plo \ + ../src/libnptm/$(DEPDIR)/TransitionMatrix.Plo \ + ../src/libnptm/$(DEPDIR)/algebraic.Plo \ + ../src/libnptm/$(DEPDIR)/clu_subs.Plo \ + ../src/libnptm/$(DEPDIR)/cublas_calls.Plo \ + ../src/libnptm/$(DEPDIR)/file_io.Plo \ + ../src/libnptm/$(DEPDIR)/inclu_subs.Plo \ + ../src/libnptm/$(DEPDIR)/lapack_calls.Plo \ + ../src/libnptm/$(DEPDIR)/logging.Plo \ + ../src/libnptm/$(DEPDIR)/magma_calls.Plo \ + ../src/libnptm/$(DEPDIR)/sph_subs.Plo \ + ../src/libnptm/$(DEPDIR)/tfrfme.Plo \ + ../src/libnptm/$(DEPDIR)/tra_subs.Plo \ + ../src/libnptm/$(DEPDIR)/utils.Plo \ + ../src/sphere/$(DEPDIR)/np_sphere.Po \ + ../src/sphere/$(DEPDIR)/sphere.Po \ + ../src/testing/$(DEPDIR)/test_ParticleDescriptor.Po \ + ../src/testing/$(DEPDIR)/test_TEDF.Po \ + ../src/testing/$(DEPDIR)/test_TTMS.Po \ + ../src/trapping/$(DEPDIR)/cfrfme.Po \ + ../src/trapping/$(DEPDIR)/clffft.Po \ + ../src/trapping/$(DEPDIR)/np_trapping.Po +am__mv = mv -f +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) +AM_V_CXX = $(am__v_CXX_@AM_V@) +am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) +am__v_CXX_0 = @echo " CXX " $@; +am__v_CXX_1 = +CXXLD = $(CXX) +CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ + $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) +am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) +am__v_CXXLD_0 = @echo " CXXLD " $@; +am__v_CXXLD_1 = +F77COMPILE = $(F77) $(AM_FFLAGS) $(FFLAGS) +LTF77COMPILE = $(LIBTOOL) $(AM_V_lt) --tag=F77 $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) +AM_V_F77 = $(am__v_F77_@AM_V@) +am__v_F77_ = $(am__v_F77_@AM_DEFAULT_V@) +am__v_F77_0 = @echo " F77 " $@; +am__v_F77_1 = +F77LD = $(F77) +F77LINK = $(LIBTOOL) $(AM_V_lt) --tag=F77 $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(F77LD) $(AM_FFLAGS) $(FFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_F77LD = $(am__v_F77LD_@AM_V@) +am__v_F77LD_ = $(am__v_F77LD_@AM_DEFAULT_V@) +am__v_F77LD_0 = @echo " F77LD " $@; +am__v_F77LD_1 = +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libnptm_libnptm_la_SOURCES) $(cluster_clu_SOURCES) \ + $(cluster_edfb_clu_SOURCES) $(cluster_np_cluster_SOURCES) \ + $(inclusion_edfb_inclu_SOURCES) $(inclusion_inclu_SOURCES) \ + $(inclusion_np_inclusion_SOURCES) $(sphere_edfb_sph_SOURCES) \ + $(sphere_np_sphere_SOURCES) $(sphere_sph_SOURCES) \ + $(testing_test_ParticleDescriptor_SOURCES) \ + $(testing_test_TEDF_SOURCES) $(testing_test_TTMS_SOURCES) \ + $(trapping_frfme_SOURCES) $(trapping_lffft_SOURCES) \ + $(trapping_np_trapping_SOURCES) +DIST_SOURCES = $(libnptm_libnptm_la_SOURCES) \ + $(am__cluster_clu_SOURCES_DIST) \ + $(am__cluster_edfb_clu_SOURCES_DIST) \ + $(am__cluster_np_cluster_SOURCES_DIST) \ + $(am__inclusion_edfb_inclu_SOURCES_DIST) \ + $(am__inclusion_inclu_SOURCES_DIST) \ + $(am__inclusion_np_inclusion_SOURCES_DIST) \ + $(am__sphere_edfb_sph_SOURCES_DIST) \ + $(am__sphere_np_sphere_SOURCES_DIST) \ + $(am__sphere_sph_SOURCES_DIST) \ + $(am__testing_test_ParticleDescriptor_SOURCES_DIST) \ + $(am__testing_test_TEDF_SOURCES_DIST) \ + $(am__testing_test_TTMS_SOURCES_DIST) \ + $(am__trapping_frfme_SOURCES_DIST) \ + $(am__trapping_lffft_SOURCES_DIST) \ + $(am__trapping_np_trapping_SOURCES_DIST) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +AM_RECURSIVE_TARGETS = cscope +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/build_aux/ar-lib \ + $(top_srcdir)/build_aux/compile \ + $(top_srcdir)/build_aux/config.guess \ + $(top_srcdir)/build_aux/config.sub \ + $(top_srcdir)/build_aux/depcomp \ + $(top_srcdir)/build_aux/install-sh \ + $(top_srcdir)/build_aux/ltmain.sh \ + $(top_srcdir)/build_aux/missing README.md build_aux/ar-lib \ + build_aux/compile build_aux/config.guess build_aux/config.sub \ + build_aux/depcomp build_aux/install-sh build_aux/ltmain.sh \ + build_aux/missing +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + if test -d "$(distdir)"; then \ + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -rf "$(distdir)" \ + || { sleep 5 && rm -rf "$(distdir)"; }; \ + else :; fi +am__post_remove_distdir = $(am__remove_distdir) +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +DIST_TARGETS = dist-gzip +# Exists only to be overridden by the user if desired. +AM_DISTCHECK_DVI_TARGET = dvi +distuninstallcheck_listfiles = find . -type f -print +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BLASFLAGS = @BLASFLAGS@ +BLASLDFLAGS = @BLASLDFLAGS@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CLANGFLAGS = @CLANGFLAGS@ +CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ +CUBLASFLAGS = @CUBLASFLAGS@ +CUBLASLDFLAGS = @CUBLASLDFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEBUGFLAGS = @DEBUGFLAGS@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +ENABLE_ILP64 = @ENABLE_ILP64@ +ETAGS = @ETAGS@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +FGREP = @FGREP@ +FILECMD = @FILECMD@ +GREP = @GREP@ +HDF5_LDFLAGS = @HDF5_LDFLAGS@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LAPACKFLAGS = @LAPACKFLAGS@ +LAPACKLDFLAGS = @LAPACKLDFLAGS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAGMAFLAGS = @MAGMAFLAGS@ +MAGMALDFLAGS = @MAGMALDFLAGS@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MPIFLAGS = @MPIFLAGS@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NVTXFLAGS = @NVTXFLAGS@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OFFLOADFLAGS = @OFFLOADFLAGS@ +OMPFLAGS = @OMPFLAGS@ +OPTFLAGS = @OPTFLAGS@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +RANLIB = @RANLIB@ +REFINEFLAGS = @REFINEFLAGS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USER_INCLUDE = @USER_INCLUDE@ +USER_LDFLAGS = @USER_LDFLAGS@ +VERSION = @VERSION@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +ac_ct_F77 = @ac_ct_F77@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +runstatedir = @runstatedir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +LDADD = libnptm/libnptm.la -L/usr/lib64 ${USER_LDFLAGS} ${HDF5_LDFLAGS} ${LAPACKLDFLAGS} ${BLASLDFLAGS} ${CUBLASLDFLAGS} ${MAGMALDFLAGS} +lib_LTLIBRARIES = libnptm/libnptm.la +libnptm_libnptm_la_SOURCES = ../src/libnptm/algebraic.cpp ../src/libnptm/clu_subs.cpp ../src/libnptm/Commons.cpp ../src/libnptm/Configuration.cpp ../src/libnptm/file_io.cpp ../src/libnptm/inclu_subs.cpp ../src/libnptm/lapack_calls.cpp ../src/libnptm/logging.cpp ../src/libnptm/magma_calls.cpp ../src/libnptm/cublas_calls.cpp ../src/libnptm/Parsers.cpp ../src/libnptm/sph_subs.cpp ../src/libnptm/utils.cpp ../src/libnptm/tfrfme.cpp ../src/libnptm/TransitionMatrix.cpp ../src/libnptm/tra_subs.cpp +@BUILDFORTRAN_FALSE@PROGS = cluster/np_cluster inclusion/np_inclusion sphere/np_sphere trapping/np_trapping testing/test_ParticleDescriptor testing/test_TEDF testing/test_TTMS +@BUILDFORTRAN_TRUE@PROGS = cluster/edfb_clu cluster/clu cluster/np_cluster inclusion/edfb_inclu inclusion/inclu inclusion/np_inclusion sphere/edfb_sph sphere/sph sphere/np_sphere trapping/frfme trapping/lffft trapping/np_trapping testing/test_ParticleDescriptor testing/test_TEDF testing/test_TTMS +@BUILDFORTRAN_TRUE@EDFBCLUSOURCES = ../src/cluster/edfb_clu.f +@BUILDFORTRAN_TRUE@CLUSOURCES = ../src/cluster/clu.f +@BUILDFORTRAN_TRUE@EDFBINCLUSOURCES = ../src/inclusion/edfb_inclu.f +@BUILDFORTRAN_TRUE@INCLUSOURCES = ../src/inclusion/inclu.f +@BUILDFORTRAN_TRUE@EDFBSPHSOURCES = ../src/sphere/edfb_sph.f +@BUILDFORTRAN_TRUE@SPHSOURCES = ../src/sphere/sph.f +@BUILDFORTRAN_TRUE@FRFMESOURCES = ../src/trapping/frfme.f +@BUILDFORTRAN_TRUE@LFFFTSOURCES = ../src/trapping/lffft.f +@BUILDFORTRAN_TRUE@cluster_edfb_clu_SOURCES = $(EDFBCLUSOURCES) +@BUILDFORTRAN_TRUE@cluster_clu_SOURCES = $(CLUSOURCES) +@BUILDFORTRAN_TRUE@inclusion_edfb_inclu_SOURCES = $(EDFBINCLUSOURCES) +@BUILDFORTRAN_TRUE@inclusion_inclu_SOURCES = $(INCLUSOURCES) +@BUILDFORTRAN_TRUE@sphere_edfb_sph_SOURCES = $(EDFBSPHSOURCES) +@BUILDFORTRAN_TRUE@sphere_sph_SOURCES = $(SPHSOURCES) +@BUILDFORTRAN_TRUE@trapping_frfme_SOURCES = $(FRFMESOURCES) +@BUILDFORTRAN_TRUE@trapping_lffft_SOURCES = $(LFFFTSOURCES) +@BUILDFORTRAN_FALSE@cluster_np_cluster_SOURCES = ../src/cluster/np_cluster.cpp ../src/cluster/cluster.cpp +@BUILDFORTRAN_TRUE@cluster_np_cluster_SOURCES = ../src/cluster/np_cluster.cpp ../src/cluster/cluster.cpp +@BUILDFORTRAN_FALSE@inclusion_np_inclusion_SOURCES = ../src/inclusion/np_inclusion.cpp ../src/inclusion/inclusion.cpp +@BUILDFORTRAN_TRUE@inclusion_np_inclusion_SOURCES = ../src/inclusion/np_inclusion.cpp ../src/inclusion/inclusion.cpp +@BUILDFORTRAN_FALSE@sphere_np_sphere_SOURCES = ../src/sphere/np_sphere.cpp ../src/sphere/sphere.cpp +@BUILDFORTRAN_TRUE@sphere_np_sphere_SOURCES = ../src/sphere/np_sphere.cpp ../src/sphere/sphere.cpp +@BUILDFORTRAN_FALSE@trapping_np_trapping_SOURCES = ../src/trapping/np_trapping.cpp ../src/trapping/cfrfme.cpp ../src/trapping/clffft.cpp +@BUILDFORTRAN_TRUE@trapping_np_trapping_SOURCES = ../src/trapping/np_trapping.cpp ../src/trapping/cfrfme.cpp ../src/trapping/clffft.cpp +@BUILDFORTRAN_FALSE@testing_test_ParticleDescriptor_SOURCES = ../src/testing/test_ParticleDescriptor.cpp +@BUILDFORTRAN_TRUE@testing_test_ParticleDescriptor_SOURCES = ../src/testing/test_ParticleDescriptor.cpp +@BUILDFORTRAN_FALSE@testing_test_TEDF_SOURCES = ../src/testing/test_TEDF.cpp +@BUILDFORTRAN_TRUE@testing_test_TEDF_SOURCES = ../src/testing/test_TEDF.cpp +@BUILDFORTRAN_FALSE@testing_test_TTMS_SOURCES = ../src/testing/test_TTMS.cpp +@BUILDFORTRAN_TRUE@testing_test_TTMS_SOURCES = ../src/testing/test_TTMS.cpp +all: all-am + +.SUFFIXES: +.SUFFIXES: .cpp .f .lo .o .obj +am--refresh: Makefile + @: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ + fi; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p \ + || test -f $$p1 \ + ; then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' \ + -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' \ + `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(bindir)" && rm -f $$files + +clean-binPROGRAMS: + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list + +install-libLTLIBRARIES: $(lib_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ + } + +uninstall-libLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ + done + +clean-libLTLIBRARIES: + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) + @list='$(lib_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } +../src/libnptm/$(am__dirstamp): + @$(MKDIR_P) ../src/libnptm + @: > ../src/libnptm/$(am__dirstamp) +../src/libnptm/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) ../src/libnptm/$(DEPDIR) + @: > ../src/libnptm/$(DEPDIR)/$(am__dirstamp) +../src/libnptm/algebraic.lo: ../src/libnptm/$(am__dirstamp) \ + ../src/libnptm/$(DEPDIR)/$(am__dirstamp) +../src/libnptm/clu_subs.lo: ../src/libnptm/$(am__dirstamp) \ + ../src/libnptm/$(DEPDIR)/$(am__dirstamp) +../src/libnptm/Commons.lo: ../src/libnptm/$(am__dirstamp) \ + ../src/libnptm/$(DEPDIR)/$(am__dirstamp) +../src/libnptm/Configuration.lo: ../src/libnptm/$(am__dirstamp) \ + ../src/libnptm/$(DEPDIR)/$(am__dirstamp) +../src/libnptm/file_io.lo: ../src/libnptm/$(am__dirstamp) \ + ../src/libnptm/$(DEPDIR)/$(am__dirstamp) +../src/libnptm/inclu_subs.lo: ../src/libnptm/$(am__dirstamp) \ + ../src/libnptm/$(DEPDIR)/$(am__dirstamp) +../src/libnptm/lapack_calls.lo: ../src/libnptm/$(am__dirstamp) \ + ../src/libnptm/$(DEPDIR)/$(am__dirstamp) +../src/libnptm/logging.lo: ../src/libnptm/$(am__dirstamp) \ + ../src/libnptm/$(DEPDIR)/$(am__dirstamp) +../src/libnptm/magma_calls.lo: ../src/libnptm/$(am__dirstamp) \ + ../src/libnptm/$(DEPDIR)/$(am__dirstamp) +../src/libnptm/cublas_calls.lo: ../src/libnptm/$(am__dirstamp) \ + ../src/libnptm/$(DEPDIR)/$(am__dirstamp) +../src/libnptm/Parsers.lo: ../src/libnptm/$(am__dirstamp) \ + ../src/libnptm/$(DEPDIR)/$(am__dirstamp) +../src/libnptm/sph_subs.lo: ../src/libnptm/$(am__dirstamp) \ + ../src/libnptm/$(DEPDIR)/$(am__dirstamp) +../src/libnptm/utils.lo: ../src/libnptm/$(am__dirstamp) \ + ../src/libnptm/$(DEPDIR)/$(am__dirstamp) +../src/libnptm/tfrfme.lo: ../src/libnptm/$(am__dirstamp) \ + ../src/libnptm/$(DEPDIR)/$(am__dirstamp) +../src/libnptm/TransitionMatrix.lo: ../src/libnptm/$(am__dirstamp) \ + ../src/libnptm/$(DEPDIR)/$(am__dirstamp) +../src/libnptm/tra_subs.lo: ../src/libnptm/$(am__dirstamp) \ + ../src/libnptm/$(DEPDIR)/$(am__dirstamp) +libnptm/$(am__dirstamp): + @$(MKDIR_P) libnptm + @: > libnptm/$(am__dirstamp) + +libnptm/libnptm.la: $(libnptm_libnptm_la_OBJECTS) $(libnptm_libnptm_la_DEPENDENCIES) $(EXTRA_libnptm_libnptm_la_DEPENDENCIES) libnptm/$(am__dirstamp) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(libdir) $(libnptm_libnptm_la_OBJECTS) $(libnptm_libnptm_la_LIBADD) $(LIBS) +../src/cluster/$(am__dirstamp): + @$(MKDIR_P) ../src/cluster + @: > ../src/cluster/$(am__dirstamp) +../src/cluster/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) ../src/cluster/$(DEPDIR) + @: > ../src/cluster/$(DEPDIR)/$(am__dirstamp) +../src/cluster/clu.$(OBJEXT): ../src/cluster/$(am__dirstamp) \ + ../src/cluster/$(DEPDIR)/$(am__dirstamp) +cluster/$(am__dirstamp): + @$(MKDIR_P) cluster + @: > cluster/$(am__dirstamp) + +cluster/clu$(EXEEXT): $(cluster_clu_OBJECTS) $(cluster_clu_DEPENDENCIES) $(EXTRA_cluster_clu_DEPENDENCIES) cluster/$(am__dirstamp) + @rm -f cluster/clu$(EXEEXT) + $(AM_V_F77LD)$(F77LINK) $(cluster_clu_OBJECTS) $(cluster_clu_LDADD) $(LIBS) +../src/cluster/edfb_clu.$(OBJEXT): ../src/cluster/$(am__dirstamp) \ + ../src/cluster/$(DEPDIR)/$(am__dirstamp) + +cluster/edfb_clu$(EXEEXT): $(cluster_edfb_clu_OBJECTS) $(cluster_edfb_clu_DEPENDENCIES) $(EXTRA_cluster_edfb_clu_DEPENDENCIES) cluster/$(am__dirstamp) + @rm -f cluster/edfb_clu$(EXEEXT) + $(AM_V_F77LD)$(F77LINK) $(cluster_edfb_clu_OBJECTS) $(cluster_edfb_clu_LDADD) $(LIBS) +../src/cluster/np_cluster.$(OBJEXT): ../src/cluster/$(am__dirstamp) \ + ../src/cluster/$(DEPDIR)/$(am__dirstamp) +../src/cluster/cluster.$(OBJEXT): ../src/cluster/$(am__dirstamp) \ + ../src/cluster/$(DEPDIR)/$(am__dirstamp) + +cluster/np_cluster$(EXEEXT): $(cluster_np_cluster_OBJECTS) $(cluster_np_cluster_DEPENDENCIES) $(EXTRA_cluster_np_cluster_DEPENDENCIES) cluster/$(am__dirstamp) + @rm -f cluster/np_cluster$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(cluster_np_cluster_OBJECTS) $(cluster_np_cluster_LDADD) $(LIBS) +../src/inclusion/$(am__dirstamp): + @$(MKDIR_P) ../src/inclusion + @: > ../src/inclusion/$(am__dirstamp) +../src/inclusion/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) ../src/inclusion/$(DEPDIR) + @: > ../src/inclusion/$(DEPDIR)/$(am__dirstamp) +../src/inclusion/edfb_inclu.$(OBJEXT): \ + ../src/inclusion/$(am__dirstamp) \ + ../src/inclusion/$(DEPDIR)/$(am__dirstamp) +inclusion/$(am__dirstamp): + @$(MKDIR_P) inclusion + @: > inclusion/$(am__dirstamp) + +inclusion/edfb_inclu$(EXEEXT): $(inclusion_edfb_inclu_OBJECTS) $(inclusion_edfb_inclu_DEPENDENCIES) $(EXTRA_inclusion_edfb_inclu_DEPENDENCIES) inclusion/$(am__dirstamp) + @rm -f inclusion/edfb_inclu$(EXEEXT) + $(AM_V_F77LD)$(F77LINK) $(inclusion_edfb_inclu_OBJECTS) $(inclusion_edfb_inclu_LDADD) $(LIBS) +../src/inclusion/inclu.$(OBJEXT): ../src/inclusion/$(am__dirstamp) \ + ../src/inclusion/$(DEPDIR)/$(am__dirstamp) + +inclusion/inclu$(EXEEXT): $(inclusion_inclu_OBJECTS) $(inclusion_inclu_DEPENDENCIES) $(EXTRA_inclusion_inclu_DEPENDENCIES) inclusion/$(am__dirstamp) + @rm -f inclusion/inclu$(EXEEXT) + $(AM_V_F77LD)$(F77LINK) $(inclusion_inclu_OBJECTS) $(inclusion_inclu_LDADD) $(LIBS) +../src/inclusion/np_inclusion.$(OBJEXT): \ + ../src/inclusion/$(am__dirstamp) \ + ../src/inclusion/$(DEPDIR)/$(am__dirstamp) +../src/inclusion/inclusion.$(OBJEXT): \ + ../src/inclusion/$(am__dirstamp) \ + ../src/inclusion/$(DEPDIR)/$(am__dirstamp) + +inclusion/np_inclusion$(EXEEXT): $(inclusion_np_inclusion_OBJECTS) $(inclusion_np_inclusion_DEPENDENCIES) $(EXTRA_inclusion_np_inclusion_DEPENDENCIES) inclusion/$(am__dirstamp) + @rm -f inclusion/np_inclusion$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(inclusion_np_inclusion_OBJECTS) $(inclusion_np_inclusion_LDADD) $(LIBS) +../src/sphere/$(am__dirstamp): + @$(MKDIR_P) ../src/sphere + @: > ../src/sphere/$(am__dirstamp) +../src/sphere/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) ../src/sphere/$(DEPDIR) + @: > ../src/sphere/$(DEPDIR)/$(am__dirstamp) +../src/sphere/edfb_sph.$(OBJEXT): ../src/sphere/$(am__dirstamp) \ + ../src/sphere/$(DEPDIR)/$(am__dirstamp) +sphere/$(am__dirstamp): + @$(MKDIR_P) sphere + @: > sphere/$(am__dirstamp) + +sphere/edfb_sph$(EXEEXT): $(sphere_edfb_sph_OBJECTS) $(sphere_edfb_sph_DEPENDENCIES) $(EXTRA_sphere_edfb_sph_DEPENDENCIES) sphere/$(am__dirstamp) + @rm -f sphere/edfb_sph$(EXEEXT) + $(AM_V_F77LD)$(F77LINK) $(sphere_edfb_sph_OBJECTS) $(sphere_edfb_sph_LDADD) $(LIBS) +../src/sphere/np_sphere.$(OBJEXT): ../src/sphere/$(am__dirstamp) \ + ../src/sphere/$(DEPDIR)/$(am__dirstamp) +../src/sphere/sphere.$(OBJEXT): ../src/sphere/$(am__dirstamp) \ + ../src/sphere/$(DEPDIR)/$(am__dirstamp) + +sphere/np_sphere$(EXEEXT): $(sphere_np_sphere_OBJECTS) $(sphere_np_sphere_DEPENDENCIES) $(EXTRA_sphere_np_sphere_DEPENDENCIES) sphere/$(am__dirstamp) + @rm -f sphere/np_sphere$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(sphere_np_sphere_OBJECTS) $(sphere_np_sphere_LDADD) $(LIBS) +../src/sphere/sph.$(OBJEXT): ../src/sphere/$(am__dirstamp) \ + ../src/sphere/$(DEPDIR)/$(am__dirstamp) + +sphere/sph$(EXEEXT): $(sphere_sph_OBJECTS) $(sphere_sph_DEPENDENCIES) $(EXTRA_sphere_sph_DEPENDENCIES) sphere/$(am__dirstamp) + @rm -f sphere/sph$(EXEEXT) + $(AM_V_F77LD)$(F77LINK) $(sphere_sph_OBJECTS) $(sphere_sph_LDADD) $(LIBS) +../src/testing/$(am__dirstamp): + @$(MKDIR_P) ../src/testing + @: > ../src/testing/$(am__dirstamp) +../src/testing/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) ../src/testing/$(DEPDIR) + @: > ../src/testing/$(DEPDIR)/$(am__dirstamp) +../src/testing/test_ParticleDescriptor.$(OBJEXT): \ + ../src/testing/$(am__dirstamp) \ + ../src/testing/$(DEPDIR)/$(am__dirstamp) +testing/$(am__dirstamp): + @$(MKDIR_P) testing + @: > testing/$(am__dirstamp) + +testing/test_ParticleDescriptor$(EXEEXT): $(testing_test_ParticleDescriptor_OBJECTS) $(testing_test_ParticleDescriptor_DEPENDENCIES) $(EXTRA_testing_test_ParticleDescriptor_DEPENDENCIES) testing/$(am__dirstamp) + @rm -f testing/test_ParticleDescriptor$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(testing_test_ParticleDescriptor_OBJECTS) $(testing_test_ParticleDescriptor_LDADD) $(LIBS) +../src/testing/test_TEDF.$(OBJEXT): ../src/testing/$(am__dirstamp) \ + ../src/testing/$(DEPDIR)/$(am__dirstamp) + +testing/test_TEDF$(EXEEXT): $(testing_test_TEDF_OBJECTS) $(testing_test_TEDF_DEPENDENCIES) $(EXTRA_testing_test_TEDF_DEPENDENCIES) testing/$(am__dirstamp) + @rm -f testing/test_TEDF$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(testing_test_TEDF_OBJECTS) $(testing_test_TEDF_LDADD) $(LIBS) +../src/testing/test_TTMS.$(OBJEXT): ../src/testing/$(am__dirstamp) \ + ../src/testing/$(DEPDIR)/$(am__dirstamp) + +testing/test_TTMS$(EXEEXT): $(testing_test_TTMS_OBJECTS) $(testing_test_TTMS_DEPENDENCIES) $(EXTRA_testing_test_TTMS_DEPENDENCIES) testing/$(am__dirstamp) + @rm -f testing/test_TTMS$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(testing_test_TTMS_OBJECTS) $(testing_test_TTMS_LDADD) $(LIBS) +../src/trapping/$(am__dirstamp): + @$(MKDIR_P) ../src/trapping + @: > ../src/trapping/$(am__dirstamp) +../src/trapping/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) ../src/trapping/$(DEPDIR) + @: > ../src/trapping/$(DEPDIR)/$(am__dirstamp) +../src/trapping/frfme.$(OBJEXT): ../src/trapping/$(am__dirstamp) \ + ../src/trapping/$(DEPDIR)/$(am__dirstamp) +trapping/$(am__dirstamp): + @$(MKDIR_P) trapping + @: > trapping/$(am__dirstamp) + +trapping/frfme$(EXEEXT): $(trapping_frfme_OBJECTS) $(trapping_frfme_DEPENDENCIES) $(EXTRA_trapping_frfme_DEPENDENCIES) trapping/$(am__dirstamp) + @rm -f trapping/frfme$(EXEEXT) + $(AM_V_F77LD)$(F77LINK) $(trapping_frfme_OBJECTS) $(trapping_frfme_LDADD) $(LIBS) +../src/trapping/lffft.$(OBJEXT): ../src/trapping/$(am__dirstamp) \ + ../src/trapping/$(DEPDIR)/$(am__dirstamp) + +trapping/lffft$(EXEEXT): $(trapping_lffft_OBJECTS) $(trapping_lffft_DEPENDENCIES) $(EXTRA_trapping_lffft_DEPENDENCIES) trapping/$(am__dirstamp) + @rm -f trapping/lffft$(EXEEXT) + $(AM_V_F77LD)$(F77LINK) $(trapping_lffft_OBJECTS) $(trapping_lffft_LDADD) $(LIBS) +../src/trapping/np_trapping.$(OBJEXT): \ + ../src/trapping/$(am__dirstamp) \ + ../src/trapping/$(DEPDIR)/$(am__dirstamp) +../src/trapping/cfrfme.$(OBJEXT): ../src/trapping/$(am__dirstamp) \ + ../src/trapping/$(DEPDIR)/$(am__dirstamp) +../src/trapping/clffft.$(OBJEXT): ../src/trapping/$(am__dirstamp) \ + ../src/trapping/$(DEPDIR)/$(am__dirstamp) + +trapping/np_trapping$(EXEEXT): $(trapping_np_trapping_OBJECTS) $(trapping_np_trapping_DEPENDENCIES) $(EXTRA_trapping_np_trapping_DEPENDENCIES) trapping/$(am__dirstamp) + @rm -f trapping/np_trapping$(EXEEXT) + $(AM_V_CXXLD)$(CXXLINK) $(trapping_np_trapping_OBJECTS) $(trapping_np_trapping_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + -rm -f ../src/cluster/*.$(OBJEXT) + -rm -f ../src/inclusion/*.$(OBJEXT) + -rm -f ../src/libnptm/*.$(OBJEXT) + -rm -f ../src/libnptm/*.lo + -rm -f ../src/sphere/*.$(OBJEXT) + -rm -f ../src/testing/*.$(OBJEXT) + -rm -f ../src/trapping/*.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@../src/cluster/$(DEPDIR)/cluster.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/cluster/$(DEPDIR)/np_cluster.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/inclusion/$(DEPDIR)/inclusion.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/inclusion/$(DEPDIR)/np_inclusion.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/libnptm/$(DEPDIR)/Commons.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/libnptm/$(DEPDIR)/Configuration.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/libnptm/$(DEPDIR)/Parsers.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/libnptm/$(DEPDIR)/TransitionMatrix.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/libnptm/$(DEPDIR)/algebraic.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/libnptm/$(DEPDIR)/clu_subs.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/libnptm/$(DEPDIR)/cublas_calls.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/libnptm/$(DEPDIR)/file_io.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/libnptm/$(DEPDIR)/inclu_subs.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/libnptm/$(DEPDIR)/lapack_calls.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/libnptm/$(DEPDIR)/logging.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/libnptm/$(DEPDIR)/magma_calls.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/libnptm/$(DEPDIR)/sph_subs.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/libnptm/$(DEPDIR)/tfrfme.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/libnptm/$(DEPDIR)/tra_subs.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/libnptm/$(DEPDIR)/utils.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/sphere/$(DEPDIR)/np_sphere.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/sphere/$(DEPDIR)/sphere.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/testing/$(DEPDIR)/test_ParticleDescriptor.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/testing/$(DEPDIR)/test_TEDF.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/testing/$(DEPDIR)/test_TTMS.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/trapping/$(DEPDIR)/cfrfme.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/trapping/$(DEPDIR)/clffft.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@../src/trapping/$(DEPDIR)/np_trapping.Po@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.cpp.o: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< + +.cpp.obj: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.cpp.lo: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< + +.f.o: + $(AM_V_F77)$(F77COMPILE) -c -o $@ $< + +.f.obj: + $(AM_V_F77)$(F77COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.f.lo: + $(AM_V_F77)$(LTF77COMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + -rm -rf ../src/libnptm/.libs ../src/libnptm/_libs + -rm -rf cluster/.libs cluster/_libs + -rm -rf inclusion/.libs inclusion/_libs + -rm -rf libnptm/.libs libnptm/_libs + -rm -rf sphere/.libs sphere/_libs + -rm -rf testing/.libs testing/_libs + -rm -rf trapping/.libs trapping/_libs + +distclean-libtool: + -rm -f libtool config.lt + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscope: cscope.files + test ! -s cscope.files \ + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) +clean-cscope: + -rm -f cscope.files +cscope.files: clean-cscope cscopelist +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + $(am__remove_distdir) + test -d "$(distdir)" || mkdir "$(distdir)" + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + -test -n "$(am__skip_mode_fix)" \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r "$(distdir)" +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz + $(am__post_remove_distdir) + +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 + $(am__post_remove_distdir) + +dist-lzip: distdir + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz + $(am__post_remove_distdir) + +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz + $(am__post_remove_distdir) + +dist-zstd: distdir + tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst + $(am__post_remove_distdir) + +dist-tarZ: distdir + @echo WARNING: "Support for distribution archives compressed with" \ + "legacy program 'compress' is deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__post_remove_distdir) + +dist-shar: distdir + @echo WARNING: "Support for shar distribution archives is" \ + "deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 + shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz + $(am__post_remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__post_remove_distdir) + +dist dist-all: + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' + $(am__post_remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lz*) \ + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + *.tar.zst*) \ + zstd -dc $(distdir).tar.zst | $(am__untar) ;;\ + esac + chmod -R a-w $(distdir) + chmod u+w $(distdir) + mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build/sub \ + && ../../configure \ + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + --srcdir=../.. --prefix="$$dc_install_base" \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 + $(am__post_remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @test -n '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: trying to run $@ with an empty' \ + '$$(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + $(am__cd) '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-am +all-am: Makefile $(PROGRAMS) $(LTLIBRARIES) +install-binPROGRAMS: install-libLTLIBRARIES + +installdirs: + for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f ../src/cluster/$(DEPDIR)/$(am__dirstamp) + -rm -f ../src/cluster/$(am__dirstamp) + -rm -f ../src/inclusion/$(DEPDIR)/$(am__dirstamp) + -rm -f ../src/inclusion/$(am__dirstamp) + -rm -f ../src/libnptm/$(DEPDIR)/$(am__dirstamp) + -rm -f ../src/libnptm/$(am__dirstamp) + -rm -f ../src/sphere/$(DEPDIR)/$(am__dirstamp) + -rm -f ../src/sphere/$(am__dirstamp) + -rm -f ../src/testing/$(DEPDIR)/$(am__dirstamp) + -rm -f ../src/testing/$(am__dirstamp) + -rm -f ../src/trapping/$(DEPDIR)/$(am__dirstamp) + -rm -f ../src/trapping/$(am__dirstamp) + -rm -f cluster/$(am__dirstamp) + -rm -f inclusion/$(am__dirstamp) + -rm -f libnptm/$(am__dirstamp) + -rm -f sphere/$(am__dirstamp) + -rm -f testing/$(am__dirstamp) + -rm -f trapping/$(am__dirstamp) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \ + clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f ../src/cluster/$(DEPDIR)/cluster.Po + -rm -f ../src/cluster/$(DEPDIR)/np_cluster.Po + -rm -f ../src/inclusion/$(DEPDIR)/inclusion.Po + -rm -f ../src/inclusion/$(DEPDIR)/np_inclusion.Po + -rm -f ../src/libnptm/$(DEPDIR)/Commons.Plo + -rm -f ../src/libnptm/$(DEPDIR)/Configuration.Plo + -rm -f ../src/libnptm/$(DEPDIR)/Parsers.Plo + -rm -f ../src/libnptm/$(DEPDIR)/TransitionMatrix.Plo + -rm -f ../src/libnptm/$(DEPDIR)/algebraic.Plo + -rm -f ../src/libnptm/$(DEPDIR)/clu_subs.Plo + -rm -f ../src/libnptm/$(DEPDIR)/cublas_calls.Plo + -rm -f ../src/libnptm/$(DEPDIR)/file_io.Plo + -rm -f ../src/libnptm/$(DEPDIR)/inclu_subs.Plo + -rm -f ../src/libnptm/$(DEPDIR)/lapack_calls.Plo + -rm -f ../src/libnptm/$(DEPDIR)/logging.Plo + -rm -f ../src/libnptm/$(DEPDIR)/magma_calls.Plo + -rm -f ../src/libnptm/$(DEPDIR)/sph_subs.Plo + -rm -f ../src/libnptm/$(DEPDIR)/tfrfme.Plo + -rm -f ../src/libnptm/$(DEPDIR)/tra_subs.Plo + -rm -f ../src/libnptm/$(DEPDIR)/utils.Plo + -rm -f ../src/sphere/$(DEPDIR)/np_sphere.Po + -rm -f ../src/sphere/$(DEPDIR)/sphere.Po + -rm -f ../src/testing/$(DEPDIR)/test_ParticleDescriptor.Po + -rm -f ../src/testing/$(DEPDIR)/test_TEDF.Po + -rm -f ../src/testing/$(DEPDIR)/test_TTMS.Po + -rm -f ../src/trapping/$(DEPDIR)/cfrfme.Po + -rm -f ../src/trapping/$(DEPDIR)/clffft.Po + -rm -f ../src/trapping/$(DEPDIR)/np_trapping.Po + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-libtool distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-binPROGRAMS install-libLTLIBRARIES + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f ../src/cluster/$(DEPDIR)/cluster.Po + -rm -f ../src/cluster/$(DEPDIR)/np_cluster.Po + -rm -f ../src/inclusion/$(DEPDIR)/inclusion.Po + -rm -f ../src/inclusion/$(DEPDIR)/np_inclusion.Po + -rm -f ../src/libnptm/$(DEPDIR)/Commons.Plo + -rm -f ../src/libnptm/$(DEPDIR)/Configuration.Plo + -rm -f ../src/libnptm/$(DEPDIR)/Parsers.Plo + -rm -f ../src/libnptm/$(DEPDIR)/TransitionMatrix.Plo + -rm -f ../src/libnptm/$(DEPDIR)/algebraic.Plo + -rm -f ../src/libnptm/$(DEPDIR)/clu_subs.Plo + -rm -f ../src/libnptm/$(DEPDIR)/cublas_calls.Plo + -rm -f ../src/libnptm/$(DEPDIR)/file_io.Plo + -rm -f ../src/libnptm/$(DEPDIR)/inclu_subs.Plo + -rm -f ../src/libnptm/$(DEPDIR)/lapack_calls.Plo + -rm -f ../src/libnptm/$(DEPDIR)/logging.Plo + -rm -f ../src/libnptm/$(DEPDIR)/magma_calls.Plo + -rm -f ../src/libnptm/$(DEPDIR)/sph_subs.Plo + -rm -f ../src/libnptm/$(DEPDIR)/tfrfme.Plo + -rm -f ../src/libnptm/$(DEPDIR)/tra_subs.Plo + -rm -f ../src/libnptm/$(DEPDIR)/utils.Plo + -rm -f ../src/sphere/$(DEPDIR)/np_sphere.Po + -rm -f ../src/sphere/$(DEPDIR)/sphere.Po + -rm -f ../src/testing/$(DEPDIR)/test_ParticleDescriptor.Po + -rm -f ../src/testing/$(DEPDIR)/test_TEDF.Po + -rm -f ../src/testing/$(DEPDIR)/test_TTMS.Po + -rm -f ../src/trapping/$(DEPDIR)/cfrfme.Po + -rm -f ../src/trapping/$(DEPDIR)/clffft.Po + -rm -f ../src/trapping/$(DEPDIR)/np_trapping.Po + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-binPROGRAMS uninstall-libLTLIBRARIES + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles am--refresh check \ + check-am clean clean-binPROGRAMS clean-cscope clean-generic \ + clean-libLTLIBRARIES clean-libtool cscope cscopelist-am ctags \ + ctags-am dist dist-all dist-bzip2 dist-gzip dist-lzip \ + dist-shar dist-tarZ dist-xz dist-zip dist-zstd distcheck \ + distclean distclean-compile distclean-generic \ + distclean-libtool distclean-tags distcleancheck distdir \ + distuninstallcheck dvi dvi-am html html-am info info-am \ + install install-am install-binPROGRAMS install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-libLTLIBRARIES install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \ + uninstall-libLTLIBRARIES + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/build/configure_ac.bak b/build/configure_ac.bak new file mode 100644 index 0000000000000000000000000000000000000000..50c600be6126b86d88d24f7a79d0a646705de383 --- /dev/null +++ b/build/configure_ac.bak @@ -0,0 +1,785 @@ +# CAPABILITY TESTING MACROS +m4_define( + [M4_DETECT_HDF5], + [ + if test "x${HDF5_INCLUDE}${HDF5_LIB}" = "x"; then + pkg-config --version > /dev/null + use_pkg_config=$? + if test "x$use_pkg_config" = "x0"; then + declare -a pkg_array=$(pkg-config --list-all | grep hdf5-serial) + for i in "${pkg_array[[@]]}"; do echo "$i" | cut --delimiter=" " -f1; done | grep hdf5-serial > /dev/null + result=$? + if test "x$result" = "x0"; then + cflags=$(pkg-config --cflags-only-I hdf5-serial) + export HDF5_INCLUDE=$(echo "${cflags:2}") + ldflags=$(pkg-config --libs-only-L hdf5-serial) + export HDF5_LIB=$(echo "${ldflags:2}") + else + declare -a pkg_array=$(pkg-config --list-all | grep hdf5) + for i in "${pkg_array[[@]]}"; do echo "$i" | cut --delimiter=" " -f1; done | grep hdf5 > /dev/null + result=$? + if test "x$result" = "x0"; then + cflags=$(pkg-config --cflags-only-I hdf5) + export HDF5_INCLUDE=$(echo "${cflags:2}") + ldflags=$(pkg-config --libs-only-L hdf5) + export HDF5_LIB=$(echo "${ldflags:2}") + fi + fi + else + export -p | grep HDF5_ROOT > /dev/null + result=$? + if test "x$result" = "x0"; then + if test "x$HDF5_INCLUDE" = "x"; then + export HDF5_INCLUDE=${HDF5_ROOT}/include + fi + if test "x$HDF5_LIB" = "x"; then + export HDF5_LIB=${HDF5_ROOT}/lib + fi + fi + export -p | grep HDF5_DIR > /dev/null + result=$? + if test "x$result" = "x0"; then + if test "x$HDF5_INCLUDE" = "x"; then + export HDF5_INCLUDE=${HDF5_DIR}/include + fi + if test "x$HDF5_LIB" = "x"; then + export HDF5_LIB=${HDF5_DIR}/lib + fi + fi + if test "x$HDF5_INCLUDE" = "x"; then + export HDF5_INCLUDE="/usr/include/hdf5/serial" + fi + if test "x$HDF5_LIB" = "x"; then + export HDF5_LIB="/usr/lib/x86_64-linux-gnu/hdf5/serial" + fi + fi + fi + ] +) + +m4_define( + [M4_HDF5_LIB], + [ + cat > nptm_test_hdf5.cpp < +int main(int argc, char **argv) { + hid_t file_id = 0; + herr_t status = H5Iis_valid(file_id); + return (int)status; +} +EOF + $CXX -o nptm_test_hdf5 nptm_test_hdf5.cpp -I$HDF5_INCLUDE -L$HDF5_LIB -lhdf5 > /dev/null 2>>error.log + export TEST_HDF5_LIB=$? + rm nptm_test_hdf5.cpp + if test "x$TEST_HDF5_LIB" = "x0"; then + rm nptm_test_hdf5 + fi + ] +) + +m4_define( + [M4_DETECT_LAPACK], + [ + if test "x$ENABLE_ILP64" = "xyes"; then + # 64-bit indices are enabled + LAPACK_ILP64_FLAG="-DLAPACK_ILP64 -DUSE_ILP64" + LAPACK_ILP64_LDSPEC="_ilp64" + LAPACK_LDSPEC="64" + MKL_BUILD="mkl-dynamic-ilp64-gomp" + else + # 64-bit indices are disabled + LAPACK_ILP64_FLAG="" + LAPACK_ILP64_LDSPEC="_lp64" + LAPACK_LDSPEC="" + MKL_BUILD="mkl-dynamic-lp64-gomp" + fi # end of 64-bit decision tree + BLASLDFLAGS="" + pkg-config --version > /dev/null + use_pkg_config=$? + if test "x$use_pkg_config" = "x0"; then + # pkg-config is available + declare -a pkg_array=$(pkg-config --list-all | grep ${MKL_BUILD}) + for i in "${pkg_array[[@]]}"; do echo "$i" | cut --delimiter=" " -f1; done | grep ${MKL_BUILD} > /dev/null + result=$? + if test "x$result" = "x0"; then + # MKL was found + MKL_INCLUDE=$(pkg-config --cflags-only-I ${MKL_BUILD}) + export LAPACKFLAGS="-DUSE_LAPACK -DUSE_MKL ${LAPACK_ILP64_FLAG} ${MKL_INCLUDE}" + export LAPACKLDFLAGS=$(pkg-config --libs ${MKL_BUILD}) + else + # MKL was not found, so configuration searches for BLAS + declare -a pkg_array=$(pkg-config --list-all | grep blas${LAPACK_LDSPEC}) + for i in "${pkg_array[[@]]}"; do echo "$i" | cut --delimiter=" " -f1; done | grep blas${LAPACK_LDSPEC} > /dev/null + result=$? + if test "x$result" = "x0"; then + # BLAS was found + export BLASLDFLAGS=$(pkg-config --libs blas${LAPACK_LDSPEC}) + else + declare -a pkg_array=$(pkg-config --list-all | grep openblas${LAPACK_LDSPEC}) + for i in "${pkg_array[[@]]}"; do echo "$i" | cut --delimiter=" " -f1; done | grep openblas${LAPACK_LDSPEC} > /dev/null + result=$? + if test "x$result" = "x0"; then + # OPENBLAS was found + export BLASLDFLAGS=$(pkg-config --libs openblas${LAPACK_LDSPEC}) + fi + fi # end of BLAS decision tree + # search for LAPACKe + declare -a pkg_array=$(pkg-config --list-all | grep lapacke${LAPACK_LDSPEC}) + for i in "${pkg_array[[@]]}"; do echo "$i" | cut --delimiter=" " -f1; done | grep lapacke${LAPACK_LDSPEC} > /dev/null + result=$? + if test "x$result" = "x0"; then + # LAPACKe was found + LAPACK_INCLUDE=$(pkg-config --cflags-only-I lapacke${LAPACK_LDSPEC}) + export LAPACKFLAGS="-DUSE_LAPACK ${LAPACK_ILP64_FLAG} ${LAPACK_INCLUDE}" + export LAPACKLDFLAGS=$(pkg-config --libs lapacke${LAPACK_LDSPEC}) + fi # end of LAPACKe decision tree + if test "x${LAPACKFLAGS}${LAPACKLDFLAGS}" = "x"; then + # LAPACKe was not found, so configuration searches for LAPACK + declare -a pkg_array=$(pkg-config --list-all | grep lapack${LAPACK_LDSPEC}) + for i in "${pkg_array[[@]]}"; do echo "$i" | cut --delimiter=" " -f1; done | grep lapack${LAPACK_LDSPEC} > /dev/null + result=$? + if test "x$result" = "x0"; then + # LAPACK was found + LAPACK_INCLUDE=$(pkg-config --cflags-only-I lapack${LAPACK_LDSPEC}) + export LAPACKFLAGS="-DUSE_LAPACK ${LAPACK_ILP64_FLAG} ${LAPACK_INCLUDE}" + export LAPACKLDFLAGS=$(pkg-config --libs lapack${LAPACK_LDSPEC}) + fi # end of LAPACK decision tree + fi # end of LAPACKe decision tree + fi # end of MKL decision tree + else + # pkg-config is not available + export -p | grep MKL > /dev/null + MKL_DEF=$? + if test "x$MKL_DEF" = "x0"; then + export LAPACKFLAGS="-DUSE_LAPACK -DUSE_MKL ${LAPACK_ILP64_FLAG} -I{MKLROOT}/include" + export LAPACKLDFLAGS="-L${MKLROOT}/lib -Wl,--no-as-needed -lmkl_intel${LAPACK_ILP64_LDSPEC} -lmkl_gnu_thread -lmkl_core -lgomp -lpthread -lm -ldl" + else + if test -f /usr/include/lapacke.h; then + export LAPACKFLAGS="-DUSE_LAPACK ${LAPACK_ILP64_FLAG}" + export LAPACKLDFLAGS="-llapacke${LAPACK_LDSPEC}" + fi + fi + fi + ] +) + +m4_define( + [M4_DETECT_CUBLAS], + [ + pkg-config --version > /dev/null + use_pkg_config=$? + if test "x${CUDAFLAGS}${CUDALDFLAGS}" = "x"; then + if test "x$use_pkg_config" = "x0"; then + # pkg-config is available + declare -a pkg_array=$(pkg-config --list-all | grep cublas) + for i in "${pkg_array[[@]]}"; do echo "$i" | cut --delimiter=" " -f1; done | grep cublas > /dev/null + result=$? + if test "x$result" = "x0"; then + # CUBLAS detected + cuda_pkg=$(for i in "${pkg_array[[@]]}"; do echo "$i" | cut --delimiter=" " -f1; done | grep cublas) + CUDAFLAGS=$(pkg-config --cflags ${cuda_pkg}) + CUDALDFLAGS=$(pkg-config --libs ${cuda_pkg}) + fi # end of CUBLAS runtime decision tree + declare -a pkg_array=$(pkg-config --list-all | grep cudart) + for i in "${pkg_array[[@]]}"; do echo "$i" | cut --delimiter=" " -f1; done | grep cudart > /dev/null + result=$? + if test "x$result" = "x0"; then + # CUDA runtime detected + cuda_pkg=$(for i in "${pkg_array[[@]]}"; do echo "$i" | cut --delimiter=" " -f1; done | grep cudart) + CUDAFLAGS=$(pkg-config --cflags ${cuda_pkg}) + CUDALDFLAGS=$(pkg-config --libs ${cuda_pkg}) + fi # end of CUDA runtime decision tree + echo $CUDALDFLAGS | grep cublas > /dev/null + cudart_check=$? + if test "x${cudart_check}" != "x0"; then + CUDALDFLAGS="$CUDALDFLAGS -lcublas" + fi + echo $CUDALDFLAGS | grep cudart > /dev/null + cudart_check=$? + if test "x${cudart_check}" != "x0"; then + CUDALDFLAGS="$CUDALDFLAGS -lcudart" + fi + else + # pkg-config is not available + if test -f /usr/local/cuda/include/cuda.h; then + CUDAFLAGS="-I/usr/local/cuda/include" + CUDALDFLAGS="-L/usr/local/cuda/lib64 -lcublas -lcudart" + elif test -f /usr/include/cuda.h; then + CUDAFLAGS="-I/usr/include" + CUDALDFLAGS="-lcublas -lcudart" + elif test "x$CUDA_HOME" != "x"; then + CUDAFLAGS="-I${CUDA_HOME}/include" + CUDALDFLAGS="-L${CUDA_HOME}/lib64 -lcublas -lcudart" + fi + fi # end of pkg-config decision tree + fi # end of CUDAFLAGS user override protection + if test "x $CUDAFLAGS $CUDALDFLAGS" != "x"; then + # somehow CUDAFLAGS or CUDALDFLAGS was defined + export CUDAFLAGS + export CUBLASFLAGS="-DUSE_CUBLAS ${CUDAFLAGS}" + export CUDALDFLAGS + export CUBLASLDFLAGS="${CUDALDFLAGS}" + fi + ] +) + +m4_define( + [M4_DETECT_MAGMA], + [ + if test "x$ENABLE_ILP64" = "xyes"; then + # 64-bit indices are enabled + MAGMA_ILP64_FLAG="-DMAGMA_ILP64" + MAGMA_LD_SPEC="64" + else + # 64-bit indices are disabled + MAGMA_ILP64_FLAG="" + MAGMA_LD_SPEC="" + fi # end of 64-bit decision tree + pkg-config --version > /dev/null + use_pkg_config=$? + if test "x${CUDAFLAGS}" = "x"; then + if test "x$use_pkg_config" = "x0"; then + # pkg-config is available + declare -a pkg_array=$(pkg-config --list-all | grep cudart) + for i in "${pkg_array[[@]]}"; do echo "$i" | cut --delimiter=" " -f1; done | grep cudart > /dev/null + result=$? + if test "x$result" = "x0"; then + # CUDA runtime detected + cuda_pkg=$(for i in "${pkg_array[[@]]}"; do echo "$i" | cut --delimiter=" " -f1; done | grep cudart) + CUDAFLAGS=$(pkg-config --cflags ${cuda_pkg}) + fi # end of CUDA runtime decision tree + else + # pkg-config is not available + if test -f /usr/local/cuda/include/cuda.h; then + CUDAFLAGS="-I/usr/local/cuda/include" + elif test -f /usr/include/cuda.h; then + CUDAFLAGS="-I/usr/include" + elif test "x$CUDA_HOME" != "x"; then + CUDAFLAGS="-I${CUDA_HOME}/include" + fi + fi # end of pkg-config decision tree + fi # end of CUDAFLAGS user override protection + if test "x${MAGMA_ROOT}${MAGMA_HOME}${MAGMA_DIR}" = "x"; then + # MAGMA environment is not defined + if test "x$use_pkg_config" = "x0"; then + # use pkg-config to search for MAGMA + declare -a pkg_array=$(pkg-config --list-all | grep magma) + for i in "${pkg_array[[@]]}"; do echo "$i" | cut --delimiter=" " -f1; done | grep magma > /dev/null + result=$? + if test "x$result" = "x0"; then + # MAGMA was found + magma_pkg=$(for i in "${pkg_array[[@]]}"; do echo "$i" | cut --delimiter=" " -f1; done | grep magma) + MAGMA_INCLUDE=$(pkg-config --cflags-only-I ${magma_pkg}) + MAGMA_LIBS_DIR=$(pkg-config --libs-only-L ${magma_pkg}) + export MAGMAFLAGS="-DUSE_MAGMA ${MAGMA_ILP64_FLAG} $CUDAFLAGS ${MAGMA_INCLUDE}" + export MAGMALDFLAGS="${MAGMA_LIBS_DIR} -lmagma" + fi # end of MAGMA decision tree + else + # search for MAGMA in some standard folders + if test "x$CUDAFLAGS" != "x"; then + if test -f /usr/include/magma_v2.h; then + export MAGMAFLAGS="-DUSE_MAGMA ${MAGMA_ILP64_FLAG} $CUDAFLAGS -I/usr/include" + export MAGMALDFLAGS="-lmagma" + elif test -f /usr/local/include/magma_v2.h; then + export MAGMAFLAGS="-DUSE_MAGMA ${MAGMA_ILP64_FLAG} $CUDAFLAGS -I/usr/local/include" + export MAGMALDFLAGS="-lmagma" + fi + fi + fi # end of pkg-config decision tree + else + # MAGMA environment is defined, so configuration makes sure that MAGMA_ROOT is defined too + if test "x${MAGMA_HOME}" != "x"; then + MAGMA_ROOT="${MAGMA_HOME}" + elif test "x${MAGMA_DIR}" != "x"; then + MAGMA_ROOT="${MAGMA_DIR}" + fi + export MAGMAFLAGS="-DUSE_MAGMA -DMAGMA_ILP64 $CUDAFLAGS -I${MAGMA_ROOT}/include" + export MAGMALDFLAGS="-L${MAGMA_ROOT}/lib -lmagma" + fi + ] +) + +m4_define( + [M4_TEST_MPI], + [ + cat > np_test_mpi.cpp < +#endif +int main(int argc, char** argv) { + int ierr = MPI_Init(&argc, &argv); + MPI_Finalize(); + return ierr; +} +EOF + $CXX -c np_test_mpi.cpp > /dev/null 2>&1 + export CXX_IS_MPI=$? + rm np_test_mpi.cpp + if test "x$CXX_IS_MPI" = "x0"; then + rm np_test_mpi.o + fi + ] +) + +m4_define( + [M4_TEST_OFFLOAD], + [ + cat > np_test_offload.cpp < +#pragma omp requires unified_shared_memory + +#pragma omp begin declare target device_type(any) +void fill_with_ones(int *array) { +#pragma omp target teams distribute parallel for + for (int i = 0; i < 1000; i++) { + for (int j = 0; j < 1000; j++) { + array[[(1000 * i) + j]] = 1; + } + } +} +#pragma omp end declare target +int main(int argc, char** argv) { + int *numbers = new int[[1000000]](); + fill_with_ones(numbers); + delete[[]] numbers; + return 0; +} +EOF + $CXX -fcf-protection=check -foffload=default -foffload=nvptx-none="-O3 -ggdb -fopt-info -lm -latomic -mgomp" -fopenmp -c np_test_offload.cpp > /dev/null 2>&1 + export CXX_SUPPORTS_OFFLOAD=$? + rm np_test_offload.cpp + if test "x$CXX_SUPPORTS_OFFLOAD" = "x0"; then + rm np_test_offload.o + fi + ] +) +# END CAPABILITY TESTING MACROS + +# autoconf setup initialization +AC_INIT([np_tmcode],[8.04],[giovanni.lamura@inaf.it]) + +# Folder structure safety check +AC_CONFIG_SRCDIR([../src/libnptm/TransitionMatrix.cpp]) +AC_CONFIG_FILES([Makefile]) + +# Auxiliary build folder +AC_CONFIG_AUX_DIR([build_aux]) + +# automake initialization +AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) + +# Set the default library policy +AC_DISABLE_SHARED +AC_DISABLE_SHARED([]) +AC_ENABLE_STATIC +AC_ENABLE_STATIC([]) + +# Compiler detection +AM_PROG_AR +AC_ARG_ENABLE( + [mpi], + [AS_HELP_STRING([--enable-mpi], [enable MPI compilation [default=auto]])], + [ + if test "x$enableval" = "xno"; then + if test "x$CXX" = "x"; then + AC_PROG_CXX([g++ clang++]) + else + AC_PROG_CXX([$CXX]) + fi + AC_MSG_NOTICE([Using $CXX]) + AC_SUBST([MPIFLAGS], [""]) + elif test "x$enableval" = "xauto"; then + if test "x$CXX" = "x"; then + AC_PROG_CXX([mpicxx.openmpi mpicxx.mpich mpic++.openmpi mpiCC.openmpi]) + if test "x$CXX" != "x"; then + AC_SUBST([MPIFLAGS], [-DUSE_MPI]) + else + AC_PROG_CXX([g++ clang++]) + AC_SUBST([MPIFLAGS], [""]) + fi + else + # Test if given CXX defines mpi.h + M4_TEST_MPI + fi + elif test "x$enableval" = "xyes"; then + if test "x$CXX" = "x"; then + AC_PROG_CXX([mpicxx.openmpi mpicxx.mpich mpic++.openmpi mpiCC.openmpi]) + if test "x$CXX" != "x"; then + AC_SUBST([MPIFLAGS], [-DUSE_MPI]) + else + AC_MSG_ERROR([MPI was requested, but no MPI compiler detected!]) + fi + else + # Test if given CXX defines mpi.h + M4_TEST_MPI + if test "x$CXX_IS_MPI" != "x0"; then + AC_MSG_ERROR([MPI was requested, but $CXX is not a MPI compiler!]) + fi + fi + fi + ], + [ + if test "x$CXX" = "x"; then + AC_PROG_CXX([mpicxx.openmpi mpicxx.mpich mpic++.openmpi mpiCC.openmpi]) + if test "x$CXX" != "x"; then + AC_SUBST([MPIFLAGS], [-DUSE_MPI]) + else + AC_PROG_CXX([g++ clang++]) + AC_SUBST([MPIFLAGS], [""]) + AC_MSG_NOTICE([Using $CXX]) + fi + else + AC_PROG_CXX([$CXX]) + M4_TEST_MPI + if test "x$CXX_IS_MPI" = "x0"; then + AC_SUBST([MPIFLAGS], [-DUSE_MPI]) + fi + fi + ] +) +AC_PROG_CXX([$CXX]) +AC_PROG_F77([$F77 gfortran f77]) +# Check whether the compiler is clang++ (needs additional flags) +CXX_IS_CLANG=$($CXX --version | grep clang) +AS_IF( + [test "x$CXX_IS_CLANG" = "x0"], + [AC_SUBST([CLANGFLAGS], [-stdlib=libstdc++])], + [AC_SUBST([CLANGFLAGS], [""])] +) + +# Libtool initialization +LT_INIT + +# Environment setup +M4_DETECT_HDF5 + +AS_IF( + [test "x${HDF5_INCLUDE}" != "x"], + [AC_MSG_NOTICE([HDF5 headers found in ${HDF5_INCLUDE}])], + [AC_MSG_ERROR([HDF5 headers not found!])] +) +AS_IF( + [test "x${HDF5_LIB}" != "x"], + [AC_MSG_NOTICE([HDF5 libraries found in ${HDF5_LIB}])], + [AC_MSG_ERROR([HDF5 libraries not found!])] +) + +# Check for required libraries +M4_HDF5_LIB +AS_IF( + [test "x$TEST_HDF5_LIB" = "x0"], + [AC_SUBST([HDF5_LDFLAGS], ["-L${HDF5_LIB} -lhdf5"])], + [AC_MSG_ERROR(["HDF5 library not working!"])] +) + +# Configure the optional features +AC_ARG_ENABLE( + [debug], + [AS_HELP_STRING([--enable-debug=FEATURE], [enable debug of FEATURE [default=no]])], + [ + if test "x$enableval" = "xAM"; then + AC_SUBST([DEBUGFLAGS], ["-DDEBUG_AM"]) + fi + ], + [ + AC_SUBST([DEBUGFLAGS], [""]) + ] +) + +AC_ARG_ENABLE( + [ilp64], + [AS_HELP_STRING([--enable-ilp64], [enable 64-bit indexing [default=yes]])], + [ + if test "x$enableval" = "xno"; then + AC_SUBST([ENABLE_ILP64], [""]) + else + AC_SUBST([ENABLE_ILP64], ["yes"]) + fi + ], + [ + AC_SUBST([ENABLE_ILP64], ["yes"]) + ] +) + +AC_ARG_ENABLE( + [fortran], + [AS_HELP_STRING([--enable-fortran], [enable legacy FORTRAN compilation [default=auto]])], + [ + if test "x$enableval" = "xno"; then + export BUILDF="false" + AC_MSG_NOTICE([Disabling FORTRAN compilation]) + elif test "x$enableval" = "xyes"; then + if test "x$F77" != "x"; then + export BUILDF="true" + AC_MSG_NOTICE([Enabling FORTRAN compilation]) + else + AC_MSG_ERROR([FORTRAN was requested, but no FORTRAN compiler was found!]) + fi + elif test "x$enableval" = "xauto"; then + if test "x$F77" != "x"; then + export BUILDF="true" + AC_MSG_NOTICE([Enabling FORTRAN compilation]) + else + export BUILDF="false" + AC_MSG_NOTICE([Disabling FORTRAN compilation]) + fi + fi + ], + [ + if test "x$F77" != "x"; then + export BUILDF="true" + AC_MSG_NOTICE([Enabling FORTRAN compilation]) + else + export BUILDF="false" + AC_MSG_NOTICE([Disabling FORTRAN compilation]) + fi + ] +) +AM_CONDITIONAL([BUILDFORTRAN], [test "x$BUILDF" = "xtrue"]) + +AC_ARG_ENABLE( + [offload], + [AS_HELP_STRING([--enable-offload], [enable target offloading (requires g++ version >= 13) [default=auto]])], + [ + if test "x$enableval" != "xno"; then + M4_TEST_OFFLOAD + if test "x$CXX_SUPPORTS_OFFLOAD" = "x0"; then + AC_MSG_NOTICE([Enabling offload.]) + AC_SUBST([OFFLOADFLAGS], ["-fcf-protection=check -foffload=default -foffload=nvptx-none=\"-O3 -ggdb -fopt-info -lm -latomic -mgomp\" -fopenmp -DUSE_TARGET_OFFLOAD "]) + else + AC_MSG_ERROR([Target offload was requested, but it is not supported!]) + fi + else + AC_MSG_NOTICE([Disabling offload.]) + AC_SUBST([OFFLOADFLAGS], [""]) + fi + ], + [ + M4_TEST_OFFLOAD + if test "x$CXX_SUPPORTS_OFFLOAD" = "x0"; then + AC_MSG_NOTICE([Enabling offload.]) + AC_SUBST([OFFLOADFLAGS], ["-fcf-protection=check -foffload=default -foffload=nvptx-none=\"-O3 -ggdb -fopt-info -lm -latomic -mgomp\" -fopenmp -DUSE_TARGET_OFFLOAD "]) + else + AC_MSG_NOTICE([Disabling offload.]) + AC_SUBST([OFFLOADFLAGS], [""]) + fi + ] +) + +AC_ARG_ENABLE( + [openmp], + [AS_HELP_STRING([--enable-openmp], [enable OpneMP multi-threading [default=yes]])], + [ + if test "x$enableval" != "xno"; then + AC_SUBST([OMPFLAGS], ["-fopenmp"]) + fi + ], + [ + AC_SUBST([OMPFLAGS], ["-fopenmp"]) + ] +) + +AC_ARG_ENABLE( + [optimize], + [AS_HELP_STRING([--enable-optimize=LEVEL], [use optimization level LEVEL [default=3]])], + [ + if test "x$enableval" = "x0"; then + AC_SUBST([OPTFLAGS], ["-O0"]) + elif test "x$enableval" = "x1"; then + AC_SUBST([OPTFLAGS], ["-O1"]) + elif test "x$enableval" = "x2"; then + AC_SUBST([OPTFLAGS], ["-O2"]) + elif test "x$enableval" = "x3"; then + AC_SUBST([OPTFLAGS], ["-O3"]) + else + AC_MSG_ERROR([Invalid optimization flag!]) + fi + ], + [AC_SUBST([OPTFLAGS], ["-O3"])] +) + +AC_ARG_WITH( + [lapack], + [AS_HELP_STRING([--with-lapack], [use LAPACK @<:@default=auto@:>@])], + [ + if test "x$withval" = "xno"; then + AC_SUBST([LAPACKFLAGS], [""]) + AC_SUBST([LAPACKLDFLAGS], [""]) + AC_SUBST([BLASLDFLAGS], [""]) + else + M4_DETECT_LAPACK + AS_IF( + [test "x$LAPACKLDFLAGS" != "x"], + [AC_MSG_NOTICE([LAPACK detected.])], + [AC_MSG_NOTICE([No LAPACK found.])] + ) + AC_SUBST([LAPACKFLAGS], [${LAPACKFLAGS}]) + AC_SUBST([LAPACKLDFLAGS], [${LAPACKLDFLAGS}]) + AS_IF( + [test "x$BLASLDFLAGS" != "x"] + ) + AC_SUBST([BLASFLAGS], [${BLASFLAGS}]) + AC_SUBST([BLASLDFLAGS], [${BLASLDFLAGS}]) + fi + ], + [ + M4_DETECT_LAPACK + AS_IF( + [test "x$LAPACKLDFLAGS" != "x"], + [AC_MSG_NOTICE([LAPACK detected. Activating by default (use --without-lapack to disable).])], + [AC_MSG_NOTICE([No LAPACK found.])] + ) + AC_SUBST([LAPACKFLAGS], [${LAPACKFLAGS}]) + AC_SUBST([LAPACKLDFLAGS], [${LAPACKLDFLAGS}]) + AS_IF( + [test "x$BLASLDFLAGS" != "x"] + ) + AC_SUBST([BLASFLAGS], [${BLASFLAGS}]) + AC_SUBST([BLASLDFLAGS], [${BLASLDFLAGS}]) + ] +) + +AC_ARG_ENABLE( + [refinement], + [AS_HELP_STRING([--enable-refinement], [use iterative refinement for matrix inversion @<:@default=no@:>@])], + [ + if test "x$enableval" = "xno"; then + AC_SUBST([REFINEFLAGS], [""]) + else + AC_SUBST([REFINEFLAGS], ["-DUSE_REFINEMENT"]) + fi + ], + [ + AC_SUBST([REFINEFLAGS], [""]) + ] +) + +AC_ARG_WITH( + [cublas], + [AS_HELP_STRING([--with-cublas], [use CUBLAS @<:@default=auto@:>@])], + [ + if test "x$withval" = "xno"; then + AC_SUBST([CUBLASFLAGS], [""]) + AC_SUBST([CUBLASLDFLAGS], [""]) + else + M4_DETECT_CUBLAS + AS_IF( + [test "x$CUBLASLDFLAGS" != "x"], + [AC_MSG_NOTICE([CUBLAS detected.])], + [AC_MSG_NOTICE([CUBLAS not found.])] + ) + AC_SUBST([CUBLASFLAGS], [${CUBLASFLAGS}]) + AC_SUBST([CUBLASLDFLAGS], [${CUBLASLDFLAGS}]) + fi + ], + [ + M4_DETECT_CUBLAS + AS_IF( + [test "x$CUBLASLDFLAGS" != "x"], + [AC_MSG_NOTICE([CUBLAS detected. Activating by default (use --without-cublas to disable).])], + [AC_MSG_NOTICE([CUBLAS not found.])] + ) + AC_SUBST([CUBLASFLAGS], [${CUBLASFLAGS}]) + AC_SUBST([CUBLASLDFLAGS], [${CUBLASLDFLAGS}]) + ] +) + +AC_ARG_WITH( + [magma], + [AS_HELP_STRING([--with-magma[[=MAGMA_DIR]]], [use MAGMA @<:@default=auto@:>@])], + [ + if test "x$withval" = "xno"; then + AC_SUBST([MAGMAFLAGS], [""]) + AC_SUBST([MAGMALDFLAGS], [""]) + else + if test "x$withval" != "xyes"; then + if test "x$withval" != "xauto"; then + export MAGMA_HOME=$withval + fi + fi + M4_DETECT_MAGMA + AS_IF( + [test "x$MAGMALDFLAGS" != "x"], + [AC_MSG_NOTICE([MAGMA detected.])], + [AC_MSG_NOTICE([MAGMA not found.])] + ) + AC_SUBST([MAGMAFLAGS], [${MAGMAFLAGS}]) + AC_SUBST([MAGMALDFLAGS], [${MAGMALDFLAGS}]) + fi + ], + [ + M4_DETECT_MAGMA + AS_IF( + [test "x$MAGMALDFLAGS" != "x"], + [AC_MSG_NOTICE([MAGMA detected. Activating by default (use --without-magma to disable).])], + [AC_MSG_NOTICE([MAGMA not found.])] + ) + AC_SUBST([MAGMAFLAGS], [${MAGMAFLAGS}]) + AC_SUBST([MAGMALDFLAGS], [${MAGMALDFLAGS}]) + ] +) + +AC_ARG_ENABLE( + [nvtx], + [AS_HELP_STRING([--enable-nvtx], [use NVTX profiling @<:@default=no@:>@])], + [ + if test "x$enableval" = "xyes"; then + AC_SUBST([NVTXFLAGS], ["-DUSE_NVTX"]) + fi + ], + [ + AC_SUBST([NVTXFLAGS], [""]) + ] +) + +# Test for additional user configurations +# Test for specific include folders +AC_ARG_WITH( + [include], + [AS_HELP_STRING([--with-include], [additional include folders @<:@default=none@:>@])], + [ + if test "x$with_val" != "x"; then + AC_SUBST([USER_INCLUDE], [$with_val]) + fi + ], + [AC_SUBST([USER_INCLUDE], [""])] +) + +# Test for special FORTRAN compiler flags +AC_ARG_WITH( + [fflags], + [AS_HELP_STRING([--with-fflags=flags], [FORTRAN compiler flags @<:@default="-std=legacy -O3"@:>@])], + [ + if test "x$with_val" != "x"; then + AC_SUBST([FFLAGS], [$with_val]) + fi + ], + [ + AC_SUBST([FFLAGS], ["-std=legacy -O3"]) + ] +) + +# Test for special linker flags +AC_ARG_WITH( + [ldflags], + [AS_HELP_STRING([--with-ldflags=flags], [custom linker flags @<:@default=none@:>@])], + [ + if test "x$with_val" != "x"; then + AC_SUBST([USER_LDFLAGS], [$with_val]) + fi + ], + [ + AC_SUBST([USER_LDFLAGS], [""]) + ] +) + +AS_IF( + [test "x$OFFLOADFLAGS" != "x"], + [AC_SUBST([OMPFLAGS], [""])], + [AC_SUBST([OMPFLAGS], [$OMPFLAGS])] +) +CXXFLAGS="$CLANGFLAGS $OPTFLAGS -ggdb $DEBUGFLAGS $OFFLOADFLAGS $USER_INCLUDE -I$HDF5_INCLUDE $OMPFLAGS $MPIFLAGS $LAPACKFLAGS $CUBLASFLAGS $MAGMAFLAGS $NVTXFLAGS $REFINEFLAGS" +SUBDIRS="cluster inclusion libnptm sphere testing trapping" + +# Generate the output +AC_OUTPUT