Fortran运行中给出的系统错误及解决方法.docx
《Fortran运行中给出的系统错误及解决方法.docx》由会员分享,可在线阅读,更多相关《Fortran运行中给出的系统错误及解决方法.docx(24页珍藏版)》请在冰豆网上搜索。
Fortran运行中给出的系统错误及解决方法
Severe_Messages
Mustbecorrected.Theprogram'sexecutionisterminatedwhenthe
errorisencountered,unlessforI/Ostatementstheprogramuses
theENDorERRI/Ostatementspecifierstotransfercontrol,
perhapstoaroutinethatusestheIOSTATspecifier(seeyourDEC
Fortranusermanual).
Theseveremessagesfollow(inalphabeticalorder):
oMESSAGE:
Adjustablearraydimensionerror
NUMBER:
93
EXPLANATION:
Uponentrytoasubprogram,oneofthefollowing
errorswasdetectedduringtheevaluationofdimensioning
information:
-Anupper-dimensionboundwaslessthana
lower-dimensionbound.
-Thedimensionsimpliedanarraythatwaslarger
thanaddressablememory.
oMESSAGE:
Attempttoaccessnon-existentrecord
NUMBER:
36
EXPLANATION:
Adirect-accessREADorFINDstatementattempted
toaccessbeyondtheendofarelativefile(orasequential
fileondiskwithfixed-lengthrecords)oraccessarecordthat
waspreviouslydeletedinarelativefile.
oArrayindexoutofbounds(SIGTRAP)
NUMBER:
138
EXPLANATION:
BreakexceptiongeneratedaSIGTRAPsignal
(describedinsignal(3)).Coredumpfilecreated.
Thecauseisanarraysubscriptthatisoutsidethedimensioned
boundariesofthatarray.Tryrecompilingusingthe-check
boundsoption(perhapswiththef77_dump_flagenvironment
variableset)orexaminethecoredumpfiletodeterminethe
sourcecodeinerror.
oMESSAGE:
Arrayindexoutofboundsforindexn(SIGTRAP)
NUMBER:
139
EXPLANATION:
BreakexceptiongeneratedaSIGTRAPsignal
(describedinsignal(3)).Coredumpfilecreated.
Thecauseisanarraysubscriptthatisoutsidethedimensioned
boundariesofthearrayindexn.Tryrecompilingusingthe
-checkboundsoption(perhapswiththef77_dump_flag
environmentvariableset)orexaminethecoredumpfileto
determinethesourcecodeinerror.
oMESSAGE:
BACKSPACEerror
NUMBER:
23
EXPLANATION:
Anerrorconditionwasdetectedduringexecution
ofaBACKSPACEstatement.
oMESSAGE:
Cannotoverwriteexistingfile
NUMBER:
10
EXPLANATION:
SpecifiedfilexxxalreadyexistswhenOPEN
statementspecifiedSTATUS='NEW'(createnewfile)usingI/O
unitx.Makesurecorrectfilename,directorypath,unit,and
soforthwerespecifiedinthesourceprogram.Decidewhether
to:
-Renameorremovetheexistingfilebeforererunning
theprogram.
-Modifythesourcefiletospecifydifferentfile
specification,I/Ounit,orOPENstatementSTATUS='UNKNOWN'.
oMESSAGE:
Cannotstatfile
NUMBER:
108
EXPLANATION:
Attemptedstatoperationontheindicatedfile
failed.Makesurecorrectfileandunitwerespecified.
oMESSAGE:
CLOSEerror
NUMBER:
28
EXPLANATION:
AnerrorconditionwasdetectedbytheDEC
FortranRTLI/OsystemduringexecutionofaCLOSEstatement.
oMESSAGE:
DELETEerror
NUMBER:
55
EXPLANATION:
AnerrorconditionwasdetectedbytheDEC
FortranRTLI/OsystemduringexecutionofaDELETEstatement.
oMESSAGE:
Dividebyzerocheck(SIGTRAP)
NUMBER:
137
EXPLANATION:
BreakexceptiongeneratedaSIGTRAPsignal
(describedinsignal(3)).Coredumpfilecreated.
Examinecoredumpfileforpossiblecause.
oMESSAGE:
Duplicatefilespecifications
NUMBER:
21
EXPLANATION:
Multipleattemptsweremadetospecifyfile
attributeswithoutaninterveningcloseoperation.ADEFINE
FILEstatementwasfollowedbyanotherDEFINEFILEstatementor
anOPENstatement.
oMESSAGE:
ENDFILEerror
NUMBER:
33
EXPLANATION:
Oneofthefollowingconditionsoccurred:
-Thefilewasnotasequentialorganizationfilewith
variable-lengthrecords.
-Thefilewasnotopenedforsequentialorappendaccess.
-Anunformattedfiledidnotcontainsegmentedrecords.
-TheDECFortranRTLI/Osystemdetectedanerrorduring
executionofanENDFILEstatement.
oMESSAGE:
End-of-fileduringread
NUMBER:
24
EXPLANATION:
Oneofthefollowingconditionsoccurred:
-ADECFortranRTLI/Osystemend-of-filecondition
wasencounteredduringexecutionofaREADstatement
thatdidnotcontainanEND,ERR,orIOSTATspecification.
-Anend-of-filerecordwrittenbytheENDFILEstatement
wasencounteredduringexecutionofaREADstatement
thatdidnotcontainanEND,ERR,orIOSTATspecification.
-Anattemptwasmadetoreadpasttheendofaninternal
filecharacterstringorarrayduringexecutionofaREAD
statementthatdidnotcontainanEND,ERR,orIOSTAT
specification.
oMESSAGE:
Errorduringread
NUMBER:
39
EXPLANATION:
TheDECFortranRTLI/Osystemdetectedanerror
conditionduringexecutionofaREADstatement.
oMESSAGE:
Errorduringwrite
NUMBER:
38
EXPLANATION:
TheDECFortranRTLI/Osystemdetectedanerror
conditionduringexecutionofaWRITEstatement.
oMESSAGE:
Filenamespecificationerror
NUMBER:
43
EXPLANATION:
Thefilenamewasspecifiederroneously.
oMESSAGE:
Filenotfound
NUMBER:
29
EXPLANATION:
Afilewiththespecifiednamecouldnotbefound
duringanopenoperation.
oMESSAGE:
FINDerror
NUMBER:
57
EXPLANATION:
TheDECFortranRTLI/Osystemdetectedanerror
conditionduringexecutionofaFINDstatement.
oMESSAGE:
Floatingoverflowinmathlibrary
NUMBER:
88
EXPLANATION:
Afloating-pointoverflowconditionwasdetected
duringexecutionofamathlibraryprocedure.
oMESSAGE:
Floatingunderflowinmathlibrary
NUMBER:
89
EXPLANATION:
Afloating-pointunderflowconditionwasdetected
duringexecutionofamathlibraryprocedure.Theresult
returnedwaszero.
oMESSAGE:
Format/variable-typemismatch
NUMBER:
61
EXPLANATION:
Anattemptwasmadeeithertoreadorwritea
realvariablewithanintegerfielddescriptor(IorL),orto
readorwriteanintegerorlogicalvariablewitharealfield
descriptor(D,E,F,orG).
oMESSAGE:
FormattedI/Otounitopenforunformattedtransfers
NUMBER:
257
EXPLANATION:
AttemptedformattedI/O(suchaslist-directedor
namelistI/O)toaunitwheretheOPENstatementindicatedthe
filewasunformatted(FORMkeyword).Checkthatthecorrect
unit(file)wasspecified.
IftheFORMkeywordwasnotspecifiedintheOPENstatementand
thefileshouldcontainformatteddata,specify
FORM='FORMATTED'intheOPENstatement.Otherwise,if
appropriate,useunformattedI/O.
oMESSAGE:
Inconsistentfileorganization
NUMBER:
51
EXPLANATION:
ThefileorganizationspecifiedinanOPEN
statementdidnotmatchtheorganizationoftheexistingfile.
oMESSAGE:
InconsistentOPEN/CLOSEparameters
NUMBER:
46
EXPLANATION:
SpecificationsinanOPENorCLOSEstatementwere
inconsistent.Someinvalidcombinationsfollow:
-READONLYwithSTATUS='NEW'orSTATUS='SCRATCH'
-ACCESS='APPEND'withREADONLY,STATUS='NEW'or
STATUS='SCRATCH'
-DISPOSE='SAVE','PRINT',or'SUBMIT'with
STATUS='SCRATCH'
-DISPOSE='DELETE'withREADONLY
oMESSAGE:
Inconsistentrecordlength
NUMBER:
37
EXPLANATION:
Anattemptwasmadetoopenadirectaccessfile
withoutspecifyingarecordlength.
oMESSAGE:
Inconsistentrecordtype
NUMBER:
44
EXPLANATION:
TheRECORDTYPEvalueinanOPENstatementdidnot
matchtherecordtypeattributeoftheexistingfilethatwas
opened.
oMESSAGE:
Infiniteformatloop
NUMBER:
60
EXPLANATION:
TheformatassociatedwithanI/Ostatementthat
includedanI/Olisthadnofielddescriptorstousein
transferringthosevalues.
oMESSAGE:
Inputconversionerror
NUMBER:
64
EXPLANATION:
Duringaformattedinputoperation,aninvalid
characterwasdetectedinaninputfield,ortheinputvalue
overflowedtherangerepresentableintheinputvariable.The
valueofthevariablewassettozero.
oMESSAGE:
Inputrecordtoolong
NUMBER:
22
EXPLANATION:
Arecordwasreadthatexceededtheexplicitor
defaultrecordlengthspecifiedwhenthefilewasopened.To
readthefile,useanOPENstatementwithaRECL=value(record
length)oftheappropriatesize.
oMESSAGE:
Inputstatementrequirestoomuchdata
NUMBER:
67
EXPLANATION:
AnunformattedREADstatementattemptedtoread
moredatathanexistedintherecordbeingread.
oMESSAGE:
Insufficientvirtualmemory
NUMBER:
41
EXPLANATION:
TheDECFortranRTLwasunabletoacquire
additionalvirtualmemoryfromtheoperatingsystem.Usersof
theCandKornshellsmaybeabletoovercomethisproblemby
increasingtheper-processdatalimitusingthelimit(Cshell)
orulimit(Kornshell)commands.Formoreinformation,seethe
csh
(1)andksh
(1)referencepages.
Ifthemaximumper-processdatasizeisalreadyallocated,
increasethevalueofthemaxdsizparameterinthesystem's
configurationfile.Notethateditstotheconfigurationfile
donottakeeffectuntiltheoperatingsystemkernelhasbeen
rebuilt,andthesystemhasbeenrebooted.Formore
information,seethedoconfig
(1)referencepageandyour
operatingsystemguidetosystemconfiguration.
oMESSAGE:
Integeroverflow
NUMBER:
70
EXPLANATION:
Duringanarithmeticoperation,anintegervalue
exceededbyte,word,orlongwordrange.Theresultofthe
operationwasthecorrectlow-orderpart.SeeyourDECFortran
usermanualforrangesofthevariousintegerdatatypes.
oMESSAGE:
Integerzerodivide
NUMBER:
71
EXPLANATION:
Duringanintegerarithmeticoperation,an
attemptwasmadetodividebyzero.Theresultofthe
operationwassettothedividend,whichisequivalentto
divisionby1.
oMESSAGE:
Internalconsistencycheckfailure
NUMBER:
8
EXPLANATION:
Internalsevereerror.Pleasecheckthatthe
programiscorrect.Recompileifanerrorexistsinthe
program.
Ifthiserrorpersists,submitanSPR.
oMESSAGE:
InvalidargumenttoFortranRun-TimeLibrary
NUMBER:
48
EXPLANATION:
Thecompilerpassedaninvalidorimproperly
codedargumenttotheDECFortranRTL.Thiscanoccurifthe
compilerisnewert