I had several issues running GULP 6.2 after compiled it with Intel compilers from Intel OneAPI 2024.2.1, so I decided to move to 2019 version of Intel compilers (19.0.0.117 20180804).
Now, I am facing the following errors:
../phonond.F90:1834:29:
1245 | call MPI_IRecv(dtmp,ntmp,MPI_double_precision,nnode, &
| 2
......
1834 | call MPI_IRecv(ctmp,nsizec,MPI_double_complex,snode,ntag,MPI_Comm_GULP,Requestc,MPIerror)
| 1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/REAL(8)).
../phonond.F90:1882:29:
1261 | call MPI_ISend(dtmp,ntmp,MPI_double_precision,0, &
| 2
......
1882 | call MPI_ISend(ctmp,nsizec,MPI_double_complex,snode,ntag,MPI_Comm_GULP,Requestc,MPIerror)
| 1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/REAL(8)).
../phonond.F90:2320:49:
2314 | call nagammarigid(mtvrptr,rfmass,bornkloc,maxd2,derv2)
| 2
......
2320 | call nagammarigid(mtvrptr,rfmass,bornk(1,ncf),maxd2,derv2)
| 1
Error: Element of assumed-shape or pointer array as actual argument at (1) cannot correspond to actual argument at (2)
../phonond.F90:2322:65:
2316 | call nagamma(nphonatc,nphonatc,nphonatptr,rfmass,bornkloc,maxd2,derv2)
| 2
......
2322 | call nagamma(nphonatc,nphonatc,nphonatptr,rfmass,bornk(1,ncf),maxd2,derv2)
| 1
Error: Element of assumed-shape or pointer array as actual argument at (1) cannot correspond to actual argument at (2)
../phonond.F90:2499:52:
2493 | call nagammacrigid(mtvrptr,rfmass,bornkloc,maxd2,derv2,dervi,xkt,ykt,zkt)
| 2
......
2499 | call nagammacrigid(mtvrptr,rfmass,bornk(1,ncf),maxd2,derv2,dervi,xkt,ykt,zkt)
| 1
Error: Element of assumed-shape or pointer array as actual argument at (1) cannot correspond to actual argument at (2)
../phonond.F90:2501:79:
2495 | call nagammac(nphonatc,nphonatc,nphonatptr,nphonatptr,rfmass,bornkloc,maxd2,derv2,dervi,xkt,ykt,zkt)
| 2
......
2501 | call nagammac(nphonatc,nphonatc,nphonatptr,nphonatptr,rfmass,bornk(1,ncf),maxd2,derv2,dervi,xkt,ykt,zkt)
| 1
Error: Element of assumed-shape or pointer array as actual argument at (1) cannot correspond to actual argument at (2)
../phonond.F90:2678:50:
2493 | call nagammacrigid(mtvrptr,rfmass,bornkloc,maxd2,derv2,dervi,xkt,ykt,zkt)
| 2
......
2678 | call nagammacrigid(mtvrptr,rfmass,bornk(1,ncf),maxd2,derv2,dervi,xkt,ykt,zkt)
| 1
Error: Element of assumed-shape or pointer array as actual argument at (1) cannot correspond to actual argument at (2)
../phonond.F90:2680:77:
2495 | call nagammac(nphonatc,nphonatc,nphonatptr,nphonatptr,rfmass,bornkloc,maxd2,derv2,dervi,xkt,ykt,zkt)
| 2
......
2680 | call nagammac(nphonatc,nphonatc,nphonatptr,nphonatptr,rfmass,bornk(1,ncf),maxd2,derv2,dervi,xkt,ykt,zkt)
| 1
Error: Element of assumed-shape or pointer array as actual argument at (1) cannot correspond to actual argument at (2)
../phonond.F90:2692:49:
2314 | call nagammarigid(mtvrptr,rfmass,bornkloc,maxd2,derv2)
| 2
......
2692 | call nagammarigid(mtvrptr,rfmass,bornk(1,ncf),maxd2,derv2)
| 1
Error: Element of assumed-shape or pointer array as actual argument at (1) cannot correspond to actual argument at (2)
../phonond.F90:2694:65:
2316 | call nagamma(nphonatc,nphonatc,nphonatptr,rfmass,bornkloc,maxd2,derv2)
| 2
......
2694 | call nagamma(nphonatc,nphonatc,nphonatptr,rfmass,bornk(1,ncf),maxd2,derv2)
| 1
Error: Element of assumed-shape or pointer array as actual argument at (1) cannot correspond to actual argument at (2)
make: *** [makefile:342: phonond.o] Error 1
mv: cannot stat 'gulp': No such file or directory
Any help is very appreciated.
Regards,
Camps