[Pw_forum] small compilation issues in thermo_pw

Paolo Giannozzi p.giannozzi at gmail.com
Wed Apr 12 16:22:00 CEST 2017


On Wed, Apr 12, 2017 at 3:56 PM, Giovanni Cantele
<giovanni.cantele at spin.cnr.it> wrote:

> 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 think "system" is not a standard fortran call. The standard (F2008
and later) is
EXECUTE_COMMAND_LINE

Paolo

> 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
>
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum

-- 
Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222




More information about the users mailing list