[CP2K:2631] Compilation problems

Teodoro Laino teodor... at gmail.com
Thu Mar 18 11:19:19 UTC 2010


Hi Roger,

there is a bug fix since 12 minutes by Urban in the CVS. If you update 
again you should be able to compile the code.
ciao,
Teo

nadler wrote:
> Hi everyone,
> I wanted to compile cp2k today and run into the error message that
> follows. The same error occurs for g95 (version 0.92) and gfortran
> (gcc version 4.4.1). I am not quite sure if there is something I did
> wrong or if it is a bug. I tried it with the systems libraries
> (opensuse 11.2) and self-compiled Netlib Blas and Lapack libraries.
>
> Error message:
>
> g95 -c -O2 -ffast-math -funroll-loops -ftree-vectorize -march=pentium4
> -ffree-form -D__G95 -D__FFTSG  -D__COMPILE_ARCH="\"Trial-g95\"" -
> D__COMPILE_DATE="\"Thu Mar 18 11:53:08 CET 2010\"" -
> D__COMPILE_HOST="\"quantix\"" -D__COMPILE_LASTCVS="\"/xc_pot_saop.F/
> 1.44/Thu Mar 18 09:56:49 2010//\"" /home/nadler/cp2k/makefiles/../src/
> lib/dbcsr_internal_operations.F
> In file /home/nadler/cp2k/makefiles/../src/lib/
> dbcsr_internal_operations.F:242
>
>          work_mutable=.FALSE., n=threads, error=error)
>                                                  1
> Error: Symbol 'threads' at (1) has no IMPLICIT type
> make[1]: *** [dbcsr_internal_operations.o] Error 1
> make[1]: Leaving directory `/home/nadler/cp2k/obj/Trial-g95/sopt'
> make: *** [build] Error 2
>
> Arch file:
>
> CC       = cc
> CPP      =
>
> FC       = g95
> LD       = g95
>
> AR       = ar -r
>
> CPPFLAGS =
> DFLAGS   = -D__G95 -D__FFTSG #-D__FFTW3 #-D__LIBINT
> FCFLAGS  = -O2 -ffast-math -funroll-loops -ftree-vectorize -
> march=pentium4 -ffree-form $(DFLAGS)
> LDFLAGS  = $(FCFLAGS)
> LIBS     =  /home/nadler/lib/lapack-3.2.1-g95.a \
>                 /home/nadler/lib/blas_g95.a
>
> OBJECTS_ARCHITECTURE = machine_g95.o
>
>   




More information about the CP2K-user mailing list