You are here

Error while running exe file.

I get this error "forrtl:severe (29): file not found mage PC Routine Line Sources .... " can anyone help me to solve this problem?

Forums: 

Are you using Windows/Linux/Mac 64/32 ??and please write the complete error message

I use 64-bit Windows. Preprocessor says : Either illegal value or incorrect card somewhere in the following card. LDOM-N, RDOM-N, LPOM-N,RPOM-N. Last value of card was RPOM-N. I run the model properly and with no problems. After than I add some tributary and their files and change nothing with quality parameters. But I got this message. Executable file gives the error: forttl: severe(64): input conversion error, unit, 10, file, D:/Gokhan/... And if it is possible I can share scrrenshot of errors.

In cases like this check the pre-processor screen that shows up to where the control file is checked as correct. Also check the "pre.err" to see where you got the error. for example, in case below it checked the file up to where I defined the grids. So I should look for the error in this part (grid definition)
  • Control file
  • title cards
  • array dimensions
  • time control cards
  • grid definition cards
  • Either illegal value or incorrect card somewhere in the following card
In your case you have to check it this way. With the information you provided, I suppose you defined more that 9 tributaries. Even if you don't run the water quality part you have to write the control file properly. If my guess is correct and you have more than 9 tributaries, you need to add lines for "CTRTRC". For each parameter (e.g., TDS) add one line for each extra 9 tributaries.