[CP2K:3478] Re: Problem with installation
Daniele Varsano
daniele... at gmail.com
Wed Aug 31 14:24:04 UTC 2011
Hi,
I also encountered this problem, and I solved using
the 4.4 version of gfortran. Check your version, and in case
you are using a previous one, update the compiler.
Cheers,
Daniele
On Aug 31, 2011, at 3:49 PM, Isaak Daniels wrote:
> 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
>
> --
> You received this message because you are subscribed to the Google Groups "cp2k" group.
> To post to this group, send email to cp... at googlegroups.com.
> To unsubscribe from this group, send email to cp2k+uns... at googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cp2k?hl=en.
>
--
Dr. Daniele Varsano
University of Rome, "La Sapienza",
Department of Physics, Ed. E. Fermi
Tel:+39064991-3501
URL:http://bio.phys.uniroma1.it/
More information about the CP2K-user
mailing list