[Q-e-developers] bug in dos.x link

Alin Marin Elena alinm.elena at gmail.com
Wed Sep 24 20:31:50 CEST 2014


seems I have found two more issues... bands and wannier90...

the attached patch shall fix them.

Alin

Without Questions there are no Answers!
______________________________________________________________________
Dr. Alin Marin ELENA
http://alin.elenaworld.net/
______________________________________________________________________

On 24 September 2014 16:59, Alin Marin Elena <alinm.elena at gmail.com> wrote:

>
> I build qe with want package.
>
> I do make links and I endup with a wrong link to dos.x
>
> [alin at fionn2:~/playground/qe-rev11200]: l bin/dos.x
> lrwxrwxrwx 1 alin ichec 21 Sep 24 16:15 bin/dos.x -> ../WANT/wannier/dos.x*
>
> instead of the ../PP/src/dos.x
>
> Patched with possible workaround/solution attached...
>
>
> reagrds,
> Alin
>
>
>
> Without Questions there are no Answers!
> ______________________________________________________________________
> Dr. Alin Marin ELENA
> http://alin.elenaworld.net/
> ______________________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/developers/attachments/20140924/43486bf8/attachment.html>
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile	(revision 11200)
+++ Makefile	(working copy)
@@ -182,7 +182,12 @@
 	rm -f *.x ; \
 	for exe in ../*/*/*.x ../*/bin/* ; do \
 	    if test ! -L $$exe ; then ln -fs $$exe . ; fi \
-	done \
+	done ; \
+	[ -f ../WANT/wannier/dos.x ] &&  ln -fs ../WANT/wannier/dos.x ../bin/dos_want.x ; \
+	[ -f ../PP/src/dos.x ] &&  ln -fs ../PP/src/dos.x ../bin/dos.x ; \
+	[ -f ../WANT/wannier/bands.x ] &&  ln -fs ../WANT/wannier/bands.x ../bin/bands_want.x ; \
+	[ -f ../PP/src/dos.x ] &&  ln -fs ../PP/src/bands.x ../bin/bands.x ; \
+	[ -f ../W90/wannier90.x ] &&  ln -fs ../W90/wannier90.x ../bin/wannier90.x ; \
 	)
 
 


More information about the developers mailing list