*** For details on how to be removed from this list visit the ***
*** CCP4 home page http://www.ccp4.ac.uk ***
Hi Bill,
I am pleased that we are finally making progress with gfortran, and that
gfortran is making progress too. THere seem to have been major changes
between 4.0.0 and 4.0.2, with a large degree of support for g77
intrinsics
included, plus better handling of ENTRY statements. Put simply, I would
not try anything earlier than 4.0.2 (as my build under os x is 4.0.0 I
have
not tried to advance it further; the good news is that g77 works with
gcc4 under os x and many linuces).
Can you send me the details of the failures? I have access to Suse 10
with
gfortran, so will try and fix them.
Charles Ballard
CCP4
On Sunday, December 4, 2005, at 02:18 AM, William Scott wrote:
*** For details on how to be removed from this list visit the ***
*** CCP4 home page http://www.ccp4.ac.uk ***
Dear Martyn:
The patch really helps. Here are some quick observations:
Ubuntu Debian 5.10
==================
With the new patch, everything compiles with gcc4, g++4 and gfortran
out
of the box. (My earlier problem with clipper was that I needed to let
ccp4 compile fftw instead of using an external version). When I run
the
examples, it hangs on findncs.exam. watertidy-3shells failed. Apart
from
that everything went smoothly with no special intervention.
OS X 10.4.3
===========
I used Apple's gcc4,g++4 and gfortran supplied by fink's gcc4 package.
With the new patch, everything compiles except Rotgen, due to libjwc_f
failing. After some messing, I found I could compile these by
re-running
configure to avoid dynamic libraries, and then I ran make and make
install
for each of these. So eventually, everything compiles with gfortran.
In addition, some of the x-windows makefiles first assign the compiler
to
gfortran and then reassign FC to g77 and try to find g2c.h, so I had to
correct those manually.
Unfortunately, a large number fail the examples test (all pass with
g77).
http://www.chemistry.ucsc.edu/%7Ewgscott/xtal/gfortran_run_all.log
So, in summary, gfortran seems to compile things with these patches. I
think the OS X gfortran I am using might be older than the linux one,
so
perhaps a newer version would fix the run-time errors.
================
I hope this will be of some use to someone.
Bill
On Sat, 3 Dec 2005, Martyn Winn wrote:
I believe Charles has now got everything compiling
under gfortran, but yes it involves fixes to the source
code. His patches are available at
ftp://ftp.ccp4.ac.uk/ccp4/5.99.5/prerelease/ccp4-
5.99.5_gfortran.tar.gz