superconductivity.o in github/gitlab repositories version

This section is dedicated to compilation problems

Moderator: stiwari

Post Reply
andreyl
Posts: 24
Joined: Sun Mar 26, 2017 12:22 pm
Affiliation:

superconductivity.o in github/gitlab repositories version

Post by andreyl »

Hi!

I have a problem making the latest development version of EPW from both

https://gitlab.com/QEF/q-e

and

https://github.com/QEF/q-e

the problem for both version appears on make epw step:

Code: Select all

make[2]: *** No rule to make target 'superconductivity.o', needed by 'libepw.a'.  Stop.
make[2]: Leaving directory '/vol/tcm36/andreil/codes/QE_dev/epw_rep/q-e/EPW/src'
Makefile:7: recipe for target 'epw' failed
make[1]: *** [epw] Error 2
make[1]: Leaving directory '/vol/tcm36/andreil/codes/QE_dev/epw_rep/q-e/EPW'
Makefile:139: recipe for target 'epw' failed
make: *** [epw] Error 1


I did make pwall,went well and at least pw is working. ph.x has also compiled.

I checked QE 6.2.1 EPW Makefile and superconductivity.o is not in the EPWOBJS list,
while it is in the current repository version.

I understand, that this is the development version, and this may be the independent/expected behaviour,
if this is correct, can you please point me on the commit number, which is closest to the version,
used on the recent EPC school in Trieste?
My intention was to get the code version, which was used on the school.

P.S. thanks again for organizing the school, that really was great.

Best,
Andrei

sponce
Site Admin
Posts: 616
Joined: Wed Jan 13, 2016 7:25 pm
Affiliation: EPFL

Re: superconductivity.o in github/gitlab repositories versio

Post by sponce »

Dear Andrei,

This is because you are using the "master" branch and not the "develop" branch.

Just do
git clone https://gitlab.com/QEF/q-e
cd q-e
git checkout develop
./configure
make epw

Should work.

Cheers,
Samuel
Prof. Samuel Poncé
Chercheur qualifié F.R.S.-FNRS / Professeur UCLouvain
Institute of Condensed Matter and Nanosciences
UCLouvain, Belgium
Web: https://www.samuelponce.com

andreyl
Posts: 24
Joined: Sun Mar 26, 2017 12:22 pm
Affiliation:

Re: superconductivity.o in github/gitlab repositories versio

Post by andreyl »

Dear Samuel,

Yes, it does work, thank you!

Best wishes,
Andrei

Post Reply