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

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


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/35484257/attachment.html>
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile	(revision 11200)
+++ Makefile	(working copy)
@@ -182,7 +182,9 @@
 	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 ; \
 	)
 
 


More information about the developers mailing list