|
Derived types and allocatable I am still trying to get to grips with how one should copy derived types that contain allocatable arrays. The test program below, when compiled with IVF 10.1, displays the cdata array contents correctly, but gives an access violation in the deallocation step. If I neglect the deallocation there are no error mes... 7 May 2008 14:53
Compiler writer questions Hi, This request just went out to our team: itemize what we would want out of a compiler-writer visit I can only think of two related questions: What areas of the F95 cause the most pain w.r.t. optimization? What can we do as code developers to "help" the compiler? Other ideas? Thanks, --... 7 May 2008 14:04
Build project in CVF6.6c by using hotkey dpb wrote: Craig Powers wrote: (I haven't used the newer developer studio in a while, so I don't remember exactly how they have things set up, but the whole "solution" thing led both to different bindings and to the "VS98 compatibility" not actually working the same.) I don't have a clu... 7 May 2008 11:35
Fortran templates Hi all fortran gurus ! I would like to discuss the current methods to manage templates in fortran, following the thread http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/f055f870774d98a0/110fa05197d7b709?lnk=gst&q=templates+fortran#110fa05197d7b709 which was very interesting, but showed no... 7 May 2008 10:47
Treacherous Behavior of "gfortran" Compiler? Dear Everyone: I use a "Power Mac G5", and "gfortran" compiler for my Fortran 90 codes. (The same compiler also compiles Fortran 95 and 03.) Recently on two occasions, I attempted to treat the size of an array as larger than it was defined at the beginning of my Fortran 90 code. (This was a long code and was m... 7 May 2008 07:31
weird g77 and gfortran Hi guys....I've spent the whole night trying to figure out about this question. Please help me if you have any clue. Thanks a lot. The code is very easy. I'm trying to call a fortran function from C. The code is as follow: =========C code========= #include "stdio.h" extern float r_ (int * d, float *b); ... 7 May 2008 04:05
deepening into fortran 90,95, 2003 Greg Lindahl wrote: In article <1igeuzv.sq8yt61wrjlyxN%wclodius(a)los-alamos.net>, William Clodius <wclodius(a)los-alamos.net> wrote: Indirectly through the BACKSPACE command, you mean? You can't backspace efficiently on a disk without the postfix. You can, but it requires the run time library to ret... 6 May 2008 22:25
Intel Fortran compiler for Windows crashing Ron Ford wrote: "Jon Harrop" <jon(a)ffconsultancy.com> wrote in message news:YtydndQ2aLuEnYDVnZ2dnUVZ8tjinZ2d(a)plusnet... No. I just assumed it would work. Now I can't try it because the trial license has expired. That's the rub with 30-day trials. You have just enough time to discover the frustra... 6 May 2008 22:25
Are f.p. manipulation functions only used in initialization? On 2008-05-06, James Van Buskirk <not_valid(a)comcast.net> wrote: "Janne Blomqvist" <foo(a)bar.invalid> wrote in message news:slrng204af.eif.foo(a)vipunen.hut.fi... On 2008-05-05, James Van Buskirk <not_valid(a)comcast.net> wrote: While we are on the subject of Bessel functions, did you notice that g... 6 May 2008 22:25
A Faster/Better way? Hi All, I have an unformatted file, and I open it for reading in big endian mode. The file has a repetitive structure (is a time step report for a simulation): at the beginning of every time step, there is this pseudo-declaration: 'PARAMS' keyword number kind where "keyword" is an 8 character string, "... 6 May 2008 22:25
curious about 8 byte LOGICAL... Quite a few compilers support different representations for LOGICAL types: 1 byte, 2 byte 4 byte...and 8 byte? What applications are there for 8 byte LOGICAL types? (Or for 2 byte types?) I understand that the default size is often 4 bytes for likely performance reasons (register loads and stores, address al... 6 May 2008 22:25
C preprocessor I was trying to use the C preprocessor for a Fortran program and it gave me some insight as to why they are always so out of sorts on comp.lang.c: C:\gfortran\clf\cpp>type cpp.f90 module mod1 implicit none intrinsic SYMBOL_1 end module mod1 module mod2 use mod1, only: fun => SYMBOL_1 implicit ... 6 May 2008 22:25
f77 nostalgia Steven G. Kargl <kargl(a)troutmask.apl.washington.edu> wrote: Thomas Koenig <tkoenig(a)netcologne.de> writes: Steven G. Kargl <kargl(a)troutmask.apl.washington.edu> wrote: http://pcc.ludd.ltu.se/news/ Any timeline for F 95 and F 2003? :-) Not that I know. :-O [...] and that there is no ... 6 May 2008 22:25
Standard input Arjen Markus <arjen.markus(a)wldelft.nl> writes: Cute solution, but here are a few caveats: 1. The device file "/dev/tty" exists or is usuable for this purpose on UNIX, Linux and (I assume, I have no access to it) OSX and systems like that. Quoting the OP The program package I am usin... 6 May 2008 21:21
module or interface Hi all, trying to speed up a f90 program I was thinking about the difference if I put my subroutines in a module or if I define an interface. Will there be any differences in speed for these two approaches ? Thanks for your help in advance ! Klemens ... 6 May 2008 21:21
Doubt about formula transcription hey guys, im with a little problem when im transcripting a math formula from maple to fortran, because when i put a solution on the equation, i got a result diferent from zero. The formula is: 2*arctan(sin(a)*cos(a)/(.8-cos(a)^2))-4/9*Pi ; I've transcripted to fortran as: 2*atan((sin(a)*cos(a))/(0.8- cos(a)**... 6 May 2008 21:21
weird g77 and gfortran e p chandler wrote: 2. At some point g77 diverged from gfortran. They no longer (IIRC) have the same calling conventions. I don't remember the exact set of options required, but I believe one can make gfortran use the g77 calling convention. I don't think it's the default, though. ... 6 May 2008 21:21
Reading complex data with DECIMAL='COMMA' Several european languages and all of South America write cent values after a comma, and so continue to do so in mathematics with "decimal commas". It has always caused problems in reading transcribed data in scientific and accounting applications. ... 6 May 2008 21:21
Compiler writer questions On May 6, 1:38 pm, Bil Kleb <Bil.K...(a)NASA.gov> wrote: Hi, This request just went out to our team: itemize what we would want out of a compiler-writer visit I can only think of two related questions: What areas of the F95 cause the most pain w.r.t. optimization? Same for F2003. I thi... 6 May 2008 20:27 |