[petsc-users] run sundials from Petsc

Satish Balay balay at mcs.anl.gov
Tue Jul 27 19:40:56 CDT 2010


You list one compile with linux-gnu-c-debug - and the other with
linux-gnu-c-opt.

Looks like you rebuilt linux-gnu-c-debug with sundials - but not
linux-gnu-c-opt build.

Satish

On Tue, 27 Jul 2010, Xuan YU wrote:

> 
> On Jul 27, 2010, at 6:22 PM, Jed Brown wrote:
> 
> > On Tue, 27 Jul 2010 18:14:46 -0400, Xuan YU <xxy113 at psu.edu> wrote:
> > > > How are you linking PETSc?  I wonder if you're linking a different
> > > > build
> > > > than you just configured.
> > > > 
> > > 
> > > my "PETSC_DIR       = " is the same to that of makefile of ex4
> > 
> > What about your PETSC_ARCH?
> 
> PETSC_ARCH      =linux-gnu-c-opt
> 
> 
> > Can you compare the link lines (what is
> > actually output to the terminal) from that example and from yours?
> > 
> 
> example: /gpfs/home/xxy113/soft/petsc-3.1-p2/linux-gnu-c-debug/bin/mpicc -o
> ex4.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -g3
> -I/gpfs/home/xxy113/soft/petsc-3.1-p2/linux-gnu-c-debug/include
> -I/gpfs/home/xxy113/soft/petsc-3.1-p2/include
> -I/gpfs/home/xxy113/soft/petsc-3.1-p2/linux-gnu-c-debug/include
> -D__INSDIR__=src/ts/examples/tutorials/ ex4.c
> 
> my: gcc -o f.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -O
> -I/gpfs/home/xxy113/soft/petsc-3.1-p2/linux-gnu-c-opt/include
> -I/gpfs/home/xxy113/soft/petsc-3.1-p2/include
> -I/gpfs/home/xxy113/soft/petsc-3.1-p2/include/mpiuni -D__INSDIR__=/work/petsc/
> f.c
> 
> 
> 
> > Jed
> > 
> 
> Xuan YU (俞烜)
> xxy113 at psu.edu
> 
> 
> 
> 


More information about the petsc-users mailing list