[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ccp4bb]: Linux Compiler problems with Mosflm.



***  For details on how to be removed from this list visit the  ***
***    CCP4 home page http://www.dl.ac.uk/CCP/CCP4/main.html    ***

Hi folks

just a quicky. I've had a report of problems with the post-indexing cell
refinement (DPS indexing, possibly REFIX too...) with Mosflm built on a PC
with a recent g77 compiler; 

[harry@pcf3c-1 ~/mosflm611a]$ g77 -v
g77 version 2.95.1 19990816/Linux (release) (from FSF-g77 version 0.5.25
19990816 (release))

(etc for a page and a half...)

There seem to be two cures.

(1) If you want a pre-built executable, use mosflm_i386.gz, which uses an
old, safe compiler.

(2) Edit the file include.i386-linux (or include.i486-linux, whichever is
used for your build) and change the optimization for MOSFLAGS to -O1
rather than -O2.

i.e. 

setenv MOSFLAGS  "-O2 -fno-second-underscore -fno-globals -w ${DEBUG}"

becomes 

setenv MOSFLAGS  "-O1 -fno-second-underscore -fno-globals -w ${DEBUG}"

This problem probably affects newer compilers, but does not affect the
build on LinuxPPC.

Harry 
-- 
Dr Harry Powell, MRC Laboratory of Molecular Biology, MRC Centre, Hills
Road, Cambridge, CB2 2QH