[esp-r] Re: printf broken error...
Marco Manzan
manzan at units.it
Tue Jun 23 19:48:16 BST 2009
Alle martedì 23 giugno 2009, hai scritto:
> Thank you Marco.
>
> I solve the errors with your information. In Portugal the decimal separator
> is also the comma character "," and not the point ".".
>
> But another error happens... When i try to change the climate file:
>
> At line 2615 of file esru_libGTK.F
> Fortran runtime error: End of record
>
> Do you think that the reason is the same?
>
> Jon i compiled again the source code with ./Install -d usr/esru90 --gcc4
> but the errors still continue...(no errors in compilation). I solved the
> problem with Marco's information.
>
> Now my problem is the one i reported. Can anyone help me?
>
> Regards,
>
> Paulo Tavares
>
> At 00:18 23-06-2009 +0200, Marco Manzan wrote:
> >Alle lunedì 22 giugno 2009, esp-r-request at lists.strath.ac.uk ha scritto:
> > > Date: Mon, 22 Jun 2009 15:46:48 +0100
> > > From: Paulo Tavares <ptavares at mail.isec.pt>
> > > Subject: [esp-r] printf broken error...
> > > To: esp-r at lists.strath.ac.uk
> > > Message-ID: <5.1.0.14.0.20090622153843.017f1850 at pop.isec.pt>
> > > Content-Type: text/plain; charset="iso-8859-1"
> > >
> > >
> > > Hi all!
> > >
> > > I have compiled the latest version of ESP-r (11.7) without any
> > > errors.I?m using the recommended compilers. But now, when i tried to
> > > open an example occur this error:
> > >
> > > paulo at paulo-laptop:~$ esp-r
> > > paulo at paulo-laptop:~$ At line 2965 of file esru_lib.F
> > > Internal Error: printf is broken
> > >
> > > Another error happens when i try to create a new project:
> > >
> > > paulo at paulo-laptop:~$ esp-r
> > > paulo at paulo-laptop:~$ espokbox selected id iw 2 2
> > > espokbox selected id iw 2 2
> > > At line 375 of file esru_libGTK.F
> > > Internal Error: printf is broken
> > >
> > > What could be the reason for these errors? I think that they are
> > > related...
> > >
> > > Regards,
> > >
> > > Paulo Tavares
> >
> >Hi Paulo
> >
> >I've found the same error, If I remember well I solved it by setting the
> >locale before launching the program. In the shell try setting the
> > LC_NUMERIC variable:
> >
> >export LC_NUMERIC=C
> >
> >I think the problem is due to the internationalization libraries, I have
> > to set this variable, otherwise in italian locale the decimal separator
> > is comma character "," and not the point "." as is supposed to be in
> > esp-r. I don't know if it is true for portogues locale too.
> >
> >I hope this could help you
> >
> >regards,
> >
> >Marco
> >
> >--
> > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> >
> >|Marco Manzan Email: manzan at units.it |
> >|Tel: (+39) 040 5583506 Fax : (+39) 040 572033 |
> >|Dipartimento di Ingegneria Navale, del Mare e per l'Ambiente |
> >|Universita' degli Studi di Trieste |
> >|piazzale Europa 1, 34127 TRIESTE |
> >|_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|
> >
> >_______________________________________________
> >esp-r mailing list
> >esp-r at lists.strath.ac.uk
> >http://lists.strath.ac.uk/mailman/listinfo/esp-r
no I don't think it is due to the same problem, at line 2615 a message is
written to a character string "prompt" and the error means that the lenght of
the strin,g 144 characters, is not enough to contain the information. Pheraps
your directory tree or the names are so long that the message is too long.
you can try to modify the length of "prompt" variable at line 2558 or to
shorten file names.
hope this helps
Marco
--
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|Marco Manzan Email: manzan at units.it |
|Tel: (+39) 040 5583506 Fax : (+39) 040 572033 |
|Dipartimento di Ingegneria Navale, del Mare e per l'Ambiente |
|Universita' degli Studi di Trieste |
|piazzale Europa 1, 34127 TRIESTE |
|_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|
More information about the esp-r
mailing list