Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: efoss
  • Order by date
  1. efoss

    pausing a debugger can prevent error messages from being printed

    Yes - you're right, I mean "warnings". Still, why should I get different feedback from Perl depending on whether or not I pause the program a few times while I'm running it?
  2. efoss

    pausing a debugger can prevent error messages from being printed

    The following is a specific example of a general situation I've run into many times: I am generating an output file and each line has a key associated with it, say the first non-space part of the input file. I mean to have filled a hash with all the possible keys and values associated with all...
  3. efoss

    memory question (apparent leak)

    I really don't know what it is - it could very well be an operating system issue, though Perl normally doesn't elicit this weird response from this computer. What I was kind of hoping for was an answer like "yes, this happens once a file gets big enough" and then some explanation about some...
  4. efoss

    memory question (apparent leak)

    Thanks. That's reasonable. I still find it a bit disturbing, though, that more and more memory would have been used for something, when it's not clear why that would be. Let's say you have 4 gigs of RAM and an enormous file consisting of a bizillion lines, each of which says "hello world". You...
  5. efoss

    memory question (apparent leak)

    Here's the complete code: #!/usr/bin/perl -w use strict; #put this into a directory in which all of the files that end in .txt are .RAW to .txt files that you want converted to the perl processed 4 column format my $line; my @array; my $scan; my $acquisition_mode; my $MS_mode; my $mz; my...
  6. efoss

    memory question (apparent leak)

    I'm working with really big files - ~10 giga each. I'm programming on a Mac. Mac has an "Activity Monitor" that lets you look at, among other things, how much memory you're using. The memory is divided into 4 categories - free, wired, active and inactive - and the total amount adds up to the...
  7. efoss

    allocate different amounts of memory to different dimensions of an arr

    I'd like to index a lot of 20 character strings on 2 different numbers. I'm working with very large numbers of these character strings (32 million) and I'm running into trouble because Fortran doesn't want to let me make variables that big. I can always split things into smaller groups, but I...
  8. efoss

    commenting and uncommenting sections of code in Compaq Visual Fortran

    Thanks, xwb. I had installed Compaq Visual Fortran before installing Visual Studio 2005. I can try to uninstall both of them and then reinstall VS2005 before CVF. If I do this, am I safe to not lose CVF files? I assume that uninstalling a program leaves files that I generated with that program...
  9. efoss

    commenting and uncommenting sections of code in Compaq Visual Fortran

    Thanks all. I'll look into the macros, though I was hoping that there would be something really simple. I'm using Compaq Visual Fortran, version 6.6. I also have MS Visual Studio 2005 on the same machine, though I haven't figured out much about how to use it. One thing I don't understand is...
  10. efoss

    commenting and uncommenting sections of code in Compaq Visual Fortran

    Hi Zeitghost, I just mean selecting a block of code and having a ! put at the start of each line. It seems like a pretty normal IDE function, but I can't figure out how to do it. Thanks. Eric
  11. efoss

    commenting and uncommenting sections of code in Compaq Visual Fortran

    Does anyone know how to comment and uncomment sections of code in Compaq Visual Fortran? Thanks. Eric
  12. efoss

    Does the "END PROGRAM" statement come before or after the subroutines?

    Thanks, xwb. That makes sense. That's how my compiler seemed to want it, but I was confused by the error message. I've now figured out that the error message came from some other mistake in my code (though I haven't yet figured out what that is). Thanks again for the help. Eric
  13. efoss

    Does the "END PROGRAM" statement come before or after the subroutines?

    Does the "END PROGRAM" statement come before or after the subroutines? I'm a beginner with Fortran. I'm having problems with a program that has several subroutines. I've seen the "END PROGRAM" statement both before and after the subroutines. My program (running on Compaq Visual Fortran) seems...
  14. efoss

    qsort can't operate on loc(array), need to change to array

    Wow, do I ever feel stupid! I thought that the "loc" was somehow required for the program to "locate" the array. I got rid of it and everything worked fine. Thanks for the help.
  15. efoss

    qsort can't operate on loc(array), need to change to array

    I'm sure there is an incredibly simple answer to this, but I'm a complete beginner at Fortran and I'm having trouble figuring it out. I received code from someone that I need to implement. The code includes a step where the author uses the sortqq function in MSFLIB to sort the elements in an...
  16. efoss

    program uses MSFLIB, Absoft compiler doesn't have MSFLIB

    I want to run several programs on my Macintosh (OS X, Tiger) using my Absoft Fortran compiler (http://www.absoft.com/Products/Compilers/Fortran/Macintosh/macintosh.html). Unfortunately, the code was written using Compaq Visual Fortran and uses MSFLIB, but Absoft doesn't have MSFLIB. Does anyone...

Part and Inventory Search

Back
Top