forked from pool/quantum-espresso
* Update to version 6.8. * Drop backports-6.4.1.git-diff: incorporated upstream. * Add quantum-espresso-devxlib-no-download.patch: Patch to avoid downloading devxlib from the web; we supply it as an additional source instead. * Add devxlib as an additional source and copy it to dir where quantum-espresso build expects. * Add openmpi4 as multibuild flavor. * Drop mvapich2 multibuild flavor, not well supported and builds fail. * Hack-ish work-arounds to prevent build failures all around. * Link against scalapack for parallel build flavors. OBS-URL: https://build.opensuse.org/request/show/932838 OBS-URL: https://build.opensuse.org/package/show/science/quantum-espresso?expand=0&rev=17
21 lines
828 B
Diff
21 lines
828 B
Diff
Index: q-e-qe-6.8/install/extlibs_makefile
|
|
===================================================================
|
|
--- q-e-qe-6.8.orig/install/extlibs_makefile
|
|
+++ q-e-qe-6.8/install/extlibs_makefile
|
|
@@ -93,14 +93,13 @@ CUDA_PATH := $(if $(GPU_ARCH),$(CUDA_PAT
|
|
libcuda_devxlib :
|
|
cd ../external/devxlib; \
|
|
if test ! -e configure; then \
|
|
- wget $(DEVXLIB_URL) -O devxlib.tar.gz || curl $(DEVXLIB_URL) -o devxlib.tar.gz ; \
|
|
tar xzf devxlib.tar.gz --strip-components=1 -C . ; \
|
|
rm devxlib.tar.gz ; \
|
|
fi; \
|
|
touch make.inc; \
|
|
$(MAKE) clean; \
|
|
export F90FLAGS="$(FOX_FLAGS)"; \
|
|
- ./configure FC=$(F90) CC=$(CC) \
|
|
+ ./configure FC=$(FC) CC=$(CC) \
|
|
--with-cuda=$(CUDA_PATH) \
|
|
--with-cuda-cc=$(GPU_ARCH) \
|
|
--with-cuda-runtime=$(CUDA_RUNTIME) \
|