[sharp-discuss] static compilation of CCP4

Clemens Vonrhein vonrhein at globalphasing.com
Fri Mar 9 11:12:17 GMT 2007


Dear Imre,

that is weird: any setting in config.local should take effect when
running

  % ./config.local

Can you send me your config.local file?

Cheers

Clemens

On Fri, Mar 09, 2007 at 11:37:37AM +0100, Imre Toeroe wrote:
> 
>    Hi,
>    Just  tried in the meantime, does not work. Even setting FC,CC and CXX
>    to the executables is without any effect.
>    Cheers,
>    Imre
>    Clemens Vonrhein wrote:
> 
> Hi Imre,
> 
> you might need to give the full path to the ifort/icc compilers in
> config.local (FC, CC and CXX setting)?
> 
> Cheers
> 
> Clemens
> 
> On Fri, Mar 09, 2007 at 11:31:03AM +0100, Imre Toeroe wrote:
>   
> 
>    Dear Clemens,
>    Actually,  this was the first thing I tried, as it worked before. Here
>    is what I got when executed ./config.local:
>    srcdir bindir libdir /home/xsoft/ccp4-6.0.2 /home/xsoft/ccp4-6.0.2/bin
>    /home/xsoft/ccp4-6.0.2/lib
>    OK, setting up for a system type of `linux_intel_compilers'...
>     Will attempt to install the xwindows programs from `x-windows'.
>     This is not supported for all systems.
>             ******** please note ************
>     the xwindows programs will be compiled with an option
>     that means errors are ignored. This could result in some
>     xwindows programs not being compiled.
>     If you want to disable the xwindows programs use --disable-x
>     The CCIF library will be built and installed.
>     This has been tested on the most common systems, but if
>     you have problems, use the --disable-ccif flag.
>     Installation of the CCTBX library has been suppressed.
>     Some functionality will be lost.
>     Installation of Phaser has been suppressed.
>     The   LAPACK   linear   algebra  package  will  be  included  in  the
>    installation.
>     Configure will search for existing LAPACK and BLAS libraries on
>     on your system - if a version of LAPACK is not found then the NetLib
>     version will be built for you automatically.
>     If you want NetLib LAPACK and BLAS to be used regardless of
>     system libraries then rerun configure using --with-netlib-lapack
>     To disable inclusion of LAPACK, use the --disable-lapack flag
>     (This is not recommended as some programs will fail to build)
>     Configure will try to set up and build the CCP4i MapSlicer command
>     library, which is required to use the MapSlicer viewer.
>     ***** This may not be possible for some systems! *****
>     To disable inclusion of the MapSlicer command library, use the
>     --disable-mapslicer flag
>    ! You don't appear to have the Intel compilers (ifort/ifc,icc).
>    ! You may need to source the correct file for them to be on your path.
>    It  does  not  find  the  icc/ifort compilers although they ARE in the
>    path. I tried it on Ubuntu7.04/Suse10.2 and with bash and tcsh shells.
>    The same result in each case. Any idea?
>    Imre
>    Clemens Vonrhein wrote:
> 
> Dear Imre,
> 
> I haven't kept up my script with CCP4 6.0.2 - too much work involved.
> 
> What I would do:
> 
>  - run configure with the normal/default flags to produce a
>    config.status
> 
>  - copy that config.status file into e.g. config.local
> 
>  - make a realclean/distclean
> 
>  - edit config.local to add the relevant compiler flags to it (you
>    could use the 5.0.2 ones as a starting point)
> 
>  - run './config.local' and then make
> 
> Cheers
> 
> Clemens
> 
> On Fri, Mar 09, 2007 at 10:50:31AM +0100, Imre Toeroe wrote:
>   
> 
> Dear Clemens,
> 
> For ccp4 version 5.0.x you have written a script and several patches to
> enable a compilation of ccp4 with Intel compilers resulting statically
> linked executables, even using a mixed compilation with Intel fortran
> and GNU C-compiler. Do you know how to proceed with ccp4 6.0.2 when
> using ifort and/or icc? The -non_shared flag for configure obviously
> does not work with the linux_intel_compiler target.
> 
> Thanks in advance,
> 
> Imre
> 
> _______________________________________________
> sharp-discuss mailing list
> [[1]1]sharp-discuss at globalphasing.com
> [2][2]https://www.globalphasing.com/mailman/listinfo/sharp-discuss
> 
> Verweise
> 
>    1. [3]mailto:sharp-discuss at globalphasing.com
>    2. [4]https://www.globalphasing.com/mailman/listinfo/sharp-discuss
> 
> 
> 
> 
> _______________________________________________
> sharp-discuss mailing list
> [5]sharp-discuss at globalphasing.com
> [6]https://www.globalphasing.com/mailman/listinfo/sharp-discuss
> 
> Verweise
> 
>    1. mailto:1]sharp-discuss at globalphasing.com
>    2. https://www.globalphasing.com/mailman/listinfo/sharp-discuss
>    3. mailto:sharp-discuss at globalphasing.com
>    4. https://www.globalphasing.com/mailman/listinfo/sharp-discuss
>    5. mailto:sharp-discuss at globalphasing.com
>    6. https://www.globalphasing.com/mailman/listinfo/sharp-discuss

> _______________________________________________
> sharp-discuss mailing list
> sharp-discuss at globalphasing.com
> https://www.globalphasing.com/mailman/listinfo/sharp-discuss


-- 

***************************************************************
* Clemens Vonrhein, Ph.D.     vonrhein AT GlobalPhasing DOT com
*
*  Global Phasing Ltd.
*  Sheraton House, Castle Park 
*  Cambridge CB3 0AX, UK
*--------------------------------------------------------------
* BUSTER Development Group      (http://www.globalphasing.com)
***************************************************************



More information about the sharp-discuss mailing list