[petsc-dev] eliminating a cause of my recent rant and argument with Matt

2009-12-28 Thread Satish Balay
Looks like this change broke my build. download-mpi looks ambigeous. If added - perhaps it should be an alias to download-mpich. Satish asterix:/home/balay/tmp/spetsc./configure --with-mpi-dir=/home/balay/soft/linux64/mpich2-1.1

eliminating a cause of my recent rant and argument with Matt

2009-12-16 Thread kevin.buck...@ecs.vuw.ac.nz
I suggest we can the syntax for 2) and consistently use --known- mpi-shared --known-sizeofint=8 etc everywhere in help and BuildSystem. It makes things much clearer and can prevent loads of confusion. This is likely not compatible with how autoconf does things. Do they have a similar

eliminating a cause of my recent rant and argument with Matt

2009-12-16 Thread kevin.buck...@ecs.vuw.ac.nz
Would you not consider using a perfectly decent autoconf-like construct such as, in the MPI case, --with-known-mpi-shared given that it is with the knowledge of the shared MPI that you are building ? We could do this. It is a bit wordy with the --with however, if it is always

eliminating a cause of my recent rant and argument with Matt

2009-12-15 Thread Barry Smith
I think a root of the miscommunication between Matt and I with regard to --with-mpi-shared is that --with is used for TWO different reasons 1) --with-mpi=0 --with-x=1 etc are used to indicate we want to turn off/on a package. In other words they are COMMANDS to BuildSystem 2)

eliminating a cause of my recent rant and argument with Matt

2009-12-15 Thread Dima Karpeyev
--with-mpi=0 is a command, which is mandatory, and --with-sizeofint=8 seems to specify an optional parameter. To me '--with' suggests something optional, so I'd vote for keeping '--with' to indicate optional parameters and replace it with '--use' (an imperative) when specifying mandatory commands.

eliminating a cause of my recent rant and argument with Matt

2009-12-15 Thread Satish Balay
Wrt batch mode, the relavent PETSc configure flags are: '--with-batch=1', '--with-mpi-shared=0', '--with-memcmp-ok', '--sizeof_char=1', '--sizeof_void_p=4', '--sizeof_short=2', '--sizeof_int=4', '--sizeof_long=4', '--sizeof_size_t=4', '--sizeof_long_long=8',

eliminating a cause of my recent rant and argument with Matt

2009-12-15 Thread Barry Smith
It should be pay off to be consistent :-(. I have see a --have in there :-) Barry On Dec 15, 2009, at 3:30 PM, Satish Balay wrote: Wrt batch mode, the relavent PETSc configure flags are: '--with-batch=1', '--with-mpi-shared=0', '--with-memcmp-ok', '--sizeof_char=1',