Re: Program Translation - Nov. 14, 2013

2013-11-18 Thread E.D.G.
Terry Reedy tjre...@udel.edu wrote in message news:mailman.2820.1384745298.18130.python-l...@python.org... A couple of sentences of follow-up would have been sufficient. The experience that I have had over the years with Newsgroup posting is that it is generally better to try to be

Re: Program Translation - Nov. 14, 2013

2013-11-18 Thread E.D.G.
Joel Goldstick joel.goldst...@gmail.com wrote in message news:mailman.2792.1384709379.18130.python-l...@python.org... That being said, I'm guessing that this thing is used in some academic setting. If that's true, why not get a student (who will be much more versed in modern programming

Re: Program Translation - Nov. 14, 2013

2013-11-18 Thread Joel Goldstick
On Mon, Nov 18, 2013 at 12:15 PM, E.D.G. edgrs...@ix.netcom.com wrote: Terry Reedy tjre...@udel.edu wrote in message news:mailman.2820.1384745298.18130.python-l...@python.org... A couple of sentences of follow-up would have been sufficient. The experience that I have had over the

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread E.D.G.
E.D.G. edgrs...@ix.netcom.com wrote in message news:jckdnqiu1zxguxvpnz2dnuvz_qmdn...@earthlink.com... E.D.G. edgrs...@ix.netcom.com wrote in message news:ro-dnch2dptbrhnpnz2dnuvz_rsdn...@earthlink.com... Etgtab FORTRAN project Perl speed comparison This Etgtab FORTRAN computer program

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Ben Bacarisse
E.D.G. edgrs...@ix.netcom.com writes: E.D.G. edgrs...@ix.netcom.com wrote in message news:jckdnqiu1zxguxvpnz2dnuvz_qmdn...@earthlink.com... E.D.G. edgrs...@ix.netcom.com wrote in message news:ro-dnch2dptbrhnpnz2dnuvz_rsdn...@earthlink.com... Etgtab FORTRAN project Perl speed comparison

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread E.D.G.
Ben Bacarisse ben.use...@bsb.me.uk wrote in message news:0.444ab0f1470c9d9a7a89.20131117124526gmt.87li0nqjrt@bsb.me.uk... There is a slight air in unreality to all this, but just in case this is The world of science where programmers work with people who have degrees in the

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Henry Law
On 17/11/13 14:37, E.D.G. wrote: All of my own important programs are written using Perl. I am starting to run into calculation speed limitations with one of the programs. Your Perl code is, er, sub-optimal. There is absolutely no point in doing benchmarks until you've improved the code.

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Roy Smith
In article xmydnrjrq45fsbxpnz2dnuvz8mgdn...@giganews.com, Henry Law n...@lawshouse.org wrote: On 17/11/13 14:37, E.D.G. wrote: All of my own important programs are written using Perl. I am starting to run into calculation speed limitations with one of the programs. Your Perl code is,

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Chris Angelico
On Mon, Nov 18, 2013 at 2:20 AM, Roy Smith r...@panix.com wrote: But, for a non-expert, it may be that while L2 is capable of computing a solution in less time than L1, it takes a lot of expert knowledge to get the L2 program to that state. For the limited amount of programming expertise and

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread James Van Buskirk
E.D.G. edgrs...@ix.netcom.com wrote in message news:f7mdndyty6yrsrxpnz2dnuvz_owdn...@earthlink.com... For one thing, the input and output routines need to be changed. And we want it to be able to generate charts or graphs. The existing program will generate only text data. You can

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread E.D.G.
E.D.G. edgrs...@ix.netcom.com wrote in message news:ro-dnch2dptbrhnpnz2dnuvz_rsdn...@earthlink.com... All of the necessary information regarding this effort has now been obtained. So, further discussions of this particular project will probably take place in only the Fortran Newsgroup.

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread E.D.G.
Roy Smith r...@panix.com wrote in message news:roy-d4b9a4.10202517112...@news.panix.com... Scientists view computer programs as tools, no different from any other I agree totally. There are many scientists who learn how to write programs to help with their scientific work. I doubt

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Tim Prince
On 11/17/2013 8:25 AM, E.D.G. wrote: Roy Smith r...@panix.com wrote in message news:roy-d4b9a4.10202517112...@news.panix.com... Scientists view computer programs as tools, no different from any other I agree totally. There are many scientists who learn how to write programs to help

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Roy Smith
In article bes9a5ffm6...@mid.individual.net, Tim Prince tpri...@computer.org wrote: Perhaps you would start with an automatic indentation tool before translating. You may have a rule against using current syntax and indentation for Fortran, but others don't. Does anybody still use ratfor?

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread J�rgen Exner
mecej4 mecej4_nos...@operamail.com 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.

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Richard Maine
Roy Smith r...@panix.com wrote: In article bes9a5ffm6...@mid.individual.net, Tim Prince tpri...@computer.org wrote: Perhaps you would start with an automatic indentation tool before translating. You may have a rule against using current syntax and indentation for Fortran, but others

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Joel Goldstick
On Sun, Nov 17, 2013 at 12:05 PM, Richard Maine nospam@see.signature wrote: Roy Smith r...@panix.com wrote: In article bes9a5ffm6...@mid.individual.net, Tim Prince tpri...@computer.org wrote: Perhaps you would start with an automatic indentation tool before translating. You may have a

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread E.D.G.
E.D.G. edgrs...@ix.netcom.com wrote in message news:ro-dnch2dptbrhnpnz2dnuvz_rsdn...@earthlink.com... Some additional research indicates that there is an international scientific organization that should be interested in this particular program translation effort. And tomorrow I plan

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Rainer Weikusat
Roy Smith r...@panix.com writes: Henry Law n...@lawshouse.org wrote: On 17/11/13 14:37, E.D.G. wrote: All of my own important programs are written using Perl. I am starting to run into calculation speed limitations with one of the programs. Your Perl code is, er, sub-optimal. There is

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Terry Reedy
On 11/17/2013 5:25 AM, E.D.G. wrote: [snip several paragraphs that have nothing to do with Python] A couple of sentences of follow-up would have been sufficient. 'We decided to go with Fortran and True-Basic and not Python. PERL SPEED COMPARISON Some of the early discussions leading

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Charlton Wilbur
BB == Ben Bacarisse ben.use...@bsb.me.uk writes: BB There is a slight air in unreality to all this, This is a far more polite way of putting it than I would. It's an earthquake predictor based on pseudoscience and technobabble. BB Finally, why are you timing Perl arithmetic? A

Re: Program Translation - Nov. 14, 2013

2013-11-16 Thread Terence
I downloaded the packed file mentioned, extracted the files and had a look at the Fortran sources given: ETGTAB.FOR and ETGTAB.F The ETGTAB.FOR file had double spacing, which Iremoved automatically, then compared the two sources automatically (passing and copying equals and offering choice

Re: Program Translation - Nov. 14, 2013

2013-11-16 Thread William Ray Wing
On Nov 16, 2013, at 4:31 AM, Terence tbwri...@bigpond.net.au wrote: I downloaded the packed file mentioned, extracted the files and had a look at the Fortran sources given: ETGTAB.FOR and ETGTAB.F The ETGTAB.FOR file had double spacing, which Iremoved automatically, then compared the two

Re: Program Translation - Nov. 14, 2013

2013-11-15 Thread Clive Page
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

Re: Program Translation - Nov. 14, 2013

2013-11-15 Thread E.D.G.
E.D.G. edgrs...@ix.netcom.com wrote in message news:ro-dnch2dptbrhnpnz2dnuvz_rsdn...@earthlink.com... The responses regarding that Etgtab program were encouraging. I was not sure if anyone would even recognize the code as the program was written quite a while ago. The main

Program Translation - Nov. 14, 2013

2013-11-14 Thread E.D.G.
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

Re: Program Translation - Nov. 14, 2013

2013-11-14 Thread mecej4
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

Re: Program Translation - Nov. 14, 2013

2013-11-14 Thread Gordon Sande
On 2013-11-14 17:07:45 +, 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