Welcome, Guest
Username: Password: Remember me

TOPIC: Failed to run - error in files names

Failed to run - error in files names 12 years 1 day ago #6483

  • ygrisard
  • ygrisard's Avatar
Hi,

I succeeded in compiling telemac v6p2 on win XP32, with gfortran and python. Unfortunately, trying to run validation case, after a while, I always get the same error:

LOGICAL UNIT 3 ERROR LINE 302
LOGICAL UNIT 3 ERROR LINE 302
LOGICAL UNIT 3 ERROR LINE 303
LOGICAL UNIT 3 ERROR LINE 303
LOGICAL UNIT 3 ERROR LINE 304
LOGICAL UNIT 3 ERROR LINE 304
LOGICAL UNIT 3 ERROR LINE 305
LOGICAL UNIT 3 ERROR LINE 305
LOGICAL UNIT 3 ERROR LINE 306
LECDON_TELEMAC2D: ERROR IN FILES NAMES
I= 1 NAME=

PLANTE: PROGRAM STOPPED AFTER AN ERROR

Did someone experience similar problem?

Any advice would be appreciated,

Thanks a lot,

Yohann
The administrator has disabled public write access.

Failed to run - error in files names 11 years 11 months ago #6489

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Unit 3 is the steering file, and its name seems to be void. You can first check that the keyword STEERING FILE is not given in your steering file (if it is remove it). Then look in the temporary folder of the case if there is a file T2DCAS and what is inside (it should be your steering file). The test that stops you is a new one in 6.2, it checks possible errors in the dictionary that were overlooked in version 6.1, like a bad numbering of files, which resulted in a blank name. You can also check what happens at line 302 of the steering file, it is strange that no error happens before.

Regards,

JMH
The administrator has disabled public write access.

Failed to run - error in files names 11 years 11 months ago #6508

  • ygrisard
  • ygrisard's Avatar
Hello,

thanks a lot for your quick answer, you are right, errors did happen before the line 302, the listing I gave to you only shows the last lines...sorry, I did not think it was relevant to copy everything. But in reality, it indicates errors at every single line of the steering file.
So, if I understood well, it is related to a check that is performed in the new version 6.2 and was not in the previous version of TELEMAC. That makes sense because I did run validation cases from version 6.1 and 6.0 since I did not find any validation case for v6.2 on the web site.
I did what you recommended but I did not find the keyword STEERING FILE in the steering file and the steering file appears properly in the T2DCAS file of the temporary folder.

What should I do in order to transform a steering file from v6.1 to v6.2? Does TELEMAC provide any validation case for the version 6.2?

Regards,

Thanks again
The administrator has disabled public write access.

Failed to run - error in files names 11 years 11 months ago #6513

  • jmhervouet
  • jmhervouet's Avatar
Hello,

I would suspect, either that your installation is not fully 6.2, for example that the dictionary remained 6.1, or that your parameter file has carriage returns from another platform, like Windows in a Linux environment. Otherwise to update a steering file please have a look at the feature logs (bottom of the homepage of this site). But I do not think that it is the issue here (it would behave differently, with a clear error message).

Regards,

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

Failed to run - error in files names 11 years 11 months ago #6518

  • ygrisard
  • ygrisard's Avatar
Hello,

Thank you for your patience, I do not believe that the problem is coming from the installation, I did SVN subversion, updated and re-compiled with success. The T2DCAS file shows properly the v6.2 dico.

I did try to run the validation case 017_confluence (v6.1) and the same error appears. The run starts very nicely and suddenly shows the error. A strange thing is that it shows me errors in the steering file on lines 200 and more despite the fact that my steering file does not contain more than 90 lines.
Maybe the carriage returns in the parameter file are the problem, but I can not see it.

Any suggestion would be appreciated, thanks,

Here the T2DCAS file:
SUPG OPTION : 2;2
 STEERING FILE : 't2d_confluence.cas'
 TITLE : 'RIVER CONFLUENCE'
 FORTRAN FILE : 't2d_confluence.f'
 TIME STEP : 0.1
 MASS-BALANCE : TRUE
 IMPLICITATION FOR DEPTH : 0.6
 PARALLEL PROCESSORS : 0
 VELOCITY DIFFUSIVITY : 0.001
 RESULTS FILE : 'r2d_confluence.slf'
 BOUNDARY CONDITIONS FILE : 'geo_confluence.cli'
 GEOMETRY FILE : 'geo_confluence.slf'
 INITIAL ELEVATION : 0.2852
 LISTING PRINTOUT PERIOD : 100
 NUMBER OF TIME STEPS : 1000
 VELOCITY PROFILES : 2;2;2
 PRESCRIBED FLOWRATES : 0.0;0.035;0.07
 IMPLICITATION FOR VELOCITY : 0.6
 DICTIONARY :
    'C:\\opentelemac\\v6p2\\telemac2d\\tel2d_v6p2\\lib\\telemac2dv6p2
    .dico'
 INITIAL CONDITIONS : 'CONSTANT ELEVATION'
 TREATMENT OF THE LINEAR SYSTEM : 2
 SOLVER OPTION : 3
 VARIABLES FOR GRAPHIC PRINTOUTS : 'U,V,H,S,B'
 FRICTION COEFFICIENT : 62.0
 INFORMATION ABOUT SOLVER : TRUE
 SOLVER : 1
 H CLIPPING : FALSE
 MASS-LUMPING ON H : 1.0
 TYPE OF ADVECTION : 1;5
 LAW OF BOTTOM FRICTION : 3
 GRAPHIC PRINTOUT PERIOD : 100
 TURBULENCE MODEL : 1
 COMPUTATION CONTINUED : FALSE
 VALIDATION : TRUE
 PRESCRIBED ELEVATIONS : 0.2852;0.0;0.0
 REFERENCE FILE : 'f2d_confluence.slf'

and here the parameter file
/-------------------------------------------------------------------/
/   TELEMAC-2D      -  VALIDATION TEST CASE NUMBER 11  -  1         /
/                          RIVER CONFLUENCE                         /
/-------------------------------------------------------------------/
/
/ HP C3700 compilateur HP      : 100 s  version 5.7 20/04/2007
/ HP C3700 compilateur Nag     : 236 s  version 5.7 20/04/2007
/ Dell 2.8 MHz compilateur pgi :  59 s  version 5.7 20/04/2007
/
/ HP C3700 compilateur HP      :  90 s  version 5.8 30/11/2007
/ HP C3700 compilateur Nag     : 238 s  version 5.8 26/12/2007 
/ Dell 2.8 MHz compilateur pgi :  60 s  version 5.8 19/12/2007
/
/ HP C3700 compilateur HP      :  91 s  version 5.9 16/10/2008
/ HP C3700 compilateur Nag     : 238 s  version 5.9 17/10/2008
/ Dell 2.8 MHz compilateur pgi :  57 s  version 5.9 16/10/2008
/
/ WAVE EQUATION
/
/ HP C3700 compilateur HP      :  24 s  version 6.0 24/11/2009
/ HP C3700 compilateur Nag     :  63 s  version 6.0 27/11/2009
/ Dell 2.8 MHz compil.   Intel :  11 s  version 6.0 26/11/2009
/
/----------------------------------------------
/  COMPUTER INFORMATIONS
/----------------------------------------------
/
GEOMETRY FILE                   = geo_confluence.slf
FORTRAN FILE                    = t2d_confluence.f
BOUNDARY CONDITIONS FILE        = geo_confluence.cli
RESULTS FILE                    = r2d_confluence.slf
REFERENCE FILE                  = f2d_confluence.slf
PARALLEL PROCESSORS             = 0
/
/----------------------------------------------
/  GENERAL INFORMATIONS - OUTPUTS
/----------------------------------------------
/
TITLE                            = 'RIVER CONFLUENCE'
VARIABLES FOR GRAPHIC PRINTOUTS  = 'U,V,H,S,B'
GRAPHIC PRINTOUT PERIOD          = 100
LISTING PRINTOUT PERIOD          = 100
VALIDATION                       = YES
MASS-BALANCE                     = YES
TIME STEP                        = 0.1
NUMBER OF TIME STEPS             = 1000
INFORMATION ABOUT SOLVER         = YES
/
/----------------------------------------------
/  INITIAL CONDITIONS
/----------------------------------------------
/
COMPUTATION CONTINUED            = NO 
INITIAL CONDITIONS               = 'CONSTANT ELEVATION'
INITIAL ELEVATION                = 0.2852
/
/----------------------------------------------
/  BOUNDARY CONDITIONS
/----------------------------------------------
/
PRESCRIBED FLOWRATES             = 0.;0.035;0.070
PRESCRIBED ELEVATIONS            = 0.2852;0.;0.
VELOCITY PROFILES                = 2;2;2
/
/----------------------------------------------
/  PHYSICAL PARAMETERS
/----------------------------------------------
/
LAW OF BOTTOM FRICTION           = 3
FRICTION COEFFICIENT             = 62.
TURBULENCE MODEL                 = 1
VELOCITY DIFFUSIVITY             = 1.E-3
/
/----------------------------------------------
/  NUMERICAL PARAMETERS 
/----------------------------------------------
/
TYPE OF ADVECTION                 = 1;5
SUPG OPTION                       = 2;2
TREATMENT OF THE LINEAR SYSTEM    = 2       
SOLVER                            = 1
SOLVER OPTION                     = 3  
IMPLICITATION FOR DEPTH           = 0.6
IMPLICITATION FOR VELOCITY        = 0.6     
MASS-LUMPING ON H                 = 1.
H CLIPPING                        = NO         
/          
&FIN
The administrator has disabled public write access.

Failed to run - error in files names 11 years 11 months ago #6519

  • jmhervouet
  • jmhervouet's Avatar
Hello,

OK, I see that the parameter file is now rewritten into T2DCAS by Python. If we look carefully at the message, it is actually the file 1, i.e. the geometry file, that ends up with no name, whereas it is in the parameter file. I find strange the line giving the name of the dictionary, it seems that there are spaces before .dico, this would be then a Python problem. I would then hint that the dictionary is not read properly or not found, then that no keyword is known, and so you have a mistake at every line in the parameter file. However this line cannot be shorter, as you have directly installed on disk C, so this problem should happen to everybody..., unless this is your specific version of Python that does this.

My question is then for Sébastien Bourban or Alain Weisgerber, about the dictionary line. I wonder also why we have double \, is it like double / ? is this understood by Fortran as a single \ ?

With best regards,

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

Failed to run - error in files names 11 years 11 months ago #6520

  • ygrisard
  • ygrisard's Avatar
Hello,

I have python 2.7.3, and I'd like to add that I did not succeed in lauching the run by typing the recommended line of the installation guide:

\> python runcode.py telemac2d -s t2d_confluence.cas

but by simply typing:

\> runcode.py telemac2d -s t2d_confluence.cas

Is this relevant?

Thanks again,
The administrator has disabled public write access.
Moderators: pham

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