First  |  Prev |  Next  |  Last
Pages: 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Any libraries for vector mask and vector population count?
Hi, I have some legacy code which includes calls to the CAL2 vector mask and vector population count instructions. Lacking a nearby Cray, does anyone know of subroutines that implement these instructions? I've searched comp.lang.fortran, sent email to cray computer (no reply, probably no one left writing in CA... 11 Apr 2008 15:06
reading integer text matrix into real array
Greetings -- I have a sparse matrix in Harwell-Boeing (HB) format, which saves space by making use of the fact that all values are single- digit integers. Thus, even though the target array in the program is defined as double values(nnzero) the input format is (40I2) per line (per HB spec) and it's read by a ... 8 Apr 2008 02:17
Using Modules
Hello, I am trying to use the g2 graphics library for Fortran. From what I understood about modules in Fortran, I have to include "use module_name" in my program and then just link it to the correct library. However, this is apparently not true. There is no file in the g2 library that I could include with "us... 6 Apr 2008 06:51
Assumed-shape arrays and dummy procedures
The code below invokes the subroutine wrapcall with an actual procedure argument, bar, whose interface differs from the associated dummy argument, sub, because bar has an explicit-shape argument declared as x(2) whereas sub has an assumed-shape argument x(:). module foo contains subroutine bar(x) r... 6 Apr 2008 20:10
The structure contains one or more misaligned fields
Hello, The Intel Fortran compiler v10.0.023 makes a lot of noise about this warning when compiling a fairly big Fortran code base. What's the implication of this warning? How to fix it (see P.S. for a sample)? If it's harmless, is there a compile flag to disable this warning? Thanks, Fei ... 4 Apr 2008 16:18
Zero-size arrays
Hi fortran gurus ! After several hours of head-scratching, I found a strange behaviour of my fortran compilers against arrays of size 0. I reduced the problem to the source code below. In fortran 90, one can allocate an array with a size of 0. What I understand is that, on this zero-size array, the "allocated... 7 Apr 2008 16:45
Fortran 77 parser
Steven G. Kargl wrote: If all you really care about is Fortran 77, then grab f2c from netlib. Otherwise, I think you severely under estimate the difficult involved with one person writing a Fortran 77 compiler. Actually I have now completed the compiler and it was fiddly but really not that difficult (... 11 Apr 2008 16:42
Vector Algebra Module
"Craig Dedo" <cdedo(a)wi.rr.com> writes: 4. Are there any (free) modules that implement basic vector algebra, like cross product, length etc in different coordinate systems? Don't know about this, nothing show up on google ? Not really. I only found some really basic module on http://... 6 Apr 2008 06:51
ephemeris OT
1995 DW1 Epoch 1995 Feb. 12.0 TT = JDT 2449760.5 Marsden M 240.56097 (2000.0) P Q n 0.87220579 Peri. 325.86185 +0.71396325 +0.69743383 a 1.0849009 Node 349.21340 -0.54541801 +0.49845325 e 0.5139556 Incl. 19.34279 -0.... 15 Apr 2008 04:10
Vector Algebra Module (Was: Some Basic Questions)
"Nikolaus Rath" <Nikolaus(a)rath.org> wrote in message news:871w5nf6qv.fsf(a)nokile.rath.org... Ian Bush <I.J.Bush(a)ku.ca.ld> writes: 4. Are there any (free) modules that implement basic vector algebra, like cross product, length etc in different coordinate systems? Don't know about this, nothin... 3 Apr 2008 15:11
First  |  Prev |  Next  |  Last
Pages: 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31