Re: [Plplot-devel] Typo in bindings/f95/sfstubs.h and bindings/f77/sfstubs.h

2007-01-15 Thread Alan W. Irwin
On 2007-01-15 08:49+0100 Arjen Markus wrote:

 Well, to cut a long story short: we will use unique names - period.

OK.  I noticed you didn't make the commit so I did.  I didn't test the change,
but I think it should be okay.

Alan
__
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__

Linux-powered Science
__

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] Typo in bindings/f95/sfstubs.h and bindings/f77/sfstubs.h

2007-01-14 Thread Arjen Markus
Alan W. Irwin wrote:

Hi Orion:

Thanks for finding this.

Note, the present version should work because the effect of

  common /zzplstr6/ string6
  common /zzplstr6/ string7
  common /zzplstr6/ string8
  common /zzplstr6/ string9

is identical to

  common /zzplstr6/ string6, string7, string8, string9

However, I also suspect repeating the 6 is just a typo, and it is a little
cleaner to keep the common blocks separate so your patch should probably be
applied.  Arjen, do you agree?

  

Hi Alan,

it must have been a typo indeed - it is at the very least much cleaner to
use unique names. What is more, I am not even sure that the effect you
describe on the code with the typo is indeed correct (I have not used
COMMON blocks in years and there are a lot of obscure areas there ...)

Well, to cut a long story short: we will use unique names - period.

Regards,

Arjen

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] Typo in bindings/f95/sfstubs.h and bindings/f77/sfstubs.h

2007-01-11 Thread Orion Poplawski
Orion Poplawski wrote:
 
 Interestingly enough, GNU f95 aborts with an illegal instruction on this 
 code, otherwise I'm not sure it would have been caught.
 

Hmm, even with the changes, I still get an illegal instruction with the
latest Fedora Development f95.

-- 
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA DivisionFAX: 303-415-9702
3380 Mitchell Lane  [EMAIL PROTECTED]
Boulder, CO 80301  http://www.cora.nwra.com


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] Typo in bindings/f95/sfstubs.h and bindings/f77/sfstubs.h

2007-01-11 Thread Alan W. Irwin
On 2007-01-11 15:27-0700 Orion Poplawski wrote:

 Orion Poplawski wrote:

 Interestingly enough, GNU f95 aborts with an illegal instruction on this
 code, otherwise I'm not sure it would have been caught.


 Hmm, even with the changes, I still get an illegal instruction with the
 latest Fedora Development f95.

Hi Orion:

Can you please give a lot more details?  Below I pose a series of questions
that come to mind, but don't hold back any extra information you think might
be relevant beyond these questions.

If that illegal instruction occurs during compilation, what file is being
compiled when it occurs?

If that illegal instruction occurs during excecution of compiled code,
what executable are we talking about and how was it compiled?
Is it just one of the standard examples, or does the problem occur
for all standard examples.  If it was an example, was it built
in the build tree or install tree?

What is the result of the f95 --version command?

On my Ubuntu dapper system I have the following results:

[EMAIL PROTECTED] f95 --version
GNU Fortran 95 (GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5))
Copyright (C) 2006 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING

For that version of gfortran, there is no problem like what you are
describing.  Can you install gcc-4.0.x versions of the gcc compilers for
Fedora to see if that makes a difference for you?

Alan
__
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__

Linux-powered Science
__

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] Typo in bindings/f95/sfstubs.h and bindings/f77/sfstubs.h

2007-01-11 Thread Orion Poplawski
Alan W. Irwin wrote:
 On 2007-01-11 15:27-0700 Orion Poplawski wrote:
 
 Orion Poplawski wrote:
 Interestingly enough, GNU f95 aborts with an illegal instruction on this
 code, otherwise I'm not sure it would have been caught.

 Hmm, even with the changes, I still get an illegal instruction with the
 latest Fedora Development f95.
 
 Hi Orion:
 
 Can you please give a lot more details?  Below I pose a series of questions
 that come to mind, but don't hold back any extra information you think might
 be relevant beyond these questions.

I think this is basically an issue with the Fedora Development compiler. 
  The code compiles find on FC6 and with the latest gfortran snapshot. 
I wouldn't worry yourself about it - although it make my life as the 
Fedora packager of plplot hard.  I haven't been able to compile plplot 
5.7.1 on Fedora Development for a couple months now due to various 
issues.  plplot is hard because it touches nearly every 
compiler/language/library.

-- 
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA DivisionFAX: 303-415-9702
3380 Mitchell Lane  [EMAIL PROTECTED]
Boulder, CO 80301  http://www.cora.nwra.com

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel