Problem with installation

Isaak Daniels isaakdan... at gmail.com
Wed Aug 31 13:49:24 UTC 2011


I did the "export" command and now have this warning:

/home/isaak2/cp2k/makefiles/../src/f77_blas_poison.F:0: error: bad
value (native) for -march= switch
/home/isaak2/cp2k/makefiles/../src/f77_blas_poison.F:0: error: bad
value (native) for -mtune= switch
make[1]: *** [f77_blas_poison.o] Error 1
make[1]: Leaving directory `/home/isaak2/cp2k/obj/Linux-x86-64-
gfortran/sopt'
make: *** [build] Error 2


Thank you

On Aug 30, 10:03 am, Urban Borštnik <urban.b... at gmail.com> wrote:
> You run
>
>         export FORT_C_NAME=gfortran
>         make ...
>
> Please have a look at the compilation section, specifically 3e and 3a,
> of the INSTALL file found in the base CP2K directory.  (This is true for
> the current CVS development version.)
>
> Best regards,
> Urban.
>
>
>
> On Tue, 2011-08-30 at 07:55 -0700, Isaak Daniels wrote:
> > How may one modify the make file to do that?
>
> > Thank you
>
> > On Aug 30, 2:14 am, Urban Borštnik <urban.b... at gmail.com> wrote:
> > > Hello,
>
> > > from the output you sent I assume that the PGI compiler that you use
> > > miscompiles the makedepf90 program.  From experience, the PGI compiler
> > > is also unable to compile CP2K.  I recommend that you try to use GNU
> > > gfortran.
>
> > > Best regards,
> > > Urban


More information about the CP2K-user mailing list