I am trying to install wannier tools v2.7.1 using the Makefile.gfortran but I am getting the following error on running the command make:
gfortran -cpp -O3 -ffree-line-length-512 -c module.f90
module.f90:1175:512:
Error: Syntax error in array constructor at (1)
module.f90:1181:4:
1181 | ,'1s22s1'&
| 1
Error: Different CHARACTER lengths (3/6) in array constructor at (1)
module.f90:1289:17:
1289 | ['fy(3x2-y2)','fxyz','fyz2','fz3','fxz2','fz(x2-y2)','fx(x2-3y2)']]
| 1
Error: Different CHARACTER lengths (10/4) in array constructor at (1)
module.f90:1303:15:
1303 | if ( element_name(i) == name ) then
| 1
Error: Function ‘element_name’ at (1) has no IMPLICIT type
module.f90:1302:34:
1302 | do i = 1, size(element_name)
| 1
Error: Symbol ‘element_name’ at (1) has no IMPLICIT type
module.f90:1366:26:
1366 | config_temporary = element_electronconfig(index)
| 1
Error: Function ‘element_electron_config’ at (1) has no IMPLICIT type
module.f90:1436:52:
1436 | if(Rgas_nearest >0) call get_electron_config(element_name(Rgas(Rgas_nearest)) , Rgas_configuration)
| 1
Error: Function ‘element_name’ at (1) has no IMPLICIT type
module.f90:1327:33:
1327 | if(orbital_name == orb_sign(i,j)) then
| 1
Error: Function ‘orb_sign’ at (1) has no IMPLICIT type
module.f90:1478:9:
1478 | use element_table
| 1
Fatal Error: Cannot open module file ‘element_table.mod’ for reading at (1): No such file or directory
f951: some warnings being treated as errors
compilation terminated.
make: *** [Makefile:55: module.o] Error 1
I am trying to install wannier tools v2.7.1 using the Makefile.gfortran but I am getting the following error on running the command make: gfortran -cpp -O3 -ffree-line-length-512 -c module.f90 module.f90:1175:512:
1175 | ','W','Re','Os','Ir','Pt','Au','Hg','Tl','Pb','Bi','Po','At','Rn','Fr','Ra','Ac','Th','Pa','U','Np','Pu','Am','Cm','Bk','Cf','Es','Fm','Md','No','Lr','Rf'] | 1
Error: Line truncated at (1) [-Werror=line-truncation] module.f90:1175:512:
1175 | ','W','Re','Os','Ir','Pt','Au','Hg','Tl','Pb','Bi','Po','At','Rn','Fr','Ra','Ac','Th','Pa','U','Np','Pu','Am','Cm','Bk','Cf','Es','Fm','Md','No','Lr','Rf'] | 1
Error: Syntax error in array constructor at (1) module.f90:1181:4:
1181 | ,'1s22s1'& | 1 Error: Different CHARACTER lengths (3/6) in array constructor at (1) module.f90:1289:17:
1289 | ['fy(3x2-y2)','fxyz','fyz2','fz3','fxz2','fz(x2-y2)','fx(x2-3y2)']] | 1 Error: Different CHARACTER lengths (10/4) in array constructor at (1) module.f90:1303:15:
1303 | if ( element_name(i) == name ) then | 1 Error: Function ‘element_name’ at (1) has no IMPLICIT type module.f90:1302:34:
1302 | do i = 1, size(element_name) | 1 Error: Symbol ‘element_name’ at (1) has no IMPLICIT type module.f90:1366:26:
1366 | config_temporary = element_electronconfig(index) | 1 Error: Function ‘element_electron_config’ at (1) has no IMPLICIT type module.f90:1436:52:
1436 | if(Rgas_nearest >0) call get_electron_config(element_name(Rgas(Rgas_nearest)) , Rgas_configuration) | 1 Error: Function ‘element_name’ at (1) has no IMPLICIT type module.f90:1327:33:
1327 | if(orbital_name == orb_sign(i,j)) then | 1 Error: Function ‘orb_sign’ at (1) has no IMPLICIT type module.f90:1478:9:
1478 | use element_table | 1 Fatal Error: Cannot open module file ‘element_table.mod’ for reading at (1): No such file or directory f951: some warnings being treated as errors compilation terminated. make: *** [Makefile:55: module.o] Error 1
How do I solve this issue?