[Pw_forum] quantum_espresso 5.1.2 installation problem

Paolo Giannozzi p.giannozzi at gmail.com
Mon Jun 8 14:58:08 CEST 2015


The Open64 compiler doesn't accept what all other compilers think is a
valid syntax (not sure what the standard says).
Try to replace the line
   REAL(DP), PARAMETER :: fact(0:8) =
REAL((/1,1,2,6,24,120,720,5040,40320/),DP)
with
   REAL(DP), PARAMETER :: fact(0:8) =
(/1_dp,1_dp,2_dp,6_dp,24_dp,120_dp,720_dp,5040_dp,40320_dp/)
or whatever syntax your compiler digests. Please report if you manage to
compile and produce valid QE executables

Paoolo

On Mon, Jun 8, 2015 at 2:36 PM, mohammed shambakey <shambakey1 at gmail.com>
wrote:

> Hi
>
> It is my first time to use quantum_espresso. I'm trying to install it on
> an hpc with redhat enterprise 6 and the following modules:
>
> gcc/4.8.1
> blas/open64/64/1
> mvapich2/open64/64/1.9
> slurm/2.5.7
> fftw3/openmpi/open64/64/3.3.3
> blacs/openmpi/open64/64/1.1patch03
> open64/4.5.2.1
> mpich/ge/open64/64/3.0.4
> scalapack/open64/64/1.8.0
>
> configuration ends successfully, but "make all" gives me the following
> error:
>
> "
> module xdm_module
>        ^
> openf95-855 openf90: ERROR XDM_MODULE, File = xdm_dispersion.f90, Line =
> 11, Column = 8
>   The compiler has detected errors in module "XDM_MODULE".  No module
> information file will be created for this module.
>
>   REAL(DP), PARAMETER :: fact(0:8) =
> REAL((/1,1,2,6,24,120,720,5040,40320/),DP)
>                                      ^
> openf95-587 openf90: ERROR XDM_MODULE, File = xdm_dispersion.f90, Line =
> 71, Column = 38
>   The initialization expression must be a constant to be used with
> PARAMETER assignment for object "FACT".
>
> openf95: Open64 Fortran Version 4.5.2.1 (f14) Mon Jun  8, 2015  11:19:18
> openf95: 940 source lines
> openf95: 2 Error(s), 0 Warning(s), 0 Other message(s), 0 ANSI(s)
> openf95: "explain openf95-message number" gives more information about
> each message
> make[2]: *** [xdm_dispersion.o] Error 2
> make[1]: *** [pw] Error 1
> make: *** [pw] Error 1
> "
>
> Thanks
>
> --
> Mohammed
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum
>



-- 
Paolo Giannozzi, Dept. Chemistry&Physics&Environment,
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
hone +39-0432-558216, fax +39-0432-558222
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20150608/c8ec62ce/attachment.html>


More information about the users mailing list