Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to fix : forrtl: severe (24): end-of-file during read, unit 14

2,970 views
Skip to first unread message

nuru...@gmail.com

unread,
Sep 27, 2018, 2:49:43 AM9/27/18
to
hi all,

I try to running modulus 7.0 program, the program was okay when read the data file,until i try to change and running pavement thickness. the error massage :

forrtl: severe (24): end-of-file during read, unit 14, file C:\MODULUS70\MOD
Image PC routine line source
MODU.EXE 00431A39 Unknown Unknown
Unknown

I hope someone can help me with this problem

nurul

Arjen Markus

unread,
Sep 27, 2018, 4:38:54 AM9/27/18
to
I have no idea what that program is or does, but there are several possibilities to solve this:
- Check that the file exists - the name looks as if it is truncated.
- Check that the file has the right information in the right form. The message means that the program tried to read beyond the end of the file, so probably there is some data expected that is not in the file.

Beyond that: do you have the source code? Can you check how the data are read? There may be a discrepancy between the documentation and the actual implementation.

No ready solution :). Just a few tips. You will have to do some work.

Regards,

Arjen

Louis Krupp

unread,
Sep 27, 2018, 5:51:45 AM9/27/18
to
I'm going to guess that Modulus 7.0 is the program described on this
page:

https://pavementdesign.tamu.edu/downloading.htm

and that you're reading an FWD ("Falling Weight Deflectometer") file,
which you've just modified. The program was working before you changed
the file, and now it's not.

"End-of-file during read" means that the program is trying to read
more data than the file contains. There are many ways this can happen.

Typically, files that you can modify with a text editor consist of
lines, with each line ending in what's known as a line terminator,
which could be a carriage return, a line feed, or both of those. You
can think of those as characters that are invisible to you but visible
(and meaningful) to the Fortran run-time library (which is what
"forrtl" means).

If you remove a line from the file, you can get an end-of-file error.
If you add a line or replace the last line and you don't hit the
"Enter" key at the end of the line, your last line could be missing a
line terminator, and you might get an end-of-file error.

Hopefully, you'll have a manual that explains how the FWD file is
organized. If you don't know how it's organized, you might not want to
change it.

If you have a copy of the FWD file that worked, you should be able to
compare it to the file that's not working, and that should help you
figure out what you did that made it stop working.

Good luck.

Louis

Gary Scott

unread,
Sep 27, 2018, 6:59:38 AM9/27/18
to
On 9/27/2018 3:38 AM, Arjen Markus wrote:
> On Thursday, September 27, 2018 at 8:49:43 AM UTC+2, nuru...@gmail.com wrote:
>> hi all,
>>
>> I try to running modulus 7.0 program, the program was okay when read the data file,until i try to change and running pavement thickness. the error massage :
>>
>> forrtl: severe (24): end-of-file during read, unit 14, file C:\MODULUS70\MOD

As Arjen says, this would be a good guess, I think. If the file
name/path is stored in a variable, then check that the character
variable length is specified long enough to hold the file name/path.
Some compilers automatically create an empty file depending on the open
statement characteristics and then attempt to read that empty file.
That might happen if the file name was truncated.

nuru...@gmail.com

unread,
Sep 27, 2018, 7:36:09 AM9/27/18
to
Thats what I think before, this happen because I edit the data. But than I try with the original FWD data, and I still get the problem.
When I input the raw FWD file, the program can read it perfectly, the problem occur when I try to change the pavement thickness or when I try to running the remaining life or baccalculation process.


Louis Krupp

unread,
Sep 27, 2018, 2:33:59 PM9/27/18
to
Did you download the program from the tamu.edu page I mentioned?

If you did, your best bet might be to contact someone at the Texas A&M
Transportation Institute, tell them what you're trying to do, and ask
them if they can help you figure out why it's not working. If either
or both of the authors mentioned in the manual, Wenting Liu and Tom
Scuillion, are still working at the Institute, you should be able to
find their contact information here:

https://tti.tamu.edu/people/directory/?index=A

Did you by any chance download the Fortran source code? (If you're not
sure what that means, the answer is probably "no.")

If the answer is "yes," are you running a compiled version of the
program, or are you running the executable that you downloaded?

Louis

nuru...@gmail.com

unread,
Sep 28, 2018, 2:41:19 AM9/28/18
to
yes, I download the program form the tamu.edu

> If you did, your best bet might be to contact someone at the Texas A&M
> Transportation Institute, tell them what you're trying to do, and ask
> them if they can help you figure out why it's not working. If either
> or both of the authors mentioned in the manual, Wenting Liu and Tom
> Scuillion, are still working at the Institute, you should be able to
> find their contact information here:
>
> https://tti.tamu.edu/people/directory/?index=A
>

I did ask someone from Texas A&M Transportation Institute, the solution they gave are unistall and reinstall than reebot the computer. but that still not solve the problem. I'm still waiting the next advice from them.

> Did you by any chance download the Fortran source code? (If you're not
> sure what that means, the answer is probably "no.")
>
> If the answer is "yes," are you running a compiled version of the
> program, or are you running the executable that you downloaded?
>
> Louis

I just download the program, and I'm not sure the fortran source code exist in the file or not.

I'll wait the response from Institue first.

Thank you

Louis Krupp

unread,
Sep 28, 2018, 3:11:34 AM9/28/18
to
That's usually not a "solution." That's standard advice one often gets
from people who really have no idea what to tell you. Once in a while,
uninstalling and reinstalling and rebooting actually works, and
there's usually no harm in doing it.

>
>> Did you by any chance download the Fortran source code? (If you're not
>> sure what that means, the answer is probably "no.")
>>
>> If the answer is "yes," are you running a compiled version of the
>> program, or are you running the executable that you downloaded?
>>
>> Louis
>
>I just download the program, and I'm not sure the fortran source code exist in the file or not.

Out of curiosity, what's the name of the file you downloaded?

>
>I'll wait the response from Institue first.
>
>Thank you

You're welcome. And good luck.

Louis

nuru...@gmail.com

unread,
Sep 28, 2018, 3:21:32 AM9/28/18
to
the program is Modulus7.0, I download the file for the program from :
https://pavementdesign.tamu.edu/downloading.htm

Louis Krupp

unread,
Sep 28, 2018, 4:48:22 AM9/28/18
to
I know that. What I'm curious about is the name of the file that you
get when you enter your password and click "Submit Password."

Louis

nuru...@gmail.com

unread,
Sep 28, 2018, 5:04:05 AM9/28/18
to
the file name is :
ModulusSetupTexas2018June19th

Arjen Markus

unread,
Sep 28, 2018, 5:32:06 AM9/28/18
to
On Friday, September 28, 2018 at 11:04:05 AM UTC+2, nurul wrote:

>
> the file name is :
> ModulusSetupTexas2018June19th

Your first post indicated a name "C:\MODULUS70\MOD", so it looks as if the name was truncated and therefore the program could not find it.

Try copying the file to one with a shorter name, like "mod" and run the program again.

Regards,

Arjen

nuru...@gmail.com

unread,
Sep 28, 2018, 5:49:31 AM9/28/18
to
ModulusSetupTexas2018June19th is an .exe file, and when I install the program, the folder name in c: is modulus70.

There isn't MOD file in the folder at first (after I install the program, before I open it), but it appear after I try running the program.

Arjen Markus

unread,
Sep 28, 2018, 6:11:04 AM9/28/18
to
Then I misunderstood.

The file "MOD" is created by the program upon its attempt to read the input. Apparently it either expects such a name or somehow the actual file name is truncated.

Try the following: copy your input to c:\modulo70\mod and try again.

Regards,

Arjen

nuru...@gmail.com

unread,
Sep 28, 2018, 6:26:18 AM9/28/18
to
I've try it, but still not working.

In the error massage it said
"Image PC routine Line source MODU.EXE unknown"

I find the "MODU.EXE" file and I try change the name into "MODULUS.EXE" and the error massage became:
"run-time error '53':file not found"

Arjen Markus

unread,
Sep 28, 2018, 6:56:40 AM9/28/18
to
You should NOT rename the executable file but the input file.

Regards,

Arjen

Louis Krupp

unread,
Sep 28, 2018, 2:21:30 PM9/28/18
to
My guess is that any file in the folder C:\MODULUS70 is part of the
program and should not be renamed. I believe you'll really have to
uninstall the program (if you can) and reinstall.

I wouldn't rename anything at this point unless someone at TAMU tells
you to.

Louis

nuru...@gmail.com

unread,
Sep 28, 2018, 2:26:56 PM9/28/18
to
I did try to change the input file name, but still not work.

nuru...@gmail.com

unread,
Sep 28, 2018, 2:49:32 PM9/28/18
to
Yes, you right, I should not rename it. Just do it out of curiosity with the error massage, and I considering about the truncated file name thing.

I just tried install the program in another computer with Windows7 system, and it work (my computer use Windows10, and i did try install the program in another computer with Windows7 before, but it doesn't work). Now i'm wondering why the program work in one computer but not work in another that has the same system (Windows7).
But at least I know now that this program not compatible in Windows10.

nuru...@gmail.com

unread,
Sep 28, 2018, 2:50:47 PM9/28/18
to
0 new messages