ive this error in the compilation of yambo 4.00
>>>[Making parallel]<<<
make[1]: Entering directory `/home/chemam/yambo/src/parallel'
PARALLEL_defaults.f90:53.83:
RALLEL_live_message('CPU structure provided for the '//trim(ENVIRONMENT)//' ENV
1
Error: Unterminated character constant beginning at (1)
PARALLEL_defaults.f90:57.81:
roduct(PARALLEL_CPU_used(:PARALLEL_n_structures_active))/=ncpu) call error('Imp
1
Error: Missing ')' in statement at or before (1)
make[1]: *** [PARALLEL_defaults.o] Error 1
make[1]: Leaving directory `/home/chemam/yambo/src/parallel'
make: *** [yambo] Error 2
[/color]
best regards
#
# [VER] 4.0.0 r.78
#
# - GENERAL CONFIGURATIONS -
#
# [SYS] linux@x86_64
# [SRC] /home/chemam/yambo
# [BIN] /home/chemam/yambo/bin
# [-] Double precision
# [X] Redundant compilation
# [-] Run-Time timing profile
#
# - PARALLEL SUPPORT -
#
# [-] MPI ()
# [-] OpenMP
# [-] Blue-Gene specific procedures
#
# - LIBRARIES (E=external library; I=internal library; -=not used;) -
#
# I/O
# [ I ] IOTK : -liotk (QE 5.0)
# [ - ] ETSF_IO:
# [ I ] NETCDF : -lnetcdff -lnetcdf (No large files support)
# [ - ] HDF5 :
#
# MATH
# [FFT] Goedecker Fast Fourier transform with 0 cache
# [ I ] BLAS : -lblas
# [ I ] LAPACK : -llapack
# [ - ] SCALAPACK:
#
# OTHER
# [ I ] LibXC : -lxc
# [ - ] MPI library:
#
# - COMPILERS, MAKE and EDITOR -
#
# [ CPP ] gcc -E -P -D_NETCDF_IO -D_FFTSG
# [ C ] gcc -g -O2 -D_C_US -D_FORTRAN_US
# [MPICC]
# [ F90 ] gfortran -g -O3 -mtune=native
# [MPIF ]
# [ F77 ] gfortran -g -O3 -mtune=native
# [Cmain]
# [NoOpt] -g -O0 -mtune=native
#
# [ MAKE ] make
# [EDITOR] vi
#
error in compilation of yambo 4.0.0
Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan, Nicola Spallanzani
Forum rules
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
-
- Posts: 10
- Joined: Sat May 03, 2014 3:14 pm
error in compilation of yambo 4.0.0
Pr.Chemam Faical
Laboratoire de la Physique Appliquée et Théorique,
Université de Tebessa, Algérie
Laboratoire de la Physique Appliquée et Théorique,
Université de Tebessa, Algérie
- Daniele Varsano
- Posts: 4198
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: error in compilation of yambo 4.0.0
Dear Pr.Chemam Faical,
In order to inspect what is going on, can you please post your config.log file?
Best,
Daniele
In order to inspect what is going on, can you please post your config.log file?
Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
-
- Posts: 214
- Joined: Fri Jan 31, 2014 11:13 am
Re: error in compilation of yambo 4.0.0
Hi Chemam,
eventually I think I was able to reproduce the error you reported. It seems to be related to the use of gfortran, which complains because of some source lines that are too long.
The problem can be fixed (in my case) by changing lines 51-58 of src/parallel/PARALLEL_defaults.F to
take care
Andrea
eventually I think I was able to reproduce the error you reported. It seems to be related to the use of gfortran, which complains because of some source lines that are too long.
The problem can be fixed (in my case) by changing lines 51-58 of src/parallel/PARALLEL_defaults.F to
Code: Select all
call PARALLEL_live_message('CPU structure provided for the '//&
& trim(ENVIRONMENT)//' ENVIRONMENT is incomplete. Switching to defaults')
!
call DEFAULT_action("define")
!
if (product(PARALLEL_CPU_used(:PARALLEL_n_structures_active))/=ncpu) &
& call error('Impossible to define an appropriate parallel structure')
!
Andrea
Andrea Ferretti, PhD
CNR-NANO-S3 and MaX Centre
via Campi 213/A, 41125, Modena, Italy
Tel: +39 059 2055322; Skype: andrea_ferretti
URL: http://www.nano.cnr.it
CNR-NANO-S3 and MaX Centre
via Campi 213/A, 41125, Modena, Italy
Tel: +39 059 2055322; Skype: andrea_ferretti
URL: http://www.nano.cnr.it
-
- Posts: 10
- Joined: Sat May 03, 2014 3:14 pm
Re: error in compilation of yambo 4.0.0
Hi again
this my config.log in attached file
For the changement in the 51 to 58 isnt work its the error with parallel files
>>>[Making parallel]<<<
make[1]: Entering directory `/home/chemam/yambo/src/parallel'
PARALLEL_defaults.f90:61.3:
subroutine DEFAULT_action(what)
1
Error: Unclassifiable statement at (1)
PARALLEL_defaults.f90:63.25:
character(*) :: what
1
Error: Unexpected data declaration statement at (1)
PARALLEL_defaults.f90:180.3:
end subroutine
1
Error: Expecting END PROGRAM statement at (1)
PARALLEL_defaults.f90:67.15:
if (what/="check") cycle
1
Error: Symbol 'what' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:106.49:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:108.49:
CPU_structure(i_PAR_structure)%CPU(2)=assign_cpu(n_v_bands(2)-n_v_ba
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:110.49:
CPU_structure(i_PAR_structure)%CPU(3)=assign_cpu(K_range)
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:114.49:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:116.49:
CPU_structure(i_PAR_structure)%CPU(2)=assign_cpu(n_v_bands(2)-n_v_ba
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:118.49:
CPU_structure(i_PAR_structure)%CPU(3)=assign_cpu(K_range)
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:120.49:
CPU_structure(i_PAR_structure)%CPU(4)=assign_cpu(Q_range(2)-Q_range(
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:124.49:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_bands(2)-n_bands(
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:126.49:
CPU_structure(i_PAR_structure)%CPU(2)=assign_cpu(QP_range)
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:128.49:
CPU_structure(i_PAR_structure)%CPU(3)=assign_cpu(Q_range(2))
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
Fatal Error: Error count reached limit of 25.
make[1]: *** [PARALLEL_defaults.o] Error 1
make[1]: Leaving directory `/home/chemam/yambo/src/parallel'
make: *** [yambo] Error 2
Best regards
this my config.log in attached file
For the changement in the 51 to 58 isnt work its the error with parallel files
>>>[Making parallel]<<<
make[1]: Entering directory `/home/chemam/yambo/src/parallel'
PARALLEL_defaults.f90:61.3:
subroutine DEFAULT_action(what)
1
Error: Unclassifiable statement at (1)
PARALLEL_defaults.f90:63.25:
character(*) :: what
1
Error: Unexpected data declaration statement at (1)
PARALLEL_defaults.f90:180.3:
end subroutine
1
Error: Expecting END PROGRAM statement at (1)
PARALLEL_defaults.f90:67.15:
if (what/="check") cycle
1
Error: Symbol 'what' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:106.49:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:108.49:
CPU_structure(i_PAR_structure)%CPU(2)=assign_cpu(n_v_bands(2)-n_v_ba
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:110.49:
CPU_structure(i_PAR_structure)%CPU(3)=assign_cpu(K_range)
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:114.49:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:116.49:
CPU_structure(i_PAR_structure)%CPU(2)=assign_cpu(n_v_bands(2)-n_v_ba
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:118.49:
CPU_structure(i_PAR_structure)%CPU(3)=assign_cpu(K_range)
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:120.49:
CPU_structure(i_PAR_structure)%CPU(4)=assign_cpu(Q_range(2)-Q_range(
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:124.49:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_bands(2)-n_bands(
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:126.49:
CPU_structure(i_PAR_structure)%CPU(2)=assign_cpu(QP_range)
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
PARALLEL_defaults.f90:128.49:
CPU_structure(i_PAR_structure)%CPU(3)=assign_cpu(Q_range(2))
1
Error: Function 'assign_cpu' at (1) has no IMPLICIT type
PARALLEL_defaults.f90:106.59:
CPU_structure(i_PAR_structure)%CPU(1)=assign_cpu(n_c_bands(2)-n_c_ba
1
Error: Return type mismatch of function 'assign_cpu' at (1) (UNKNOWN/INTEGER(4))
Fatal Error: Error count reached limit of 25.
make[1]: *** [PARALLEL_defaults.o] Error 1
make[1]: Leaving directory `/home/chemam/yambo/src/parallel'
make: *** [yambo] Error 2
Best regards
You do not have the required permissions to view the files attached to this post.
Pr.Chemam Faical
Laboratoire de la Physique Appliquée et Théorique,
Université de Tebessa, Algérie
Laboratoire de la Physique Appliquée et Théorique,
Université de Tebessa, Algérie
-
- Posts: 214
- Joined: Fri Jan 31, 2014 11:13 am
Re: error in compilation of yambo 4.0.0
Dear Chemam,
have you tried a make clean_all before recompiling ?
If the error persists, could you send the file
src/parallel/PARALLEL_defaults.F ?
it looks like some rubbish (hidden chars, bad line terminators etc) may have sneaked in...
Andrea
have you tried a make clean_all before recompiling ?
If the error persists, could you send the file
src/parallel/PARALLEL_defaults.F ?
it looks like some rubbish (hidden chars, bad line terminators etc) may have sneaked in...
Andrea
Andrea Ferretti, PhD
CNR-NANO-S3 and MaX Centre
via Campi 213/A, 41125, Modena, Italy
Tel: +39 059 2055322; Skype: andrea_ferretti
URL: http://www.nano.cnr.it
CNR-NANO-S3 and MaX Centre
via Campi 213/A, 41125, Modena, Italy
Tel: +39 059 2055322; Skype: andrea_ferretti
URL: http://www.nano.cnr.it