First  |  Prev |  Next  |  Last
Pages: 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
minor typo in The Fortran 2003 Handbook?
is there a typo in the listing of the example on page 88 in the second line of "program main" ? module proc_component_example [...] program main use proc_component_example use iso_fortran_env, only :: output_unit ^^^^ [...] cheers -ralf ... 22 Jan 2010 15:11
Intel fortran (em64t) very low-accuracy results on x86_64
Hi there: I have a rather long experience with scientific fortran programming the last 20 years. Recently I noticed the following problem with intel fortran em64t compilers: I have access to 3 differtent types of intel-CPU linux computers running either intel ifort (versions 9, 10 and 11) or g77: (a) Pentim... 7 Jan 2010 04:39
Some matlab -> fortran translation
Upon translating some matlab code, I came across this : M1x(end+1,:) = (-h/c) * (A3*V2+A4*V1); %N (don't mind the right side, it was just copy pasted) The left side is what interests me. As I understand it lengthens the array by one element, and gives it the value of the result of right side. Now I've nev... 29 Dec 2009 14:08
I'm playing with some of the new features in F2003 and I try to understand how to use type-bound procedures. I came up with the example below which compiles and executes with ifort 11.1 - my question are: 1) is "call t%test(t)" from the code below valid? Looks like a recursion. 2) when omitting "nopass", the co... 23 Dec 2009 13:38
Spam removal - volunteer?
Would someone like to write to Google and offer to moderate this Forum from the Google -access viewpoint? Apparently one can write to Google about a non-owned Forum and request or offer delete privileges (can be a shared duty). Then you aprove or not the new day's items. ... 26 Dec 2009 05:43
Why it is forbidden?
Please look at this code, why this code is forbidden (in my compiler at least) ? integer foo external foo open(11,file='11.out') open(12,file='12.out') write(11,*) foo(12) end integer function foo(i) write(12,*) i 1000 ... 22 Dec 2009 05:58
Caveat: Can One Dim Local Arrays Using Argument List Integers ??
As many of the other posters have noted, this describes "automatic arrays" supported under F90 and later versions of the standard; it is also supported in particular by g77, which you'll find on older Linux systems. The one caveat is this: automatic arrays are usually implemented by compiler writers using the... 22 Dec 2009 11:28
named common and subprogram names
I just had an issue (crash) with LF95 because a named common block had the same name as a subprogram. .. What does the standard say? Thanks. ... 19 Dec 2009 14:53
Error when compiling using gcc440 (compiles fine with gcc412)- missing actual arg:
On 12/14/2009 12:04 PM, Vivek Astvansh wrote: When I compile my .f file with gcc440, I get the following error: Error: Missing actual argument 'time' in call to 'dtime' at (1) Note that the file compiles fine with gcc412. Are you sure that you call with "gcc412" also dtime and not (some external) fdtim... 14 Dec 2009 08:46
Fortran 2003 generic bindings and passed-object dummy arguments
In Fortran 2003, consider two specific type-bound procedures (e.g. IntegerShow and CharacterShow), and an associated generic type-bound procedure (e.g. generic :: Show => IntegerShow, CharacterShow). With a call such as call x%IntegerShow(...) the pass-object behavior is as expected. But (at least with the ... 13 Dec 2009 23:04
First  |  Prev |  Next  |  Last
Pages: 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64