Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Re: Program Translation - Nov. 14, 2013

Reply
Thread Tools

Re: Program Translation - Nov. 14, 2013

 
 
mecej4
Guest
Posts: n/a
 
      11-14-2013
On 11/14/2013 8:18 AM, E.D.G. wrote:
> Posted by E.D.G. on November 14, 2013
>
> In view of the fact that I mentioned the following project in
> both Perl and Python Newsgroup notes and did not get any hostile
> responses I am going to take a chance and mention it again in all three
> of these Newsgroups. People posting responses might want to do that in
> just one Newsgroup. I will check all three for responses for a few weeks.
>
>
> This is the Web address for an interesting and apparently unique
> computer program written using FORTRAN 77. As far as I am aware, it has
> never been translated to newer language. There is a BASIC version that
> was apparently written around the same time as the FORTRAN version.
>
> http://www.bfo.geophys.uni-stuttgart.de/etgtab.html
>
> What a number of us would like to do is obtain a copy of the
> program that is written in a newer language so that we can then merge it
> with the programs available through the following Web page. The new
> programs would then be made available as freeware programs to
> researchers around the world. This indirect link is being used in an
> effort to keep Web site related spam to a minimum. I don't collect
> credits by having people visit that (indirect) Web site.
>
> http://www.freewebs.com/eq-forecasting/RH.html
>
> If there are any programmers who might be interested in such a
> translation effort then I would be interested in hearing from them.
>
> Etgtab generates Solid Earth Tide and ocean tide data for any
> location on or inside the planet. I am not aware of any other freeware
> program that can do that.
>
> SunGP available at that second Web site is the only freeware
> program that I know about that generates what are sometimes referred to
> as subsolar and sublunar types of data. The download code was written
> using True BASIC.
>
> If you draw a line between the centers of the sun and the Earth
> then the place where that line crosses the surface of the Earth is the
> subsolar location. The sublunar location is the same type of thing.
> The SunGP program code is also available in Perl code, but not through
> any Web sites.
>
>

If this old program is to be translated or reused, do use this
opportunity to fix some bugs in the program.

The data file contains data for 1200 waves, but the program computes
results for 1212 waves. For waves 1201 to 1212, the program ends up
calculating results based on uninitialized data. Whether or not this
affects the validity of the final output results is something that
someone knowledgeable about the field of application has to judge.

-- mecej4
 
Reply With Quote
 
 
 
 
Gordon Sande
Guest
Posts: n/a
 
      11-14-2013
On 2013-11-14 17:07:45 +0000, mecej4 said:

> On 11/14/2013 8:18 AM, E.D.G. wrote:
>> Posted by E.D.G. on November 14, 2013
>>
>> In view of the fact that I mentioned the following project in
>> both Perl and Python Newsgroup notes and did not get any hostile
>> responses I am going to take a chance and mention it again in all three
>> of these Newsgroups. People posting responses might want to do that in
>> just one Newsgroup. I will check all three for responses for a few weeks.
>>
>>
>> This is the Web address for an interesting and apparently unique
>> computer program written using FORTRAN 77. As far as I am aware, it has
>> never been translated to newer language. There is a BASIC version that
>> was apparently written around the same time as the FORTRAN version.
>>
>> http://www.bfo.geophys.uni-stuttgart.de/etgtab.html
>>
>> What a number of us would like to do is obtain a copy of the
>> program that is written in a newer language so that we can then merge it
>> with the programs available through the following Web page. The new
>> programs would then be made available as freeware programs to
>> researchers around the world. This indirect link is being used in an
>> effort to keep Web site related spam to a minimum. I don't collect
>> credits by having people visit that (indirect) Web site.
>>
>> http://www.freewebs.com/eq-forecasting/RH.html
>>
>> If there are any programmers who might be interested in such a
>> translation effort then I would be interested in hearing from them.
>>
>> Etgtab generates Solid Earth Tide and ocean tide data for any
>> location on or inside the planet. I am not aware of any other freeware
>> program that can do that.
>>
>> SunGP available at that second Web site is the only freeware
>> program that I know about that generates what are sometimes referred to
>> as subsolar and sublunar types of data. The download code was written
>> using True BASIC.
>>
>> If you draw a line between the centers of the sun and the Earth
>> then the place where that line crosses the surface of the Earth is the
>> subsolar location. The sublunar location is the same type of thing.
>> The SunGP program code is also available in Perl code, but not through
>> any Web sites.
>>
>>

> If this old program is to be translated or reused, do use this
> opportunity to fix some bugs in the program.
>
> The data file contains data for 1200 waves, but the program computes
> results for 1212 waves. For waves 1201 to 1212, the program ends up
> calculating results based on uninitialized data. Whether or not this
> affects the validity of the final output results is something that
> someone knowledgeable about the field of application has to judge.
>
> -- mecej4


Indeed! Under NAGWare Fortran it runs to completion with C=all but pulls an
undefined reference when C=undefined is added.

Lots of obsolete features and other warnings but no compiler error messages.

The obvious lessons are that 1. Fortran has very good historical continuity
and 2. the good debugging Fortran compilers do a good job.


 
Reply With Quote
 
 
 
 
Clive Page
Guest
Posts: n/a
 
      11-15-2013
On 14/11/2013 17:36, Gordon Sande wrote:

> Indeed! Under NAGWare Fortran it runs to completion with C=all but pulls an
> undefined reference when C=undefined is added.
>
> Lots of obsolete features and other warnings but no compiler error
> messages.
>
> The obvious lessons are that 1. Fortran has very good historical continuity
> and 2. the good debugging Fortran compilers do a good job.
>
>


I would also check it out with FTNCHEK as well - it usually finds lots
of potential or actual problems with code of this vintage.


--
Clive Page
 
Reply With Quote
 
Jürgen Exner
Guest
Posts: n/a
 
      11-17-2013
mecej4 <(E-Mail Removed)> wrote:
>On 11/14/2013 8:18 AM, E.D.G. wrote:
>> Posted by E.D.G. on November 14, 2013
>>
>> In view of the fact that I mentioned the following project in
>> both Perl and Python Newsgroup notes and did not get any hostile
>> responses [...]


Don't flatter yourself. Just to get the records straight: you didn't get
any replies because any- and everyone in CLPM has plonked you aeons ago.

jue
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Several Perl Questions - Nov. 5, 2013 Charlton Wilbur Perl Misc 3 11-11-2013 05:10 PM
Re: Several Perl Questions - Nov. 5, 2013 Peter J. Holzer Perl Misc 3 11-07-2013 08:32 PM
Re: Several Perl Questions - Nov. 5, 2013 Peter J. Holzer Perl Misc 0 11-05-2013 08:51 PM
Re: Several Perl Questions - Nov. 5, 2013 John Black Perl Misc 0 11-05-2013 08:02 PM
Nov 7 TODAY & Nov 22 - Join Global FreeSW Python GNU(Linux) HW Culturemeeting via VOIP - BerkeleyTIP GlobalTIP - For Forwarding john_re Python 0 11-07-2009 12:11 PM



Advertisments