|
Internal compiler error when both using and passing an intrinsic function On Jun 17, 11:46 am, nos...(a)see.signature (Richard Maine) wrote: <Ken.Fairfi...(a)gmail.com> wrote: I don't currently have access to my Fortran compiler, but ISTR that declaring a dummy argument as EXTERNAL can be problematic? I.e., that the linker will/may look for an external procedure name... 19 Jun 2008 18:51
Internal compiler error when both using and passing an intrinsic function <Ken.Fairfield(a)gmail.com> wrote: I don't currently have access to my Fortran compiler, but ISTR that declaring a dummy argument as EXTERNAL can be problematic? I.e., that the linker will/may look for an external procedure named "F" rather than just using the passed-in procedure name? No. Rather ... 19 Jun 2008 01:16
Fortran 'read' statement question hi, I have the following data format: Date: 1997 2 21.0 dE/E: 1.34138E-07 dL/L: 2.61358E-15 Date: 1998 7 6.0 dE/E: 8.72011E-08 dL/L: 5.22716E-15 Date: 1999 11 18.0 dE/E: 1.25871E-07 dL/L: 3.92037E-15 Date: 2001 4 1.0 dE/E: 2.85034E-08 dL/L: 4.29374E-15 ... 28 Jun 2008 00:27
Global array operations: a performance hit? Hi, I was wondering whether global array operations, introduced in f90, can have a negative impact on performance. Compare: do i=1, ntheta r(0,i) = rhub r(nr+1,i) = rmax dt(0,i) = 0.0 dft(0,i) = 0.0 dfr(0,i) = 0.0 dt(nr+1,i) = 0.0 dft(nr+1,i) = 0.0 dfr(nr+1,i) =... 19 Jun 2008 04:27
write And what if fortran strings were dynamic ? Notice that fortran 2003 introduced the "character, allocatable" statement. Another possibility would be to make use of the m_vstring module of the flibs project. Suppose that the algorithm is separated into two parts : 1. the strings are added to a dynamic buffer, 2. t... 19 Jun 2008 01:16
User types + interface in the same module Hi! Following your comments on the "allocatable components and mixed- language" thread, I have come across another problem, though this one surely is easier to tackle: I define something like MODULE MyMod TYPE :: MyType ! stuff END TYPE MyType INTERFACE SUBROUTINE Foobar(mt) TYPE(MyType) :: m... 23 Jun 2008 10:39
memory leak help! On Jun 17, 12:42 am, Arjen Markus <arjen.mar...(a)wldelft.nl> wrote: On 17 jun, 09:06, julesr <julesrei...(a)yahoo.co.uk> wrote: Hi, It seems I have a memory leak. I've got no allocate/deallocate problems, and can't figure out what else it could be. Does anyone have any tips about other common sou... 19 Jun 2008 04:27
Internal compiler error when both using and passing an intrinsicfunction > SUBROUTINE MYSUB(A,F) REAL*8 A,F I believe it would be (at least) good practice to add EXTERNAL F here. PRINT *,F(A) END I've tried with the following versions of gfortran/gcc: gcc version 4.0.2 20051125 (Red Hat 4.0.2-8) gcc version 4.1.2 20070502 (Re... 19 Jun 2008 01:16
Killing the task rrr7rrr(a)gmail.com wrote: .... Thanks and e p c & dpb for taskkill idea, it works fine. No problem... :) My code writes to the disk the list of PIDs, ... .... I couldn't find WinAPI function which gathers all windows handles and tells what program it belongs to. The utility does and at one time... 19 Jun 2008 01:16
Internal compiler error when both using and passing an intrinsic function On Tue, 17 Jun 2008 12:48:35 +0100, Allan Whiteford <allan.remove(a)phys.remove.strath.ac.remove.uk> wrote: -|Hi, -| -|I've tried to search on Google for this issue but I can't find any -|simple examples matching the problem I'm having. I'm not quite sure -|exactly how to phrase my search to Google so I thought... 19 Jun 2008 01:16 |