diff --git a/ELPA_2014.06/Makefile.am b/ELPA_2014.06/Makefile.am index 47820f7c9eb2bca13ef508c7e28a27a1fa7b5a81..d47961339a7e3d93c0d1aae807c77d77829d671c 100644 --- a/ELPA_2014.06/Makefile.am +++ b/ELPA_2014.06/Makefile.am @@ -2,8 +2,8 @@ ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4 -AM_FCFLAGS = $(SCALAPACK_FCFLAGS) @FC_MODINC@modules @FC_MODOUT@modules -AM_LDFLAGS = $(SCALAPACK_LDFLAGS) +AM_FCFLAGS = $(SCALAPACK_FCFLAGS) $(OPENMP_FCFLAGS) @FC_MODINC@modules @FC_MODOUT@modules +AM_LDFLAGS = $(SCALAPACK_LDFLAGS) $(OPENMP_FCFLAGS) # libelpa if WITH_OPENMP @@ -276,11 +276,13 @@ CLEANFILES = \ elpa2_test_real_choose_kernel_with_api.sh \ elpa2_test_complex_choose_kernel_with_api.sh \ elpa2_print_kernels.sh \ - *.i \ - config-f90.h + *.i clean-local: - -rm -rf modules .fortran_dependencies + -rm -rf modules/* .fortran_dependencies/* + +distclean-local: + -rm config-f90.h EXTRA_DIST = fdep/fortran_dependencies.pl fdep/fortran_dependencies.mk diff --git a/ELPA_2014.06/Makefile.in b/ELPA_2014.06/Makefile.in index e083d14ec59964a91990d206f31dc5868e43dfa4..c9870918eaca48f4f23056190ee4f8193157445f 100644 --- a/ELPA_2014.06/Makefile.in +++ b/ELPA_2014.06/Makefile.in @@ -771,8 +771,8 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ with_amd_bulldozer_kernel = @with_amd_bulldozer_kernel@ ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4 -AM_FCFLAGS = $(SCALAPACK_FCFLAGS) @FC_MODINC@modules @FC_MODOUT@modules -AM_LDFLAGS = $(SCALAPACK_LDFLAGS) +AM_FCFLAGS = $(SCALAPACK_FCFLAGS) $(OPENMP_FCFLAGS) @FC_MODINC@modules @FC_MODOUT@modules +AM_LDFLAGS = $(SCALAPACK_LDFLAGS) $(OPENMP_FCFLAGS) @WITH_OPENMP_FALSE@lib_LTLIBRARIES = libelpa-@PACKAGE_VERSION@.la # libelpa @@ -878,8 +878,7 @@ CLEANFILES = \ elpa2_test_real_choose_kernel_with_api.sh \ elpa2_test_complex_choose_kernel_with_api.sh \ elpa2_print_kernels.sh \ - *.i \ - config-f90.h + *.i EXTRA_DIST = fdep/fortran_dependencies.pl fdep/fortran_dependencies.mk all: config.h @@ -1832,7 +1831,7 @@ distclean: distclean-am -rm -rf src/elpa2_kernels/$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ - distclean-hdr distclean-libtool distclean-tags + distclean-hdr distclean-libtool distclean-local distclean-tags dvi: dvi-am @@ -1907,13 +1906,13 @@ uninstall-am: uninstall-binPROGRAMS uninstall-dist_docDATA \ cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ distcheck distclean distclean-compile distclean-generic \ - distclean-hdr 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-dist_docDATA install-dist_filesDATA \ - install-dvi install-dvi-am install-exec install-exec-am \ - install-html install-html-am install-info install-info-am \ - install-libLTLIBRARIES install-man \ + distclean-hdr distclean-libtool distclean-local 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-dist_docDATA \ + install-dist_filesDATA 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-nobase_elpa_includeHEADERS install-pdf install-pdf-am \ install-pkgconfigDATA install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ @@ -1964,7 +1963,10 @@ elpa1.i: $(top_srcdir)/src/elpa1.F90 $(CPP) $(CPPFLAGS) -I$(top_builddir)/ -c $(top_srcdir)/src/elpa1.F90 -o $@ clean-local: - -rm -rf modules .fortran_dependencies + -rm -rf modules/* .fortran_dependencies/* + +distclean-local: + -rm config-f90.h @FORTRAN_MODULE_DEPS@ diff --git a/ELPA_2014.06/configure b/ELPA_2014.06/configure index 0578367178302d7356a8b83faf41bdc85401a812..91f2014d91524285cee70b5443d26093b6269fed 100755 --- a/ELPA_2014.06/configure +++ b/ELPA_2014.06/configure @@ -6774,8 +6774,8 @@ save_LDFLAGS=$LDFLAGS -FCFLAGS="$FCFLAGS $SCALAPACK_FCFLAGS" -LDFLAGS="$LDFLAGS $SCALAPACK_LDFLAGS" +FCFLAGS="$FCFLAGS $SCALAPACK_FCFLAGS $OPENMP_FCFLAGS" +LDFLAGS="$LDFLAGS $SCALAPACK_LDFLAGS $OPENMP_FCFLAGS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Fortran module iso_fortran_env is available" >&5 $as_echo_n "checking whether Fortran module iso_fortran_env is available... " >&6; } diff --git a/ELPA_2014.06/configure.ac b/ELPA_2014.06/configure.ac index 84150408f5209e7227c3c7e1387db86b22d02c0b..170851508b4e20f596fcad620a68c4925d1362d3 100644 --- a/ELPA_2014.06/configure.ac +++ b/ELPA_2014.06/configure.ac @@ -766,8 +766,8 @@ save_LDFLAGS=$LDFLAGS AC_ARG_VAR([SCALAPACK_LDFLAGS],[Extra LDFLAGS necessary to link a program with Scalapack]) AC_ARG_VAR([SCALAPACK_FCFLAGS],[Extra FCFLAGS necessary to compile a Fortran program with Scalapack]) -FCFLAGS="$FCFLAGS $SCALAPACK_FCFLAGS" -LDFLAGS="$LDFLAGS $SCALAPACK_LDFLAGS" +FCFLAGS="$FCFLAGS $SCALAPACK_FCFLAGS $OPENMP_FCFLAGS" +LDFLAGS="$LDFLAGS $SCALAPACK_LDFLAGS $OPENMP_FCFLAGS" dnl check whether fortran error_unit is defined AC_MSG_CHECKING([whether Fortran module iso_fortran_env is available])