Send Fortran-dev mailing list submissions to
email@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.apple.com/mailman/listinfo/fortran-dev
or, via email, send a message with subject or body 'help' to
email@hidden
You can reach the person managing the list at
email@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Fortran-dev digest..."
Today's Topics:
1. comparing Linux/Intel and G5 runs (Judy Karpen)
2. xlf and netcdf (Malcolm Haylock)
----------------------------------------------------------------------
Message: 1
Date: Thu, 6 Jan 2005 15:26:55 -0500
From: Judy Karpen <email@hidden>
Subject: comparing Linux/Intel and G5 runs
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Hi,
I just ported a 1D hydro code that I've been running on various Unix
machines for years, most recently on a Dell with Xeon (Intel) chips
running Linux, to my new G5 (with XLF). I'm trying to compare the run
statistics and memory requirements on the two machines, after setting
the compiler parameters to as close a match as I can figure out, but am
confused about the terminology because it isn't identical between the
Activity Monitor on the G5 and the System Monitor on the Linux box. The
Activity Monitor shows Real, Virtual, Shared, Private, and Virtual
Private memory usage, while the Linux monitor shows Total, RSS, and
Shared memory. I poked around a bit on the Apple support site and
couldn't find an explanation of the Private and Virtual Private memory;
does anyone know what this means? Also, what is RSS memory (on the
Dell)?
If you could point me to a likely place (website or text) to find
explanations I would greatly appreciate it. Also, if anyone else has
ported a CFD Fortran code to the G5 and has some pointers on how to
maximize efficiency via XLF options (beyond the obvious, like
qtune=g5), please share what you've learned. Thanks alot for your help!
Dr. Judith T. (Judy) Karpen
Code 7675K
Naval Research Laboratory
Washington, DC 20375-5352
email: judy:karpen@nrl:navy:mil (replace colons by dots)
phone: 202-767-3441
"For every problem there is one solution that is simple, neat, and
wrong" -- H.L. Mencken
------------------------------
Message: 2
Date: Fri, 7 Jan 2005 17:15:43 +0000
From: Malcolm Haylock <email@hidden>
Subject: xlf and netcdf
To: email@hidden
Message-ID: <p06110404be0471ac0d69@[139.222.104.45]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Hi Everyone,
I'm having trouble linking a program with netcdf using xlf.
The netcdf routines are all flagged as undefined when I link with
netcdf.a and netcdf_c++.a.
I have tried with and without the -qextname flag which just
determines whether or not the undefined symbols have a trailing
underscore.
I tried building the netcdf binaries from scratch, setting the
appropriate compiler environment variables but I receive an error
that my environment could not be found from a selection of standard
UNIX environments.
Has anyone successfully linked a program with prebuilt netcdf
libraries using xlf or built their own?
Thanks,
Malcolm Haylock
------------------------------
_______________________________________________
Fortran-dev mailing list
email@hidden
http://lists.apple.com/mailman/listinfo/fortran-dev
End of Fortran-dev Digest, Vol 2, Issue 5
*****************************************