[Pw_forum] quantum_espresso 5.1.2 installation problem

Axel Kohlmeyer akohlmey at gmail.com
Mon Jun 8 15:28:04 CEST 2015


On Mon, Jun 8, 2015 at 2:58 PM, Paolo Giannozzi <p.giannozzi at gmail.com> wrote:
> The Open64 compiler doesn't accept what all other compilers think is a valid
> syntax (not sure what the standard says).

what is valid also depends on the version of the standard that is
supported. my guess is that open64 only supports fortran up to fortran
95, whereas most other compilers can handle fortran 2003 (and some
fortran 2008) these days.

axel.


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



-- 
Dr. Axel Kohlmeyer  akohlmey at gmail.com  http://goo.gl/1wk0
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.



More information about the users mailing list