Hi all.
I'm reading up on types of atmospheric motion, and when discussing the meridional transport of various properties, the motion is generally split into three components:
1. Mean meridional circulation
2. Transient eddies
3. Stationary waves
However, depending on what book...
Thanks jtbell, that's brilliant! It's an old UK Met. Office model I'm using (to model Mars' atmosphere), and I guess it was developed partly at Reading.
How did you stumble on that website? I tried loads of search combinations and still found nothing!
Thanks Mark.
Good to know it wasn't just my useless web searching skills! :smile:
The code all compiles ok, so it's not as if they are causing a problem - I was just wondering what they were there for. After a further look, the DECK statements only appear in subroutines that call...
Hi all.
I am using some Fortran 77 code that was originally written in the early 90s, and some of the subroutines start with DECK or *DECK. I have tried searching the internet but cannot find anything relevant. As an example, say the main program calls two subroutines SUBONE and SUBTWO. One...
Aha! Problem solved.
Originally the data were written to the unformatted files with two write statements; one for the header information and one for the data. Thus, when Fortran came to read the data, the two read statements worked. When I created my datafile, I just wrote the header and data...
Hi all
I am using some code that was originally written in F77, but as it is many thousands of lines long, I haven't the time to go changing it. There is one section of code that refuses to work, but I'm assuming it must have at some point since the code has been used in the past...
Thanks for the help everyone. I've just checked the makefile and it does indeed have a compiler flag with '-Dglobal'. I'd never noticed that before!
I'll go and check out all this preprocessor stuff in more detail. I don't know what I'd do without the helpful folks here at PF! :smile:
Hi all
I'm using Fortran code written by someone else, and a lot of the files have #ifndef statements in them. For example:
#ifndef global
REAL array(2500)
#endif
I've tried searching online, but can't find anything useful that actually explains what this bit of code does...
It's a model that's been developed over the years, so there is some Fortran 77, and some 90. The code where the dynamic arrays are is definitely written in the syntax of Fortran 77. The compiler is ifort (which seems to allow non-standard extensions), but I know that whenever I've tried to use...
After doing a bit more work it seems that one of the arrays is defined to have 25 million elements, hence the reason my computer hasn't enough memory! Ah well, problem sorted I guess. :rolleyes:
Hi all
I am trying to run an executable compiled from some Fortran files (not my own), which look like they are written in Fortran 77. One of these includes some dynamic space arrays, where the number of elements depends on an integer value passed to the subroutine, e.g.
subroutine...
Replacing specific array elements in IDL - solved!
Hi
I was just wondering if there was any way, other than using FOR loops, to replace specified elements of an array?
For example, say A is a 1D array of 50 elements, each equal to 1.0. Is it possible to change say elements 0-9 and 30-49...
Hi.
Can anyone please tell me what purpose $@ serves in the dependency line below? I've tried looking online, and in the make and ifort documentation, but can't find anything. :confused:
$(EXECUTABLE) : $(OBJECTS)
ifort $(LOADFLAGS) -o $@ $(OBJECTS) $(LIBRARIES)...