[petsc-users] run sundials from Petsc
Jed Brown
jed at 59A2.org
Tue Jul 27 16:59:13 CDT 2010
On Tue, 27 Jul 2010 17:48:12 -0400, Xuan YU <xxy113 at psu.edu> wrote:
> Hi,
>
> I run config/configure.py --download-sundials=1
> make all
> make test
>
> and then, when I compile the code, there is no error but
> pihm.o: In function `main':
> pihm.c:(.text+0x1148): undefined reference to `TSSundialsSetType'
> pihm.c:(.text+0x116d): undefined reference to `TSSundialsSetTolerance'
> collect2: ld returned 1 exit status
>
> Does this mean that I didn't install sundials correctly?
What happens when you
cd $PETSC_DIR/src/ts/examples/tutorials
make ex4
./ex4 -ts_type sundials
How are you linking PETSc? I wonder if you're linking a different build
than you just configured.
Jed
More information about the petsc-users
mailing list