Dear @vincentm
I am trying to install RESCU+ 1.1.0. However, one of the dependency dftd3
cannot be installed properly using
bash install_dep.sh --library dftd3.sh --buildpath /tmp --prefix $HOME/.local
The error log is:
--2022-09-16 17:57:20-- https://storage.googleapis.com/rescuplus-dependencies/dftd3-3.2.tar.gz
Resolving storage.googleapis.com (storage.googleapis.com)... 142.251.41.48, 142.251.33.176, 142.251.32.80, ...
Connecting to storage.googleapis.com (storage.googleapis.com)|142.251.41.48|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 555621 (543K) [application/gzip]
Saving to: ‘dftd3-3.2.tar.gz’
0K .......... .......... .......... .......... .......... 9% 21.3M 0s
50K .......... .......... .......... .......... .......... 18% 28.2M 0s
100K .......... .......... .......... .......... .......... 27% 59.4M 0s
150K .......... .......... .......... .......... .......... 36% 67.6M 0s
200K .......... .......... .......... .......... .......... 46% 71.2M 0s
250K .......... .......... .......... .......... .......... 55% 81.8M 0s
300K .......... .......... .......... .......... .......... 64% 81.2M 0s
350K .......... .......... .......... .......... .......... 73% 78.4M 0s
400K .......... .......... .......... .......... .......... 82% 81.4M 0s
450K .......... .......... .......... .......... .......... 92% 83.0M 0s
500K .......... .......... .......... .......... .. 100% 94.8M=0.01s
2022-09-16 17:57:20 (54.6 MB/s) - ‘dftd3-3.2.tar.gz’ saved [555621/555621]
making dftd3.o from dftd3.f
gfortran -O3 -fPIC -c dftd3.f -o dftd3.o
dftd3.f:4065:72:
4065 | 55 IF(N.EQ.ND .OR. N.EQ.NE)GOTO 57
| 1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 55 at (1)
dftd3.f:4092:72:
4092 | if(m)10,10,80
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
dftd3.f:4111:72:
4111 | 20 k2=k1+kk
| 1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1)
dftd3.f:4124:72:
4124 | 30 k2=k2+kk
| 1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 30 at (1)
dftd3.f:4125:72:
4125 | 40 kd=kd+nkpb
| 1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 40 at (1)
dftd3.f:4137:72:
4137 | 60 k2=k1+kk
| 1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 60 at (1)
dftd3.f:4150:72:
4150 | do 90 j=1,n
| 1
Warning: Fortran 2018 deleted feature: Shared DO termination label 90 at (1)
dftd3.f:4153:72:
4153 | 90 i2=i1+(nkpb-1)*n
| 1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 90 at (1)
dftd3.f:7183:24:
7183 | subroutine split(str,delims,before,sep)
| 1
Warning: Interface mismatch in global procedure ‘split’ at (1): INTENT mismatch in argument 'sep' [-Wargument-mismatch]
dftd3.f:866:38:
866 | write(*,'("L"2i1,2E14.6)'),i,j,dum,g_lat(j,i)
| 1
Warning: Legacy Extension: Comma before i/o item list at (1)
making copyc6.o from copyc6.f
gfortran -O3 -fPIC -c copyc6.f -o copyc6.o
gfortran -static dftd3.o copyc6.o -o dftd3
/usr/bin/ld: cannot find -lm
/usr/bin/ld: cannot find -lm
/usr/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
make: *** [dftd3] Error 1
Could you please give us some guidance on this? Thank you so much!