*** For details on how to be removed from this list visit the ***
*** CCP4 home page http://www.ccp4.ac.uk ***
Hi Bill
I have not been down the fort77 line yet. The results from gcc 4.1.0
on a linux box are not encouraging; we get the os x failures plus a few
more.
Still, this is better than gfortran on an intel Mac. Every code that
uses a maths function fails at runtime with an EXC_ARITHMETIC,
including the gcc testsuite math.f90 . gcc/g++ seem to work nicely
though.
Charles
On Monday, March 6, 2006, at 03:00 PM, William Scott wrote:
Hi Charles:
Thanks for confirming. I did get sfcheck to pass the tests when I
recompiled using gfortran -0O. No such luck with the other two. If
the bulk problem is minor, then there is only one problem: oasis.
As a temporary workaround, would it be possible to use fort77 (or f2c)
to compile it, or would that require recompiling all the libraries to
which it links?
g77-3.4.3 works great, but apparently won't be available on intel macs.
All the best,
Bill
On Mon, 6 Mar 2006, Charles Ballard wrote:
Dear All,
I can confirm Bill's observations. gfortran 4.1 seems to be a step
back from the pre-release, at least on os x.
bulk.exam : the example fails, but the programs are running
correctly. The tee does not seem to be picking up the fortran >> output.
oasis_sir/oas.exam : end of file. Looks like a failure to rewind a
file.
sfcheck.exam : unknown reason.
Francois is checking how 4.1 performs under linux.
Given this, if you have the option of using g77, this would be the
way to go.
Charles
CCP4
On Friday, March 3, 2006, at 02:53 AM, William Scott wrote:
*** For details on how to be removed from this list visit the ***
*** CCP4 home page http://www.ccp4.ac.uk ***
Sorry, as usual I was sleep-typing. Apple has a blas/lapack
framework that I liked to. I think their unix stuff is open-source,
so it might be possible to find out what they did.
I got sfcheck to pass the test when I optimized at -O0. I can't get
the others to work, and the error messages worry me, but I don't
know enough to know whether it is committing arithmetic crimes...
Thanks.
Bill
On Mar 2, 2006, at 9:38 AM, Ethan Merritt wrote:
On Thursday 02 March 2006 09:17 am, you wrote:
How did you deal with the fact that gfortran still does not handle
some language constructs used by BLAS/LAPACK and other
numerical libraries? According to the Gfortran status page and
wiki, this is still an unresolved issue.
See:
http://gcc.gnu.org/wiki/GfortranWanted
I didn't. Perhaps that is the origin of those run-time errors in
the
tests? But why did it work on December 3rd?
I don't know. Perhaps you were linking to a different lapack.so?
We only got it working by linking to a previously-compiled lapack
library built with a different compiler.
Ethan
--
Ethan A Merritt
Biomolecular Structure Center
University of Washington, Seattle WA