[CP2K:4604] ifort 12.1 bug?
Ole Schütt
o... at schuett.name
Fri Sep 6 07:57:39 UTC 2013
Dear Noam,
thanks a lot for your report. I will look into it.
-Ole
On 2013-09-05 22:57, Noam Bernstein wrote:
> I just tried to compile the latest svn version, and I ran across
> something that I think is fair to say is an ifort 12.1 bug. It
> doesn't like parameter variables of derived types that are initialized
> object style, if they have fields set to null and are constructed with
> some parameters specified but not the ones set to null. There's a
> patch below to get dbcsr_types.F to compile working around this issue.
>
> Noam
>
> Index: dbcsr_lib/dbcsr_types.F
> ===================================================================
> --- dbcsr_lib/dbcsr_types.F (revision 13128)
> +++ dbcsr_lib/dbcsr_types.F (working copy)
> @@ -258,8 +258,8 @@
> TYPE(dbcsr_mempool_type), POINTER :: pool => Null()
> END TYPE dbcsr_memtype_type
>
> - TYPE(dbcsr_memtype_type), PARAMETER :: dbcsr_memtype_default =
> dbcsr_memtype_type()
> - TYPE(dbcsr_memtype_type), PARAMETER :: dbcsr_memtype_MPI =
> dbcsr_memtype_type(mpi=.TRUE.)
> + TYPE(dbcsr_memtype_type), PARAMETER :: dbcsr_memtype_default =
> dbcsr_memtype_type(pool=Null())
> + TYPE(dbcsr_memtype_type), PARAMETER :: dbcsr_memtype_MPI =
> dbcsr_memtype_type(mpi=.TRUE., pool=Null())
>
> !
> *****************************************************************************
> !> brief Stores actual data
>
> --
> You received this message because you are subscribed to the Google
> Groups "cp2k" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to cp2k+uns... at googlegroups.com.
> To post to this group, send email to cp... at googlegroups.com.
> Visit this group at http://groups.google.com/group/cp2k [1].
> For more options, visit https://groups.google.com/groups/opt_out [2].
>
>
> Links:
> ------
> [1] http://groups.google.com/group/cp2k
> [2] https://groups.google.com/groups/opt_out
More information about the CP2K-user
mailing list