It is currently Fri Jul 19, 2019 4:24 pm

Tell a friend!


Post new topic Reply to topic  [ 3 posts ] 
Weird error when compiling EPW-4.2 
Author Message

Joined: Thu May 05, 2016 5:18 pm
Posts: 63
University: Rondonia university
Post Weird error when compiling EPW-4.2
Dear all,

i am trying to compile epw to produce the executable epw.x . I have successfully compiled qe-6.1 (from EPW/src directory) and all executables (pw.x, ph.x,.....) were produced. However when I execute "make epw", the compilation starts but thn stops with the following error:

mpiifort -O2 -assume byterecl -g -traceback -qopenmp -nomodule -qopenmp -fpp -D__OPENMP -D__DFTI -D__MPI -D__SCALAPACK -I../../include -I../../iotk/src -I../../Modules -I../../LAXlib -I../../iotk/src -I../../FFTXlib -I../../PW/src -I../../LR_Modules -I../../PHonon/PH -I../../PP/src/ -I. -I../../wannier90-2.1.0/src/obj/ -c epw.f90
epw.f90(32): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [ELPH2]
USE elph2, ONLY : elph
------^
epw.f90(149): error #6406: Conflicting attributes or multiple declaration of name. [ELPH]
IF ( elph ) THEN
----------^
epw.f90(149): error #6341: A logical data type is required in this context. [ELPH]
IF ( elph ) THEN
----------^
epw.f90(32): error #6580: Name in only-list does not exist. [ELPH]
USE elph2, ONLY : elph
------------------------------^
compilation aborted for epw.f90 (code 1)

Can anyone give me any idea of why this is happening?

OBS: I have substituted the epw.f90 and elphon_shuffle_wrap.f90 files by those provided on the EPW page (using wget.....)

Thank you in advance

Elie Moujaes
University of Rondonia,
Brazil

_________________
Physics Department
university of Rondonia Brazil
Porto Velho- Rondonia


Mon May 15, 2017 6:14 pm
Profile E-mail
Site Admin
User avatar

Joined: Wed Jan 13, 2016 7:25 pm
Posts: 572
University: Oxford
Post Re: Weird error when compiling EPW-4.2
Hello,

Are you sure you did exactly all the test in
http://epw.org.uk/Main/DownloadAndInstall

In the last step, instead of "make epw" you can go into the EPW/src directory and do "make" directly in the directory.

Also, are you sure of

Quote:
If your "wget" creates a new file like "epw.f90.1" then you need to do "mv epw.f90.1 epw.f90" to replace the file.


Edit: I just re-checked that the download information are correct and it works for me with gcc here.

_________________
Dr. Samuel Poncé
Department of Materials
University of Oxford
Parks Road
Oxford OX1 3PH, UK


Tue May 16, 2017 1:03 pm
Profile E-mail

Joined: Thu May 05, 2016 5:18 pm
Posts: 63
University: Rondonia university
Post Re: Weird error when compiling EPW-4.2
Dear Samuel,

Thanks for your reply. The mistake was mine: I executed "make epw" in the EPW instead of the qe-6.1 directory which was the cause of the error. It is fixed now.

Regards

_________________
Physics Department
university of Rondonia Brazil
Porto Velho- Rondonia


Tue May 16, 2017 8:19 pm
Profile E-mail
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin

(All content on this board is governed by and is the sole responsibility of the board administrator.)


Gratis forum Free forum hosting| gratis phpbb3 forum | phpbb3 styles