[Pw_forum] small compilation issues in thermo_pw
Andrea Dal Corso
dalcorso at sissa.it
Wed Apr 12 16:06:38 CEST 2017
On Wed, 2017-04-12 at 15:56 +0200, Giovanni Cantele wrote:
> 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
>
Thank you. The first two problems have been already corrected in the git
version, but this one has not been found before.
Andrea
>
>
> Giovanni
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum
--
Andrea Dal Corso Tel. 0039-040-3787428
SISSA, Via Bonomea 265 Fax. 0039-040-3787249
I-34136 Trieste (Italy) e-mail: dalcorso at sissa.it
More information about the users
mailing list