fortran常见错误代码 - 图文 联系客服

发布时间 : 星期一 文章fortran常见错误代码 - 图文更新完毕开始阅读d2773c13a21614791711284f

If you have installed the Parallel Software Environment and compiled a program for parallel execution, additional messages specific to parallel execution may appear (see the DIGITAL High Performance Fortran 90 HPF and PSE Manual).

Table 8-2 Run-Time Error Messages and Explanations Severity Level, Number, and Message Text; Condition Symbol and Number Explanation info: Fortran error message number is nnn The DIGITAL Fortran 90 message catalog file was not found on this None 1 system. For information about the message file location, see Section 8.1.2 or your DIGITAL Fortran installation guide. This error has no condition symbol. warning: Could not open message catalog: for_msg.cat None 1 The DIGITAL Fortran 90 message catalog file was not found on this system. See Section 8.1.2 or your DIGITAL Fortran installation guide for further information. This error has no condition symbol. info: Check environment variable NLSPATH and protection of path-name/for_msg.dat None The DIGITAL Fortran 90 message catalog file was not found. For more information, see Section 8.1.2 or your DIGITAL Fortran installation guide. This error has no condition symbol. Insufficient memory to open Fortran RTL catalog: message 41 The DIGITAL Fortran 90 message catalog file could not be opened because of insufficient virtual memory. To overcome this problem, increase the per-process data limit by using the limit (C shell) None 1 or ulimit (Bourne and Korn shells) commands (see Section 1.1) before running the program again. For more information, see error 41. This error has no condition symbol. severe (1): Not a Fortran-specific error FOR$IOS_NOTFORSPE. An error in the user program or in the RTL was not a DIGITAL Fortran 90-specific error and was not reportable 1 1 through any other DIGITAL Fortran 90 run-time messages. If you call ERRSNS, an error of this kind returns a value of 1 (for more information on the ERRSNS subroutine, see the DIGITAL Fortran Language Reference Manual). 1severe (8): Internal consistency check failure FOR$IOS_BUG_CHECK. Internal error. Please check that the program 8 is correct. Recompile if an error existed in the program. If this error persists, submit an SPR. severe (9): Permission to access file denied FOR$IOS_PERACCFIL. Check the mode (protection) of the specified 9 file. Make sure the correct file was being accessed. Change the protection, specified file, or process used before rerunning program. severe (10): Cannot overwrite existing file FOR$IOS_CAOVEEXI. Specified file xxx already exists when OPEN statement specified STATUS= ' NEW ' (create new file) using I/O unit x. Make sure correct file name, directory path, unit, and so forth were specified in the source program. Decide whether to: 10 Rename or remove the existing file before rerunning the program. ? Modify the source file to specify different file specification, I/O unit, or OPEN statement STATUS. ? info (11) 1: Unit not connected FOR$IOS_UNINOTCON. The specified unit was not open at the time of 11 the attempted I/O operation. Check if correct unit number was specified. If appropriate, use an OPEN statement to explicitly open the file (connect the file to the unit number). severe (17): Syntax error in NAMELIST input 17 FOR$IOS_SYNERRNAM. The syntax of input to a namelist-directed READ statement was incorrect. severe (18): Too many values for NAMELIST variable 18 FOR$IOS_TOOMANVAL. An attempt was made to assign too many values to a variable during a namelist READ statement. severe (19): Invalid reference to variable in NAMELIST input FOR$IOS_INVREFVAR. One of the following conditions occurred: 19 The variable was not a member of the namelist group. ? An attempt was made to subscript a scalar variable. ? ? ? ? ? ? ? A subscript of the array variable was out-of-bounds. An array variable was specified with too many or too few subscripts for the variable. An attempt was made to specify a substring of a noncharacter variable or array name. A substring specifier of the character variable was out-of-bounds. A subscript or substring specifier of the variable was not an integer constant. An attempt was made to specify a substring by using an unsubscripted array variable. severe (20): REWIND error FOR$IOS_REWERR. One of the following conditions occurred: 20 ? The file was not a sequential file. ? The file was not opened for sequential or append access. ? The DIGITAL Fortran 90 RTL I/O system detected an error condition during execution of a REWIND statement. severe (21): Duplicate file specifications FOR$IOS_DUPFILSPE. Multiple attempts were made to specify file 21 attributes without an intervening close operation. A DEFINE FILE statement was followed by another DEFINE FILE statement or an OPEN statement severe (22): Input record too long FOR$IOS_INPRECTOO. A record was read that exceeded the explicit 22 or default record length specified when the file was opened. To read the file, use an OPEN statement with a RECL= value (record length) of the appropriate size. severe (23): BACKSPACE error 23 FOR$IOS_BACERR. The DIGITAL Fortran 90 RTL I/O system detected an error condition during execution of a BACKSPACE statement. severe (24): End-of-file during read 1FOR$IOS_ENDDURREA. One of the following conditions occurred: 24 ? A DIGITAL Fortran 90 RTL I/O system end-of-file condition was encountered during execution of a READ statement that did not contain an END, ERR, or IOSTAT specification. ? An end-of-file record written by the ENDFILE statement was encountered during execution of a READ statement that did not contain an END, ERR, or IOSTAT specification. ? An attempt was made to read past the end of an internal file character string or array during execution of a READ statement that did not contain an END, ERR, or IOSTAT specification. This error is returned by END and ERRSNS. severe (25): Record number outside range 25 FOR$IOS_RECNUMOUT. A direct access READ, WRITE, or FIND statement specified a record number outside the range specified when the file was opened. severe (26): OPEN or DEFINE FILE required 26 FOR$IOS_OPEDEFREQ. A direct access READ, WRITE, or FIND statement was attempted for a file when no prior DEFINE FILE or OPEN statement with ACCESS= ' DIRECT ' was performed for that file. severe (27): Too many records in I/O statement FOR$IOS_TOOMANREC. An attempt was made to do one of the following: 27 Read or write more than one record with an ENCODE or DECODE statement. ? Write more records than existed. ? severe (28): CLOSE error 28 FOR$IOS_CLOERR. An error condition was detected by the DIGITAL Fortran 90 RTL I/O system during execution of a CLOSE statement. severe (29): File not found 29 FOR$IOS_FILNOTFOU. A file with the specified name could not be found during an open operation. severe (30): Open failure FOR$IOS_OPEFAI. An error was detected by the DIGITAL Fortran 90 RTL I/O system while attempting to open a file in an OPEN, INQUIRE, 30 or other I/O statement. This message is issued when the error condition is not one of the more common conditions for which specific error messages are provided. It can occur when an OPEN