Multiple versions of PetSc

Amit.Itagi at seagate.com Amit.Itagi at seagate.com
Tue Apr 22 10:06:34 CDT 2008


Thanks, Satish and Matt.

Rgds,
Amit



                                                                           
             "Matthew Knepley"                                             
             <knepley at gmail.co                                             
             m>                                                         To 
             Sent by:                  petsc-users at mcs.anl.gov             
             owner-petsc-users                                          cc 
             @mcs.anl.gov                                                  
             No Phone Info                                         Subject 
             Available                 Re: Multiple versions of PetSc      
                                                                           
                                                                           
             04/22/2008 10:42                                              
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
             petsc-users at mcs.a                                             
                  nl.gov                                                   
                                                                           
                                                                           




To build a different configuration of PETSc:

  1) cd $PETSC_DIR

  2) configure with new options, including --PETSC_ARCH=<new arch name>

  3) make PETS_ARCH=<new arch name>

  4) Build your code with PETSC_ARCH=<new arch name>

   Matt

On 4/22/08, Amit.Itagi at seagate.com <Amit.Itagi at seagate.com> wrote:
>
> Hi,
>
> I have a naive question. I have a program that uses a C++, complex
version
> of PetSc. I need to run a second program that uses a C, real version of
> PetSc. For the first program, I have defined the PETSC_ARCH and PETSC_DIR
> variables in my .tcshrc . In order to get the second program working, do
I
> need to install a second version of PetSc ? How do I separate the
> environment variables ?
>
> Thanks
>
> Rgds,
> Amit
>
>


--
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-users mailing list