[Trilinos-Users] [Pytrilinos-users] make fails on Ubuntu 7.10
Bill Spotz
wfspotz at sandia.gov
Fri May 16 11:41:08 MDT 2008
Josh,
Can you send me your BUILD/packages/PyTrilinos/src/IFPACK_wrap.cpp
file (where BUILD is your build directory)?
Also, what version of NumPy are you using?
On May 16, 2008, at 11:20 AM, Joshua Bronson wrote:
> Thanks Bill,
>
> Giving "--enable-amesos" allows "make" to succeed, but unfortunately
> now "make install" fails when it gets to "Compiling the PyTrilinos
> source files". The latest output I get on Ubuntu is available at http://pastie.caboo.se/198296
> . On Mac OS 10.5, "make install" fails with similar output.
>
> The interesting excerpt is:
>
> ../src/IFPACK_wrap.cpp:3377: error: expected constructor,
> destructor, or type conversion before '*' token
> Traceback (most recent call last):
> File "./setup.py", line 172, in ?
> main()
> File "./setup.py", line 148, in main
> builder.buildShared()
> File "../util/SharedUtils.py", line 470, in buildShared
> runCommand(self.getCompileCmd(src, obj))
> File "../util/SharedUtils.py", line 97, in runCommand
> if status: raise RuntimeError, "Exit status = %d" % status
> RuntimeError: Exit status = 256
>
>
> I'm configuring with "CC=gcc CXX=g++ F77=gfortran --enable-
> pytrilinos --with-python=/usr/bin/python2.4 --enable-amesos", then
> running "make everything", then "make install-everything".
>
>
> As soon as I can successfully build PyTrilinos on the two platforms
> I have at my disposal, I will be sure to submit my configure scripts
> for inclusion in the sampleScripts directory, hopefully that will
> help others in the future.
>
>
> Continual thanks,
> Josh
>
>
> On Fri, May 16, 2008 at 12:12 PM, Bill Spotz <wfspotz at sandia.gov>
> wrote:
> Josh,
>
> Try configuring with --enable-amesos and let me know if that fixes
> the problem.
>
> On May 15, 2008, at 8:09 PM, Joshua Bronson wrote:
>> On May 15, 2008, at 11:50 AM, Joshua Bronson wrote:
>>
>>> Hi PyTrilinos-users,
>>>
>>> After failing to build Trilinos with PyTrilinos on Mac OS 10.5
>>> (sent a message about this yesterday), I tried building on Ubuntu
>>> 7.10 after passing configure "--enable-pytrilinos --with-python=/
>>> usr/bin/python2.4". Unfortunately, "make" failed on Ubuntu also.
>>> An excerpt of the output is available at http://pastie.caboo.se/197586
>>> . Any help would be much appreciated.
>>>
>>> Thanks,
>>> Josh
>>
>> I just realized I had stale object files, please ignore the output
>> linked above. After running "make clean; make", I now get the
>> attached output. Does anyone know what could be causing this error?
>>
>> /usr/local/src/trilinos-8.0.5/packages/teuchos/src/Teuchos_any.hpp:
>> 180: error: no match for 'operator<<' in 'os << ((const
>> Teuchos::any::holder<MLAPI::MultiVector>*)this)-
>> >Teuchos::any::holder<MLAPI::MultiVector>::held'
>>
>> Thanks,
>> Josh
** Bill Spotz **
** Sandia National Laboratories Voice: (505)845-0170 **
** P.O. Box 5800 Fax: (505)284-0154 **
** Albuquerque, NM 87185-0370 Email: wfspotz at sandia.gov **
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://software.sandia.gov/mailman/private/trilinos-users/attachments/20080516/699e296c/attachment-0001.html
More information about the Trilinos-Users
mailing list