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?
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...
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...
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...
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...
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...
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...
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...
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...
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
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
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...
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.
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.