Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem Installing v2.7.1 #156

Open
supratik1289 opened this issue Oct 15, 2024 · 1 comment
Open

Problem Installing v2.7.1 #156

supratik1289 opened this issue Oct 15, 2024 · 1 comment

Comments

@supratik1289
Copy link

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_electron_config(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?

@PyFiSciFi
Copy link

PyFiSciFi commented Jan 13, 2025

I got these same exact errors during compilation using Makefile.gfortran-mpi! Any update on this? Were you able to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants