Welcome, Guest
Username: Password: Remember me

TOPIC: PROBLEM WITH READ TEXT FILE IN TOMAWAC

PROBLEM WITH READ TEXT FILE IN TOMAWAC 9 years 7 months ago #16637

  • SEBJAM
  • SEBJAM's Avatar
Thank you for your reply.

We're trying to couple Tomawac, for which we have a wave/period/direction-timeseries file as boundary, with T3D.

In order to specify the incoming Waves we have used the limwac-subroutine and for the coupling we use the wac-subroutine for T3D.

We're getting the following error message:

error_message.png


Thank your for your help!
The administrator has disabled public write access.

PROBLEM WITH READ TEXT FILE IN TOMAWAC 9 years 7 months ago #16641

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Well this is an end of file on unit 26, which is your formatted data file 1. What I do not understand is that this is the unit number when you are not in coupling mode. In coupled mode this should not be this number, as you have certainly less than 26 files. Are you really coupling here ? If you are not coupling then look what you have in the file and how you read it, and possibly add prints to see where it reaches the end.

Regards,

JMH
The administrator has disabled public write access.

PROBLEM WITH READ TEXT FILE IN TOMAWAC 9 years 7 months ago #16651

  • SEBJAM
  • SEBJAM's Avatar
Thank you for your help! If I remove the boundary-file (the one with wave/period/direction) then the coupling works. So I think I'm coupling.

What prints should I add in order to see where it reaches the end?

Best regards
The administrator has disabled public write access.

PROBLEM WITH READ TEXT FILE IN TOMAWAC 9 years 7 months ago #16652

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Try to print what is read in your file FORMATTED DATA FILE 1. Or look into the temporary folder what is in file fort.26. I am also surprised by the mpi mistakes that appear in your listing before the "end of file" errors. Is the concurrent reading of the same file by different programmes allowed by your system ? Another strange thing that I do not understand is that FORMATTED DATA FILE 1 is declared as "PARAL" in its string "SUBMIT" in the dictionary. This means that it should appear in parallel in several copies (4 in your case) with extensions. Other hint: do you have declared 4 processors in Telemac-2D and Tomawac ? When coupling Telemac-2D and Sisyphe only the value given by Telemac-2D is considered for both and it should be the same in Tomawac but well, just in case...

Regards,

JMH
The administrator has disabled public write access.

PROBLEM WITH READ TEXT FILE IN TOMAWAC 9 years 7 months ago #16654

  • SEBJAM
  • SEBJAM's Avatar
The fort.26 is empty, but I don't know how to print what is read in the formatted data file.

How do I check that system allows concurrent reading of same file?

I have double-checked the parallel and they are the same both for Telemac 3d and Tomawac.
The administrator has disabled public write access.

PROBLEM WITH READ TEXT FILE IN TOMAWAC 9 years 7 months ago #16656

  • SEBJAM
  • SEBJAM's Avatar
In the temporary folder there is a file called WACFO1 where the data from the formatted file is written. I'm attaching it if it is any useful.


File Attachment:

File Name: WACFO1.txt
File Size: 29 KB
The administrator has disabled public write access.

PROBLEM WITH READ TEXT FILE IN TOMAWAC 9 years 7 months ago #16657

  • jmhervouet
  • jmhervouet's Avatar
Hello,

So you have a mismatch of files, should not you read on canal WAC_FILES(WACFO1)%LU ?

JMH
The administrator has disabled public write access.

PROBLEM WITH READ TEXT FILE IN TOMAWAC 9 years 7 months ago #16658

  • SEBJAM
  • SEBJAM's Avatar
Hi!
Sorry for my many stupid questions, but I'm a beginner of this.

What do you mean with "read on canal WAC_FILES(WACFO1)%LU"

Maybe I should clarify that the file-extension was added in order to be able to attach it to the forum. On the computer the file is named only WACFO1

Best regards
The administrator has disabled public write access.

PROBLEM WITH READ TEXT FILE IN TOMAWAC 9 years 7 months ago #16662

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Please post you steering files and Fortran files so that we understand what you do. I suspect that you declare a file and try to read another one, there is a mismatch of this kind in what you do since you read an empty file while the correct data file has another name.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

PROBLEM WITH READ TEXT FILE IN TOMAWAC 9 years 7 months ago #16663

  • SEBJAM
  • SEBJAM's Avatar
Ok, thank you!

I'm attaching the files.
Attachments:
The administrator has disabled public write access.
Moderators: pham

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