Since 5/3/2012 2:07:40 AM, hgassman has written 8 articles and participated in 10 conversations. hgassman signature: hgassman
hgassman's articles:
Items(8) /1
Named scratch files2950 (2/13/2006 5:51:09 PM) comp.lang.fortran I am using Lahey fortran 95, v.7.1, and the following code created an error message open(unit=iochan, file='~junk.tmp',status='scratch') According to Lahey, scratch files cannot be named, because the name is... gus
Ideas for debugging?545 (6/15/2004 1:20:20 PM) comp.lang.fortran Folks, I have a large program (far too large to display here) with multiple modules. There is a nagging bug somewhere giving me grief, and I turn to you for ideas. (I know that I am asking you to speculate, wh... Gus
Processor-dependent constants2440 (5/12/2004 11:07:45 AM) comp.lang.fortran I am working on an old f77 routine that sets a bunch of processor- dependent constants, trying to convert it (portably) to f90. Most of the stuff has intrinsics, such as EPSILON, HUGE and TINY, but there is one... Gus
Array-valued expression350 (2/25/2004 1:46:28 PM) comp.lang.fortran Just a quickie (excuse the ignorance). Assuming all arrays have been properly dimensioned, are the following assignments legal: y(row(1:nrows)) = sparse_y(1:nrows) sparse_y(1:nrows) = y(row(1:nrows)) My langu... Gus
Compiler bug?635 (2/6/2004 7:12:08 PM) comp.lang.fortran In a routine to reallocate memory, I wrote the following: module mem integer, allocatable, dimension (:) :: a integer asize asize=10 allocate a(asize) call realloc end module subroutine realloc use mem intege... Gus
ALLOCATABLE arrays #33647 (1/4/2004 9:35:16 PM) comp.lang.fortran This is probably a really dumb question, and I apologize in advance for my ignorance, but how are ALLOCATABLE arrays handled? Here is my situation. I have a subroutine that is called from many different places... Gus
Selection akin to SCAN for arrays1444 (1/3/2004 3:38:09 AM) comp.lang.fortran Thanks to all (especially Richard Maine) for taking the time with my earlier query on complex IF statements. Now I have an even more perplexing (to me, anyway) problem: I have figured out that I can rewrite ... Gus
Complex IF statements3544 (12/31/2003 4:29:50 AM) comp.lang.fortran Does the Fortran standard say anything about the order in which conditionals should be evaluated? What is the best way to code the following situation: If (A .and. B .and. C) then else endif My problem is th... Gus
hgassman's replies:
Items(8) /1
Selection akin to SCAN for arrays1444 (1/3/2004 3:38:09 AM) comp.lang.fortran Thanks to all (especially Richard Maine) for taking the time with my earlier query on complex IF statements. Now I have an even more perplexing (to me, anyway) problem: I have figured out that I can rewrite ... hgassman(18)
ALLOCATABLE arrays #33647 (1/4/2004 9:35:16 PM) comp.lang.fortran This is probably a really dumb question, and I apologize in advance for my ignorance, but how are ALLOCATABLE arrays handled? Here is my situation. I have a subroutine that is called from many different places... hgassman(18)
Compiler bug?635 (2/6/2004 7:12:08 PM) comp.lang.fortran In a routine to reallocate memory, I wrote the following: module mem integer, allocatable, dimension (:) :: a integer asize asize=10 allocate a(asize) call realloc end module subroutine realloc use mem intege... hgassman(18)
Uninitialized variables9353 (4/7/2004 5:46:31 PM) comp.lang.fortran In a discussion on whether or not to allow a compiler switch to set unintialized variables to zero on the old CVF forum, I also suggested rather than just random initialization as was currently being done, that... pterostyrax(40)
Requesting extra IO from F95 code.1740 (5/4/2004 4:29:13 PM) comp.lang.fortran Dear All, I have an F95 code to solve some time dependent partial differential equations which takes a long time to run (many hours to a day or two) in some cases. The code is set up to output results to file ... andy2O(55)
stuck on array341 (5/11/2004 10:30:40 PM) comp.lang.fortran Hi,I want to read a file (data.dat with 650 lines) with the following format name51 00 39 22.09 +21 15 04.9 name65 00 40 49.00 +40 11 19.7 name56 00 45 04.92 +01 47 12.9 name28 00 48 22.53 +05 17 00.2 ....... Steve.Morris(33)
Processor-dependent constants2440 (5/12/2004 11:07:45 AM) comp.lang.fortran I am working on an old f77 routine that sets a bunch of processor- dependent constants, trying to convert it (portably) to f90. Most of the stuff has intrinsics, such as EPSILON, HUGE and TINY, but there is one... hgassman(18)
Ideas for debugging?545 (6/15/2004 1:20:20 PM) comp.lang.fortran Folks, I have a large program (far too large to display here) with multiple modules. There is a nagging bug somewhere giving me grief, and I turn to you for ideas. (I know that I am asking you to speculate, wh... hgassman(18)