Hello,
I'm using vasp 4.6.28 and I compile with Intel Fortran compiler
(version 9.1). The makefile "makefile.linux_ifc_P4", which is the
one I'm supposed to use, has the following lines:
fft3dlib.o : fft3dlib.F
$(CPP)
$(FC) [...cut...] -e95 [...]
This -e95 causes errors:
fortcom: Error: fft3dlib.f90, line 1625: Sharing of a DO termination statement by more than one DO statement is an obsolescent feature in Fortran 95. Use an END DO or CONTINUE statement for each DO statement. [20]
20 CONTINUE
---^
fortcom: Error: fft3dlib.f90, line 1702: The computed GOTO statement is an obsolescent feature in Fortran 95.
GOTO (10,50,90,130,170,210,250),IGO
------^
fortcom: Error: fft3dlib.f90, line 2623: The computed GOTO statement is an obsolescent feature in Fortran 95.
GOTO (10,50,90,130,170,210,250),IGO
------^
fortcom: Error: fft3dlib.f90, line 3529: The computed GOTO statement is an obsolescent feature in Fortran 95.
GOTO (10,50,90,130,170,210,250),IGO
------^
fortcom: Error: fft3dlib.f90, line 4062: The computed GOTO statement is an obsolescent feature in Fortran 95.
GOTO (1010,1050,1090,1130,1170,1210,1250),IGO
------^
compilation aborted for fft3dlib.f90 (code 1)
make: *** [fft3dlib.o] Error 1
When I remove the -e95 flag, it compiles well, but is the code still OK?
This flag has been put there for a good reason, I guess.
--------------
Unrelated to above:
The line
BLAS=-L/opt/intel/mkl/lib/32 -lmkl_p4 -lpthread
needs also a "-lvml" in order to link properly.
(this is with MKL 9.0).
Regards,
Rob.
makefile.linux_ifc_P4: error with -e95 flag.
Moderators: Global Moderator, Moderator
-
- Jr. Member
- Posts: 98
- Joined: Fri Apr 14, 2006 5:08 am
- Location: Suwon - Korea
makefile.linux_ifc_P4: error with -e95 flag.
Last edited by lahaye on Thu Apr 12, 2007 5:14 am, edited 1 time in total.
-
- Administrator
- Posts: 2921
- Joined: Tue Aug 03, 2004 8:18 am
- License Nr.: 458
makefile.linux_ifc_P4: error with -e95 flag.
please lookup previous forum discussions: these errors are due to the -e95 flag which turns the compiler warnings to errors. The respective lines are standard fortran 77 and have to be processed correctly by any fortran 90 compiler as well.
Last edited by admin on Thu Apr 12, 2007 10:42 am, edited 1 time in total.