The execution fails at the start of a simple Fortran 77 program when reading a file-name typed on the screen, i.e.
read(*, '(a10)' ) infile_root
the error message is attached below.
I am running Windows 10 , 64 bit, with Intel Parallel Studio XE Composer Edition for Fortran , version 2022, wih Microsoft Visual Studio 2019.
debug assertion failed,
file minkernel\crts\inc\corecrt_innternal_string_templates.h line 218
Expression : (L"Buffer is too small" &&0)
This error did not occur with the Intel Parallel Studio version 2016 and Visual Studio 2013.
Presuming this is a QuickWin app and is the same cause I think you will find that problem is fixed in the latest release.
Once I know the latest version that fixed the problem, can I execute the " .exe" without uninstalling the present version, or should I uninstall first before re-installing the latest version ?
Excuse my ignorance as I know very little if these matters.
I only use Fortran to get answers to math problems.
The current version of the Intel Fortran Compiler Classic (ifort) is available to download here. It's part of the oneAPI HPC Toolkit.
Intel Parallel Studio XE is only available to our customers who have paid for support.
The oneAPI versions are available to download at no charge. However, support is only via the Intel Community Forums. You can sign up for comercial support and pay for it here.
I keep on trying to download the latest Intel Fortran compiler but the site persists that it has problems as stated below :
We are experiencing issues with the Sign In and Sign Up functionality. The product is available using the Continue as Guest option (where available). The team is actively working on the issue. We apologize for any inconvenience.
Will that be fixed in the forthcoming future ?????
You can get the "standalone component" from https://software.intel.com/content/www/us/en/develop/articles/oneapi-standalone-components.html but it does NOT fix this bug. You will have to wait for some future update that includes the bug fix.
Thank you Steve. You were always knowledgeable since the good old days of the COMPAC compiler.
In the meantime, I got around the problem with a quick and dirty fix :
read(55, '(a)' ) infile_root
unit 55 can be any file that is not used in the program, and "newname.dat" is a data file containing the holoryth name of the actual data-file "infile_root" I am trying to read.
Thanks for noting that the toolkit version 2022.0.3 would still not resolve the issue, as I would have spent frustrating time uninstalling the present version then installing the 2022.0.3 toolkit only to end up at the same problem !!!
The "classic" compiler (ifort) and the new LLVM-based compiler (ifx) have diverged in version numbering. 2022.1.0 is the number of the ifx compiler released in March - 2021.6.0 is the corresponding ifort version.
Did you register at the Intel Registration Center when you downloaded the previous version? If so, you can download from there.
If you want only the Fortran environment (ifort and ifx), see Ron's thread in this Forum.
Or you can download the oneAPI Toolkits here. Fortran compilers are part of the HPC Toolkit.