[petsc-dev] Petsc-dev compilation: error because of underscore.

Barry Smith bsmith at mcs.anl.gov
Tue Jan 26 18:13:50 CST 2010


   You don't need ANY priveleges to install mercurial.

    Satish, please verify that the tarball contains the right up to  
date BuildSystem.

    I changed all the sizeof_xxx crap to the proper sizeof-xxx in  
types.py when I made the updates to this weeks ago.


    Barry

On Jan 26, 2010, at 6:10 PM, Vijay S. Mahadevan wrote:

> I do not have mercurial installed on my cluster and do not have the
> priveleges to do so now. I used the tarball for petsc-dev from the
> link in the site. Just do let me know if the tarball will contain this
> update. Or if it is not too much trouble, I would appreciate it if you
> can send me a patch.
>
> Either way, do let me know which option will work for my situation.  
> Thanks.
> Vijay
>
> On Tue, Jan 26, 2010 at 6:04 PM, Matthew Knepley <knepley at gmail.com>  
> wrote:
>> Pull PETSc and try again.
>>
>>   Matt
>>
>> On Tue, Jan 26, 2010 at 5:47 PM, Vijay S. Mahadevan <vijay.m at gmail.com 
>> >
>> wrote:
>>>
>>> Hi,
>>>
>>> I'm  trying to install the development copy of Petsc in a linux
>>> cluster. The configuration proceeded fine until I had to run  
>>> conftest
>>> for the batch system. After running conftest in a node and then
>>> running reconfigure on the main node, I get the following error.
>>>
>>> Traceback (most recent call last):
>>>  File "./reconfigure.py", line 25, in ?
>>>   configure.petsc_configure(configure_options)
>>>  File "/emchome/vijaysm/soft/petsc-3.0-dev/config/configure.py",  
>>> line
>>> 150, in petsc_configure
>>>   check_for_option_mistakes(sys.argv)
>>>  File "/emchome/vijaysm/soft/petsc-3.0-dev/config/configure.py",  
>>> line
>>> 33, in check_for_option_mistakes
>>>   raise ValueError('The option '+name+' should probably be
>>> '+name.replace('_', '-'));
>>> ValueError: The option --known-sizeof-void_p should probably be
>>> --known-sizeof-void-p
>>>
>>> I could not find the location where "--known-sizeof-" is read from  
>>> or
>>> else I could've tried to change this and reconfigure petsc. Do let  
>>> me
>>> know if there is a fix for this.
>>>
>>> Thanks.
>>> Vijay
>>
>>
>>
>> --
>> What most experimenters take for granted before they begin their  
>> experiments
>> is infinitely more interesting than any results to which their  
>> experiments
>> lead.
>> -- Norbert Wiener
>>




More information about the petsc-dev mailing list