Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Fortran runtime error

Fortran runtime error 5 years 1 month ago #34681

  • greeshmaranjith1
  • greeshmaranjith1's Avatar
this error comes when i tries with telemac2d. "at line 242 of file t2dfort.f <unit=7, file = ;T2ATMA'> fortran runtime error : end of file telemac".

what could be the possible reasons.
Attachments:
The administrator has disabled public write access.

Fortran runtime error 5 years 1 month ago #34699

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello,

It is hard to answer without your FORTRAN FILE. Anyway, are you sure that your ASCII ATMOSPHERIC DATA FILE fits the expected format (right order, right number of data for each line...) written in your FORTRAN FILE ?

Best regards,

Chi-Tuan
The administrator has disabled public write access.

Fortran runtime error 5 years 1 month ago #34701

  • greeshmaranjith1
  • greeshmaranjith1's Avatar
hello,
As you suggested, I rechecked my atmospheric file, since my input data has 26895 locations and wind direction and wind speed for 29 timesteps of 3hrs interval, it is given as FILE format with firstly specifying 26895 stations and then 29 rows with 53791 columns.
I am attaching my FORTRAN file with this.
Attachments:
The administrator has disabled public write access.

Fortran runtime error 5 years 1 month ago #34704

  • greeshmaranjith1
  • greeshmaranjith1's Avatar
I tried to share my atm file here but since its too large it's not getting done. can I share you it through the mail if it's ok for you?
The administrator has disabled public write access.

Fortran runtime error 5 years 1 month ago #34710

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello,

Just to start, you can send a sample of your data with:
- the headlines,
- the first 2 time steps and the last 2 time steps.

You can also create a wetransfer link and give the link here.

You can also upload the listing file to show all the error messages. Is the error both in serial and parallel computations?

Anyway, if not finding the problem at once, I would suggest to try with a 1 or 2 locations + 2 time steps just to see if your implementation is OK. And then move to a more complex case (26,895 locations with 2 time steps, 3 time steps).

Chi-Tuan
The administrator has disabled public write access.

Fortran runtime error 5 years 1 month ago #34711

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello again,

Your FORTRAN FILE is exactly the copy of the FORTRAN FILE from the TELEMAC-2D wind_txy example in version 7.2 which is a version no longer supported (I am not sure that the CORFON part is really what you want...). Please use the latest one available (v8p0) where some bugs have been fixed.

Anyway, by reading your message again, reading a line with 53791 values seems quite big. It may be the problem. I am not sure that you need so many values.

I would advise you to simplify your data again and when your simple case works, perhaps you can have a more complex one.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.

Fortran runtime error 5 years 1 month ago #34712

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
I could confirm that some compiler have now a default lengh of line which could create problems. This could be overcome with compiler option.

In my opinion, 26895 locations looks like you created an ascii file with data at each mesh node.
If this is the case, i would advise to create a binary file (selafin format) for the wind...

Regards
Christophe
The administrator has disabled public write access.

Fortran runtime error 5 years 1 month ago #34714

  • greeshmaranjith1
  • greeshmaranjith1's Avatar
I will try following the suggestions and will let you soon the updations.
Since I got the wind data(wind velocities u and v) for a big domain from climate model package in NetCDF format I took the entire data to Matlab to obtain it in the form of wind speed and wind direction as in the example telemac2d>wind_txy.

Is there a way to write .netcdf file to SELAFIN format?
The administrator has disabled public write access.

Fortran runtime error 5 years 1 month ago #34717

  • greeshmaranjith1
  • greeshmaranjith1's Avatar
sample data
Attachments:
The administrator has disabled public write access.

Fortran runtime error 5 years 1 month ago #34718

  • greeshmaranjith1
  • greeshmaranjith1's Avatar
error message
Attachments:
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.