<div dir="ltr"><div><div><div><div><div><div>Dear everybody,<br></div> I want to compile QHA package in Quantum espresso. I have only gfortran installed. So I modified the make files and replace ifort by gfortran. Now when I ran the Compile script, it is giving me the following error. Can anyone help me out of this problem. Actually I'm a newbie in linux.<br><br></div>Thanking you in advance.<br><br></div>Pratik Kumar Das<br></div>JRF,<br></div>Jadavpur University<br></div>Kolkata-700032<br><div><div><div><div><div><div><div>INDIA<br></div><div><br>[pratik@localhost QHA]$ ./Compile <br>gfortran -O3  -c  tetra.f<br>gfortran -O3  -c  k_brillouin.f<br>gfortran -O3  -c  generate_tetra.f<br>gfortran -O3  -c  det3.f<br>gfortran -O3  -c  det4.f<br>gfortran -static -o tetra.x tetra.o k_brillouin.o generate_tetra.o  det3.o det4.o   <br>/usr/bin/ld: cannot find -lgfortran<br>/usr/bin/ld: cannot find -lm<br>/usr/bin/ld: cannot find -lquadmath<br>/usr/bin/ld: cannot find -lm<br>/usr/bin/ld: cannot find -lc<br>collect2: error: ld returned 1 exit status<br>make: *** [tetra] Error 1<br>gfortran -O3   -c  Debye.f90<br>Debye.f90:144.8:<br><br>     do T = T_low_start, T_low, T_low_delta<br>        1<br>Warning: Deleted feature: Loop variable at (1) must be integer<br>Debye.f90:144.11:<br><br>     do T = T_low_start, T_low, T_low_delta<br>           1<br>Warning: Deleted feature: Start expression in DO loop at (1) must be integer<br>Debye.f90:144.24:<br><br>     do T = T_low_start, T_low, T_low_delta<br>                        1<br>Warning: Deleted feature: End expression in DO loop at (1) must be integer<br>Debye.f90:144.31:<br><br>     do T = T_low_start, T_low, T_low_delta<br>                               1<br>Warning: Deleted feature: Step expression in DO loop at (1) must be integer<br>Debye.f90:177.4:<br><br> do T = T_low+5, T_high, T_high_delta<br>    1<br>Warning: Deleted feature: Loop variable at (1) must be integer<br>Debye.f90:177.7:<br><br> do T = T_low+5, T_high, T_high_delta<br>       1<br>Warning: Deleted feature: Start expression in DO loop at (1) must be integer<br>Debye.f90:177.16:<br><br> do T = T_low+5, T_high, T_high_delta<br>                1<br>Warning: Deleted feature: End expression in DO loop at (1) must be integer<br>Debye.f90:177.24:<br><br> do T = T_low+5, T_high, T_high_delta<br>                        1<br>Warning: Deleted feature: Step expression in DO loop at (1) must be integer<br>gfortran -O3  -c  Debye_T.f<br>gfortran -O3  -c  debye3.f<br>gfortran -O3  -c  cheval.f<br>gfortran -O3  -c  d1mach.f<br>gfortran -static -o Debye.x Debye.o Debye_T.o debye3.o cheval.o d1mach.o <br>/usr/bin/ld: cannot find -lgfortran<br>/usr/bin/ld: cannot find -lm<br>/usr/bin/ld: cannot find -lquadmath<br>/usr/bin/ld: cannot find -lm<br>/usr/bin/ld: cannot find -lc<br>collect2: error: ld returned 1 exit status<br>make: *** [Debye_x] Error 1<br>gfortran -FR -c  Mean_square_displacement.f90<br>Mean_square_displacement.f90:162.7:<br><br>    do T=T_start,T_end,T_delta<br>       1<br>Warning: Deleted feature: Loop variable at (1) must be integer<br>gfortran -static -o Mean_square_displacement.x Mean_square_displacement.o   <br>/usr/bin/ld: cannot find -lgfortran<br>/usr/bin/ld: cannot find -lm<br>/usr/bin/ld: cannot find -lquadmath<br>/usr/bin/ld: cannot find -lm<br>/usr/bin/ld: cannot find -lc<br>collect2: error: ld returned 1 exit status<br>make: *** [MSD] Error 1<br>ln: failed to create symbolic link ‘tetra.x’: File exists<br>ln: failed to create symbolic link ‘phonon_dos.x’: File exists<br>ln: failed to create symbolic link ‘Debye.x’: File exists<br>ln: failed to create symbolic link ‘Atom_projected_properties.x’: File exists<br>ln: failed to create symbolic link ‘F_QHA.x’: File exists<br>ln: failed to create symbolic link ‘Ghost_DOS.x’: File exists<br>ln: failed to create symbolic link ‘Partial_phonon_DOS.x’: File exists<br>ln: failed to create symbolic link ‘Mean_square_displacement.x’: File exists<br>ln: failed to create symbolic link ‘atom_info.x’: File exists<br><br></div></div></div></div></div></div></div></div>