Page 1 of 1
error in compilation of yambo 4.0.0
Posted: Fri May 01, 2015 4:32 pm
by fchemam
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
#
Re: error in compilation of yambo 4.0.0
Posted: Fri May 01, 2015 9:23 pm
by Daniele Varsano
Dear Pr.Chemam Faical,
In order to inspect what is going on, can you please post your config.log file?
Best,
Daniele
Re: error in compilation of yambo 4.0.0
Posted: Fri May 01, 2015 9:41 pm
by andrea.ferretti
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
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')
!
take care
Andrea
Re: error in compilation of yambo 4.0.0
Posted: Sat May 02, 2015 7:15 am
by fchemam
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
Re: error in compilation of yambo 4.0.0
Posted: Tue May 05, 2015 10:26 am
by andrea.ferretti
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