fortran常见错误代码.docx
- 文档编号:22779580
- 上传时间:2023-04-27
- 格式:DOCX
- 页数:20
- 大小:22.43KB
fortran常见错误代码.docx
《fortran常见错误代码.docx》由会员分享,可在线阅读,更多相关《fortran常见错误代码.docx(20页珍藏版)》请在冰豆网上搜索。
fortran常见错误代码
IfyouhaveinstalledtheParallelSoftwareEnvironmentandcompiledaprogramforparallelexecution,additionalmessagesspecifictoparallelexecutionmayappear(seetheDIGITALHighPerformanceFortran90HPFandPSEManual).
Table8-2Run-TimeErrorMessagesandExplanations
Number
SeverityLevel,Number,andMessageText;ConditionSymbolandExplanation
None1
info:
Fortranerrormessagenumberisnnn
TheDIGITALFortran90messagecatalogfilewasnotfoundonthissystem.Forinformationaboutthemessagefilelocation,seeSection8.1.2oryourDIGITALFortraninstallationguide.Thiserrorhasnoconditionsymbol.
None1
warning:
Couldnotopenmessagecatalog:
for_msg.cat
TheDIGITALFortran90messagecatalogfilewasnotfoundonthissystem.SeeSection8.1.2oryourDIGITALFortraninstallationguideforfurtherinformation.Thiserrorhasnoconditionsymbol.
None1
info:
CheckenvironmentvariableNLSPATHandprotectionofpath-name/for_msg.dat
TheDIGITALFortran90messagecatalogfilewasnotfound.Formoreinformation,seeSection8.1.2oryourDIGITALFortraninstallationguide.Thiserrorhasnoconditionsymbol.
None1
InsufficientmemorytoopenFortranRTLcatalog:
message41
TheDIGITALFortran90messagecatalogfilecouldnotbeopenedbecauseofinsufficientvirtualmemory.Toovercomethisproblem,increasetheper-processdatalimitbyusingthelimit(Cshell)orulimit(BourneandKornshells)commands(seeSection1.1)beforerunningtheprogramagain.
Formoreinformation,seeerror41.Thiserrorhasnoconditionsymbol.
11
severe
(1):
NotaFortran-specificerror
FOR$IOS_NOTFORSPE.AnerrorintheuserprogramorintheRTLwasnotaDIGITALFortran90-specificerrorandwasnotreportablethroughanyotherDIGITALFortran90run-timemessages.IfyoucallERRSNS,anerrorofthiskindreturnsavalueof1(formoreinformationontheERRSNSsubroutine,seetheDIGITALFortranLanguageReferenceManual).
8
severe(8):
Internalconsistencycheckfailure
FOR$IOS_BUG_CHECK.Internalerror.Pleasecheckthattheprogramiscorrect.Recompileifanerrorexistedintheprogram.Ifthiserrorpersists,submitanSPR.
9
severe(9):
Permissiontoaccessfiledenied
FOR$IOS_PERACCFIL.Checkthemode(protection)ofthespecifiedfile.Makesurethecorrectfilewasbeingaccessed.Changetheprotection,specifiedfile,orprocessusedbeforererunningprogram.
10
severe(10):
Cannotoverwriteexistingfile
FOR$IOS_CAOVEEXI.SpecifiedfilexxxalreadyexistswhenOPENstatementspecifiedSTATUS='NEW'(createnewfile)usingI/Ounitx.Makesurecorrectfilename,directorypath,unit,andsoforthwerespecifiedinthesourceprogram.Decidewhetherto:
∙Renameorremovetheexistingfilebeforererunningtheprogram.
∙Modifythesourcefiletospecifydifferentfilespecification,I/Ounit,orOPENstatementSTATUS.
11
info(11)1:
Unitnotconnected
FOR$IOS_UNINOTCON.ThespecifiedunitwasnotopenatthetimeoftheattemptedI/Ooperation.Checkifcorrectunitnumberwasspecified.Ifappropriate,useanOPENstatementtoexplicitlyopenthefile(connectthefiletotheunitnumber).
17
severe(17):
SyntaxerrorinNAMELISTinput
FOR$IOS_SYNERRNAM.Thesyntaxofinputtoanamelist-directedREADstatementwasincorrect.
18
severe(18):
ToomanyvaluesforNAMELISTvariable
FOR$IOS_TOOMANVAL.AnattemptwasmadetoassigntoomanyvaluestoavariableduringanamelistREADstatement.
19
severe(19):
InvalidreferencetovariableinNAMELISTinput
FOR$IOS_INVREFVAR.Oneofthefollowingconditionsoccurred:
∙Thevariablewasnotamemberofthenamelistgroup.
∙Anattemptwasmadetosubscriptascalarvariable.
∙Asubscriptofthearrayvariablewasout-of-bounds.
∙Anarrayvariablewasspecifiedwithtoomanyortoofewsubscriptsforthevariable.
∙Anattemptwasmadetospecifyasubstringofanoncharactervariableorarrayname.
∙Asubstringspecifierofthecharactervariablewasout-of-bounds.
∙Asubscriptorsubstringspecifierofthevariablewasnotanintegerconstant.
∙Anattemptwasmadetospecifyasubstringbyusinganunsubscriptedarrayvariable.
20
severe(20):
REWINDerror
FOR$IOS_REWERR.Oneofthefollowingconditionsoccurred:
∙Thefilewasnotasequentialfile.
∙Thefilewasnotopenedforsequentialorappendaccess.
∙TheDIGITALFortran90RTLI/OsystemdetectedanerrorconditionduringexecutionofaREWINDstatement.
21
severe(21):
Duplicatefilespecifications
FOR$IOS_DUPFILSPE.Multipleattemptsweremadetospecifyfileattributeswithoutaninterveningcloseoperation.ADEFINEFILEstatementwasfollowedbyanotherDEFINEFILEstatementoranOPENstatement
22
severe(22):
Inputrecordtoolong
FOR$IOS_INPRECTOO.Arecordwasreadthatexceededtheexplicitordefaultrecordlengthspecifiedwhenthefilewasopened.Toreadthefile,useanOPENstatementwithaRECL=value(recordlength)oftheappropriatesize.
23
severe(23):
BACKSPACEerror
FOR$IOS_BACERR.TheDIGITALFortran90RTLI/OsystemdetectedanerrorconditionduringexecutionofaBACKSPACEstatement.
241
severe(24):
End-of-fileduringread
FOR$IOS_ENDDURREA.Oneofthefollowingconditionsoccurred:
∙ADIGITALFortran90RTLI/Osystemend-of-fileconditionwasencounteredduringexecutionofaREADstatementthatdidnotcontainanEND,ERR,orIOSTATspecification.
∙Anend-of-filerecordwrittenbytheENDFILEstatementwasencounteredduringexecutionofaREADstatementthatdidnotcontainanEND,ERR,orIOSTATspecification.
∙AnattemptwasmadetoreadpasttheendofaninternalfilecharacterstringorarrayduringexecutionofaREADstatementthatdidnotcontainanEND,ERR,orIOSTATspecification.
ThiserrorisreturnedbyENDandERRSNS.
25
severe(25):
Recordnumberoutsiderange
FOR$IOS_RECNUMOUT.AdirectaccessREAD,WRITE,orFINDstatementspecifiedarecordnumberoutsidetherangespecifiedwhenthefilewasopened.
26
severe(26):
OPENorDEFINEFILErequired
FOR$IOS_OPEDEFREQ.AdirectaccessREAD,WRITE,orFINDstatementwasattemptedforafilewhennopriorDEFINEFILEorOPENstatementwithACCESS='DIRECT'wasperformedforthatfile.
27
severe(27):
ToomanyrecordsinI/Ostatement
FOR$IOS_TOOMANREC.Anattemptwasmadetodooneofthefollowing:
∙ReadorwritemorethanonerecordwithanENCODEorDECODEstatement.
∙Writemorerecordsthanexisted.
28
severe(28):
CLOSEerror
FOR$IOS_CLOERR.AnerrorconditionwasdetectedbytheDIGITALFortran90RTLI/OsystemduringexecutionofaCLOSEstatement.
29
severe(29):
Filenotfound
FOR$IOS_FILNOTFOU.Afilewiththespecifiednamecouldnotbefoundduringanopenoperation.
30
severe(30):
Openfailure
FOR$IOS_OPEFAI.AnerrorwasdetectedbytheDIGITALFortran90RTLI/OsystemwhileattemptingtoopenafileinanOPEN,INQUIRE,orotherI/Ostatement.Thismessageisissuedwhentheerrorconditionisnotoneofthemorecommonconditionsforwhichspecificerrormessagesareprovided.ItcanoccurwhenanOPENoperationwasattemptedforoneofthefollowing:
∙Segmentedfilethatwasnotonadiskorarawmagnetictape
∙StandardI/Ofilethathadbeenclosed
31
severe(31):
Mixedfileaccessmodes
FOR$IOS_MIXFILACC.Anattemptwasmadetouseanyofthefollowingcombinations:
∙Formattedandunformattedoperationsonthesameunit
∙Aninvalidcombinationofaccessmodesonaunit,suchasdirectandsequential
∙ADIGITALFortran90RTLI/Ostatementonalogicalunitthatwasopenedbyaprogramcodedinanotherlanguage
32
severe(32):
Invalidlogicalunitnumber
FOR$IOS_INVLOGUNI.Alogicalunitnumbergreaterthan2,147,483,647orlessthanzerowasusedinanI/Ostatement.
33
severe(33):
ENDFILEerror
FOR$IOS_ENDFILERR.Oneofthefollowingconditionsoccurred:
∙Thefilewasnotasequentialorganizationfilewithvariable-lengthrecords.
∙Thefilewasnotopenedforsequentialorappendaccess.
∙Anunformattedfiledidnotcontainsegmentedrecords.
∙TheDIGITALFortran90RTLI/OsystemdetectedanerrorduringexecutionofanENDFILEstatement.
34
severe(34):
Unitalreadyopen
FOR$IOS_UNIALROPE.ADEFINEFILEstatementspecifiedalogicalunitthatwasalreadyopened.
35
severe(35):
Segmentedrecordformaterror
FOR$IOS_SEGRECFOR.Aninvalidsegmentedrecordcontroldatawordwasdetectedinanunformattedsequentialfile.ThefilewasprobablyeithercreatedwithRECORDTYPE=
'FIXED'or'VARIABLE'ineffect,orwascreatedbyaprogramwritteninalanguageotherthanFortranorFortran90.
36
severe(36):
Attempttoaccessnon-existentrecord
FOR$IOS_ATTACCNON.Adirect-accessREADorFINDstatementattemptedtoaccessbeyondtheendofarelativefile(orasequentialfileondiskwithfixed-lengthrecords)oraccessarecordthatwaspreviouslydeletedinarelativefile.
37
severe(37):
Inconsistentrecordlength
FOR$IOS_INCRECLEN.Anattemptwasmadetoopenadirectaccessfilewithoutspecifyingarecordlength.
38
severe(38):
Errorduringwrite
FOR$IOS_ERRDURWRI.TheDIGITALFortran90RTLI/OsystemdetectedanerrorconditionduringexecutionofaWRITEstatement.
39
severe(39):
Errorduringread
FOR$IOS_ERRDURREA.TheDIGITALFortran90RTLI/OsystemdetectedanerrorconditionduringexecutionofaREADstatement.
40
severe(40):
RecursiveI/Ooperation
FOR$IOS_RECIO_OPE.WhileprocessinganI/Ostatementforalogicalunit,anotherI/Ooperationonthesamelogicalunitwasattempted,suchasafunctionsubprogramthatperformsI/OtothesamelogicalunitthatwasreferencedinanexpressioninanI/Olist
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- fortran 常见 错误代码
![提示](https://static.bdocx.com/images/bang_tan.gif)