[molpro-user] Molpro cuda compilation error

zeng yangyang joanofarc.yang at gmail.com
Wed Oct 13 00:48:31 BST 2010


It seems intel c++ compiler caused the problem and gcc+ifort & gcc+gfortran
work fine.

Thanks all.

Best wishes,

Yang

2010/10/11 Andy May <MayAJ1 at cardiff.ac.uk>

> Zeng,
>
> This is because icc 11.1 is not compatible with openSUSE 11.3, more
> specifically the include file iomanip of GCC 4.5. This thread has the
> details:
>
> http://software.intel.com/en-us/forums/showthread.php?t=74691
>
> and apparently this will not be fixed until version 12.0 of the Intel
> compilers.
>
> You have 2 options to get running:
>
> 1. Use gcc to compile C/C++ files (use -gcc instead of -icc)
>
> 2. Put a copy of the iomanip file from an older version of openSUSE in
> src/cuda directory of Molpro source code, which will then be used in
> preference to the system include file.
>
> Best wishes,
>
> Andy
>
> On 28/09/10 02:55, zeng yangyang wrote:
> > At first, I thought this would be the problem and remove the whole dir,
> > then start compiling from scratch and giving "-nocuda" option. Still I
> > got the same error!
> >
> > 2010/9/27 Reuti <reuti at staff.uni-marburg.de
> > <mailto:reuti at staff.uni-marburg.de>>
> >
> >     Hi,
> >
> >     Am 26.09.2010 um 10:33 schrieb zeng yangyang:
> >
> >     > I compiled molpro2010.1 on openSUSE 11.3 (64) using intel compiler
> >     (version 11.1-073), Then my configuration commands are like:
> >     >
> >     > ./configure -batch -icc -ifort -nocuda
> >     >
> >     > When entering cuda directory, compiling failed. Errors as follow:
> >     >
> >     >
> >     > compiling base_dfti_worker.cpp
> >     > failed
> >     > /usr/include/c++/4.5/iomanip(64): error: expected an expression
> >     >     { return { __mask }; }
> >     >              ^
> >     > ......
> >     >
> >     > It seems that cuda code should not be compiled since I added
> >     "-nocuda" options. Anyone konws how to solve this?
> >
> >     did you start first without giving "-nocuda"? For me it worked to
> >     start from scratch and a clean un-tared Molpro distribution and
> >     giving "-nocuda" directly.
> >
> >     -- Reuti
> >
> >
> >     > Thanks in advance.
> >     >
> >     > Regards,
> >     >
> >     > Yang
> >     >
> >     > _______________________________________________
> >     > Molpro-user mailing list
> >     > Molpro-user at molpro.net <mailto:Molpro-user at molpro.net>
> >     > http://www.molpro.net/mailman/listinfo/molpro-user
> >
> >
> >
> >
> > _______________________________________________
> > Molpro-user mailing list
> > Molpro-user at molpro.net
> > http://www.molpro.net/mailman/listinfo/molpro-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.molpro.net/pipermail/molpro-user/attachments/20101013/da6ec2a1/attachment.html>


More information about the Molpro-user mailing list