You are here

Visual fortran run-time error

Hello there - any help is appreciated. I've set up a dataset for bathymetry and wanted to run the preprocessor. It went alright until it gets to the graph.npt file, which seems to stop the execution. What I did is that I copied the graph.npt file from the example (to be specific, from the Spokane river file since I'm running river water quality simulation) and pasetd into the folder that contains the w2 control file. Then I ran the prepprocessor and it gave me the following error message forrtl severe (64) input conversion error, unit 25, file 'C\directory\graph.npt' and many unknowns for prew2.exe and 'kernel32.dll' the directory in this case is the full path where I saved my control and pasted the graph.npt files. I feel that I've done something wrong by copying the graph.npt file from another file (is it a specific file for different operations or it can be used over and over again??). I didn't get any better info from the manual either since its very brief. many thanks for all the help in advance, bekele[addsig]
Forums: 

It sounds like you have changed either the number of generic constituents, the number of CBOD groups, and/or the number of algal groups in the control file for your example. The graph.npt file is a function of the number of total active constituents. If you reduced the generic constituents to 1 group, then you would have to remove a number of them from the Spokane River application (I think it uses 5 generic groups). Make certain that the number of and types of constituents in the graph.npt file correspond exactly with the constituents listed in the CST ACT card image in the control file. We need to modify the preprocessor to catch errors like these, which we will do in the future.[addsig]

Hello, I am a new user of this software, and I have some problems to run the prew2_ivf preprocessor. It stops in the graph file with the following message: forrtl: severe (64): input conversion error, unit 49, file C:\ [ ... ] Image PC Routine Line Source prew2_ivf.exe 006C86CE Unknown Unknown Unknown I have checked that the number of constituents agrees with the CST ACTIVE from my control file, and it persists. Thank you for any help.

Hi Nancy, I'd also check the # constituents specified in the 'CONSTITUENTS' card at the top of the control file and make sure that the numbers are consistent with the graph.npt file and those in the CST ACTIVE card. If that doesn't work, I'd carefully go over the graph.npt file and check if the formatting is correct. Make sure that there are not any tabs and that the columns are aligned correctly. chris