*** For details on how to be removed from this list visit the ***
*** CCP4 home page http://www.ccp4.ac.uk ***
GNU released the official, stable, gcc-4.1.0 on Feb. 28th, including
gfortran.
Since it looks like g77 will be a thing of the past on OS X (I think
it isn't supported on intel), I thought I would have another crack at
gfortran and ccp4 on os x:
The good news is everything compiles, as with g77*.
I get the following output from $CCP4/examples/unix/runnable/run-all:
------------------
# run-all
mlphare.exam,
3fo2fcmap,abs.exam,act.exam,scala.exam,almn.exam,angles.exam,anisoanl.ex
am,arp_waters.exam,axissearch.exam,baverage.exam,bp3.exam,bplot.exam,bul
k.exam
*** bulk.exam failed
1.0/sqrt(sqhsup): +Infinity
Number of reflections: -314751278
NX, NY, NZ for mask calculation:
0 3 3
number of atoms found in coord. file:
564
<B><FONT COLOR="#FF0000"><!--SUMMARY_BEGIN-->
cad.exam,cavenv.exam,chainsaw.exam,cif2xml.exam,combat.exam,contact.exam
,coordconv.exam,crank_app.exam,crossec.exam,cross_validate.exam,areaimol
.exam,scalepack2mtz.exam,surface.exam,distang.exam,dm.exam,dyndom.exam,e
calc.exam,sf_calc,mtz2various.exam,f2mtz.exam,fffear.exam,fft.exam,fhsca
l.exam,findncs.exam,fofcmap,fractional-
orthogonal,freerflag.exam,gensym.exam,geomcalc.exam,havecs.exam,helixang
.exam,hgen.exam,hklplot.exam,icoefl.exam,lsqkab.exam,mapcorrelation_proc
edures,scaleit.exam,makedict.exam,mapmask.exam,mapcutting.exam,mir_steps
,molrep.exam,mtzdump.exam,mtzmnf.exam,mtztona4.exam,mtzutils.exam,ncont.
exam,ncsmask.exam,npo.exam,oasis_oas.exam
*** oasis_oas.exam failed
SIGMA3/SIGMA2**1.5 = 0.04631
MINIMUM VALUE OF KAPPA = 0.100
NUMBER OF REFLECTIONS AT 2.50 ANGSTROM RESOLUTION =
6962
IFIT = 1
NUMBER OF PHASE RELATIONSHIPS = 4613224
oasis_sir.exam
*** oasis_sir.exam failed
SIGMA3/SIGMA2**1.5 = 0.04631
MINIMUM VALUE OF KAPPA = 0.100
NUMBER OF REFLECTIONS AT 2.50 ANGSTROM RESOLUTION =
7217
IFIT = 1
NUMBER OF PHASE RELATIONSHIPS = 4956833
overlapmap.exam,patterson,pdbcur.exam,pdb_merge.exam,pdbset.exam,phase_a
nalysis,phased_translation_calc,phistats.exam,polarrfn.exam,polypose.exa
m,professs.exam,rebatch.exam,reindex.exam,revise.exam,rotamer.exam,rotma
t.exam,solomon.exam,tffc_procedure,rsearch.exam,rsps.exam,rwcontents.exa
m,sfcheck.exam
*** sfcheck.exam failed
WARNING: no such keyword :END
LABIN F=FTOXD3 SIGF=SIGFTOXD3
<B><FONT COLOR="#FF0000"><!--SUMMARY_BEGIN-->
<!--SUMMARY_END--></FONT></B>
--- read file of coordinates ---
--- read file of structure factors. ---
ERROR: Fobs and Model have different space group or setting
NSG Fobs: 19 Model: 0
Sett Fobs: 1 Model: 1
<B><FONT COLOR="#FF0000"><!--SUMMARY_BEGIN-->
superpose.exam,sigmaa.exam,sortmtz.exam,sortwater.exam,stereo.exam,surfa
ce-volume-calc,tracer.exam,truncate.exam,unique-free-
R,vecref.exam,vectors.exam,waterpeaks,watpeak.exam,watertidy-3shells,wil
son.exam,hbond.exam,libcheck.exam,refmac5_tls.exam,compar.exam,tlsanl.ex
am,beast.exam,cpirate.exam,phaser.exam,#
-----
Oddly, these all passed with the pre-release and an svn version of
gfortran-4.1 I made on December 3rd.
mosflm now at least fires up ok. I haven't yet processed anything
with it.
I configured like this:
FC="gfortran" ./configure --with-x Darwin
(The first time, when I built dynamic libraries, in addition to the
above, I has some problems similar to what I had before with the
clipper libs and programs.)
Should I try reducing the optimization level on these programs, or
any other suggestions? Any ideas what could have changed since
December 3rd?
Bill
------------------------------------------------------------------------
-----------------------------------------------------------
*Subsequent to configure, I had to issue this (the recursive glob
works in zsh):
perl -pi -e 's|-lg2c||g' x-windows/**/*akefile*
to get rid of a -lg2c that gets introduced by configure, and I also
had to link xloggraph with fort77, i.e.,
fort77 -fno-second-underscore -o xloggraph -L/usr/lib msg_box.o
ZDr2d.o EditString.o hardcopy_ctrl.o xloggraph.o log_file.o
tom_fortran_interface.o bits_and_pieces.o graphics.o -g -Os -I/usr/
include/X11R6 -L/usr/X11R6/lib -lXaw -lXmu -lXt -lSM -lICE -lXpm -
lXext -lX11 -lm -lgcc -lSystemStubs