[CPMD-list] Compilation error II

Axel Kohlmeyer akohlmey at cmm.chem.upenn.edu
Sat Sep 30 19:36:09 CEST 2006


On 9/30/06, Ari P Seitsonen <ari.p.seitsonen at iki.fi> wrote:
>
> Dear Alexander,
>
>    Like Axel (Kohlmeyer) tends to say, please specify the machine
> (architecture, processors) and the options for the compiler (about the
> first 12 lines with definition of variables). Which version of 'ifort' are
> you using?
>
>    It would be _very_ strange if the C mathematical library is not
> installed on your machine; please check '/usr/lib/libm.a'. You can also
> check `rpm -qa glibc-devel`, `uname -a` and `cat /proc/cpuinfo`. The

actually, it is _not_ strange these days. and one problem of the intel
compiler installation is, that it does _not_ depend on the corresponding
glibc/gcc stuff being consistent.

however, in general, we need the information that was requested above
to give a recommendation. most recent versions of ifort support an
-i-static flag, which is highly recommended over plain '-static'.

please see similar posts in the mailing list archives (there have to be
plenty).

thanks,
    axel.

> latter two might show if you have inconsistencies in the compilation (e.g.
> 32 vs 64 bits).
>
>      Greetings from Paris,
>
>         apsi
>
> -=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
>    Ari P Seitsonen / Ari.P.Seitsonen at iki.fi / http://www.iki.fi/~apsi/
>    CNRS & IMPMC, Université Pierre et Marie Curie
>    Tel: +33-1-4427 7542, Fax: +33-1-4427 3785, GSM: +33-6-6736 3820
>
> On Sat, 30 Sep 2006, Alexander Martins Silva wrote:
>
> >
> >      Hi,
> >
> >      when i try compile the CPMD code on this same machine mentioned before
> > now using the configuration file for PC-IFC I get another error during th
> > compilation:
> > (...)
> > if [ "." != "." ]; then ln -s ./cpmd.x cpmd.x; fi
> > ifort  -o ./cpmd.x cpmd.o timetag.o softex.o  ...
> > vdw.o bs_forces_diag.o bswfo.o lsforce.o setbsstate.o wrccfl.o mdshop_cp.o
> > mdshop_bo.o mm_mdshop_cp.o mm_mdshop_bo.o fusion.o rk4ov.o shop_adds.o
> > sysdepend.o    -llapack -lblas -Vaxlib -static
> > IPO link: can not find -lm
> > ifort: error: problem during multi-file optimization compilation (code 1)
> > make: *** [cpmd.x] Error 1
> >
> >               Any idea?
> >
> >               Thanks,
> >                           Alexander.
> > _______________________________________________
> > CPMD-list mailing list
> > CPMD-list at cpmd.org
> > http://cpmd.org/mailman/listinfo/cpmd-list
> >
>
> _______________________________________________
> CPMD-list mailing list
> CPMD-list at cpmd.org
> http://cpmd.org/mailman/listinfo/cpmd-list
>
>
>


-- 
=======================================================================
Axel Kohlmeyer   akohlmey at cmm.chem.upenn.edu   http://www.cmm.upenn.edu
  Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.



More information about the CPMD-list mailing list