[petsc-users] errors when install petsc-3.3-p6
Roc Wang
pengxwang at hotmail.com
Wed Apr 17 10:52:55 CDT 2013
Hi, I am installing the last version of the petsc. Previously, I have petsc-3.2-p7 and it works well.
After install the package, I run the test by typing:
make PETSC_DIR=/home/pwang/soft/petsc-3.3-p6 PETSC_ARCH=arch-linux2-c-debug test
A lots of error information come out, the following shows the first several lines. Which package or library I missed? Thanks.
mpicc -o ex19.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 -I/home/pwang/soft/petsc-3.3-p6/include -I/home/pwang/soft/petsc-3.3-p6/arch-linux2-c-debug/include -I/usr/include/mpich2-x86_64 -D__INSDIR__=src/snes/examples/tutorials/ ex19.c
mpicc -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 -o ex19 ex19.o -L/home/pwang/soft/petsc-3.3-p6/arch-linux2-c-debug/lib -lpetsc -lX11 -lpthread -Wl,-rpath,/home/pwang/soft/petsc-3.3-p6/arch-linux2-c-debug/lib -lflapack -lfblas -lm -L/usr/lib64/mpich2/lib -L/usr/lib/gcc/x86_64-redhat-linux/4.4.6 -lmpichf90 -lgfortran -lm -Wl,-rpath,/usr/lib64/mpich2/lib -lm -ldl -lmpich -lopa -lpthread -lrt -lgcc_s -ldl
/home/pwang/soft/petsc-3.3-p6/arch-linux2-c-debug/lib/libmpich.a(initthread.o): In function `PMPI_Init_thread':
/home/pwang/soft/petsc-3.3-p6/externalpackages/mpich2-1.4.1p1/src/mpi/init/initthread.c:535: undefined reference to `MPL_env2bool'
/home/pwang/soft/petsc-3.3-p6/arch-linux2-c-debug/lib/libmpich.a(param_vals.o): In function `MPIR_Param_init_params':
/home/pwang/soft/petsc-3.3-p6/externalpackages/mpich2-1.4.1p1/src/util/param/param_vals.c:249: undefined reference to `MPL_env2int'
/home/pwang/soft/petsc-3.3-p6/externalpackages/mpich2-1.4.1p1/src/util/param/param_vals.c:251: undefined reference to `MPL_env2int'
/home/pwang/soft/petsc-3.3-p6/externalpackages/mpich2-1.4.1p1/src/util/param/param_vals.c:254: undefined reference to `MPL_env2int'
/home/pwang/soft/petsc-3.3-p6/externalpackages/mpich2-1.4.1p1/src/util/param/param_vals.c:256: undefined reference to `MPL_env2int'
/home/pwang/soft/petsc-3.3-p6/externalpackages/mpich2-1.4.1p1/src/util/param/param_vals.c:259: undefined reference to `MPL_env2int'
/home/pwang/soft/petsc-3.3-p6/arch-linux2-c-debug/lib/libmpich.a(param_vals.o):/home/pwang/soft/petsc-3.3-p6/externalpackages/mpich2-1.4.1p1/src/util/param/param_vals.c:261: more undefined references to `MPL_env2int' follow
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130417/461f347f/attachment.html>
More information about the petsc-users
mailing list