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

Barry Smith bsmith at mcs.anl.gov
Tue Jan 26 18:11:06 CST 2010


On Jan 26, 2010, at 6:04 PM, Matthew Knepley wrote:

> Pull PETSc and try again.

   NO! Pull BuildSystem and try again. Send configure.log and  
reconfigure.py if it fails.


   Matt, revert any silly changes you just made to petsc-dev to fix  
this nonexistent problem.

    Barry

>
>   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