From Linux (ifort) to Windows (IVF+MVS)
I have a mixing (fortran main and c static lib) project.
I have no problem for Linux. But I need to compile this project for Windows. Im
trying to use Intel Visual Fortran for MVS 2010 (Windows 7 (64 Pro)).
I selected the next options:
Fortran/Preprocessor/Preprocessor Source File: Yes(/fpp)
Fortran/Compatibility/Enable F77 Run-time Compatibility: Yes(/f77rtl)
Fortran/Compatibility/Use F77 Integer Constants: Yes(/inconstant)
Fortran/ Diagnostics /Check Routine Interface/: No
For this options compile give me:
remark #5169: Misplaced conditional compilation
directive or nesting too deep
error #6437: A subroutine or function is calling
If I setup the last item to
Fortran/ Diagnostics /Check
Routine Interface/: ->Yes
there are additional errors:
error #7836: If the actual argument is scalar, the
corresponding dummy argument shall be scalar unless the actual argument is an
element of an array that is not an assumed-shape or pointer array, or a
substring of such an element.
error #7983: The storage extent of the dummy
argument exceeds that of the actual argument.
For Linux I use both gfortran and ifort and all ok!
What should I change for Windows?