1
0
Files
quantum-espresso/quantum-espresso-devxlib-no-download.patch
Christian Goll 3a9e8a3652 Accepting request 932838 from home:badshah400:branches:science
* 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
2021-11-22 08:49:13 +00:00

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) \