[Pw_forum] small compilation issues in thermo_pw

Giovanni Cantele giovanni.cantele at spin.cnr.it
Wed Apr 12 15:56:11 CEST 2017


Dear all,

I’ve been trying to compile thermo_pw on Marconi @ CINECA. Here, there are few compilation issues likely to be fixed:


1) 
plotband_sub.f90(839): error #6404: This name does not have a type, and must have an explicit type.   [SYSTEM]
      ierr=system(TRIM(gnuplot_command)//' '//TRIM(gnu_filename))

I just added system to the list of variables declared as INTEGER


2)
mpiifort -O2 -assume byterecl -g -traceback -qopenmp -nomodule -qopenmp -fpp -D__OPENMP -D__INTEL -D__DFTI -D__MPI -D__SCALAPACK  -D__ELPA  -I/marconi/home/userexternal/gcantele/CODES/Quantum-ESPRESSO/qe-6.1//include -I../include/ -I/cineca/prod/opt/compilers/intel/pe-xe-2017/binary/mkl/include -I../../iotk/src -I../../Modules -I../../FFTXlib -I../../LAXlib -I../../PW/src -I../../LR_Modules -I../../PHonon/PH -I../lib -I../qe -I. -c write_elastic_t.f90
write_elastic_t.f90(293): error #5145: Invalid blank/tab
                    9x, " C_44 ", 9x, " C_55 ", 9x, " C_66 ", 9x, " C_15 ",  &
--------------------^
write_elastic_t.f90(294): error #5145: Invalid blank/tab
                    9x, " C_25 ", 9x, " C_35 ", 9x, " C_46 ", 9x, " B " )')
--------------------^
write_elastic_t.f90(311): error #5145: Invalid blank/tab
                    9x, " C_44 ", 9x, " C_55 ", 9x, " C_66 ", 9x, " C_16 ",  &
--------------------^
write_elastic_t.f90(312): error #5145: Invalid blank/tab
                    9x, " C_26 ", 9x, " C_36 ", 9x, " C_45 ", 9x, " B " )')
——————————^

For some reason the compiler does not like the syntax, what I did (I’m not sure if it is right but it compiles!) is to add an “&” to the beginning
of all the lines  indicated in the error


3)
epsilon_tpw.x : epsilon_tpw.o $(PWOBJS) $(LIBOBJS)
        $(LD) $(LDFLtAGS) -o $@ epsilon_tpw.o \
                 $(LIBOBJS) $(PWOBJS) $(QEMODS) $(LRMODS) $(LIBOBJS) $(PWOBJS) $(LIBS)
        - ( cd ../../bin ; ln -fs ../thermo_pw/tools/epsilon_tpw.x . )
Lot of undefined calls found in epsilon_tpw.x simply because of a misprint in thermo_pw/tools/Makefile: LDFLtAGS -> LDFLAGS



Giovanni

-- 

Giovanni Cantele, PhD
CNR-SPIN
c/o Dipartimento di Fisica
Universita' di Napoli "Federico II"
Complesso Universitario M. S. Angelo - Ed. 6
Via Cintia, I-80126, Napoli, Italy
e-mail: giovanni.cantele at spin.cnr.it
Phone: +39 081 676910
Skype contact: giocan74

ResearcherID: http://www.researcherid.com/rid/A-1951-2009
Web page: http://people.fisica.unina.it/~cantele

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20170412/f0f8d3c9/attachment.html>


More information about the users mailing list