|
[Sponsors] |
August 17, 2013, 00:20 |
can't building file using petsc
|
#1 |
New Member
Join Date: Mar 2012
Posts: 20
Rep Power: 14 |
HI,
I have just installed petsc, and then I run a given example within the petsc successfully. However, I failed to run it if I copy the example to my workspace from petsc's original directory. Here are the partly output messages: /home/cfd/usr/lib/libpetsc.a(comm.o): In function `PCTFS_grop(double*, double*, int, int*)': /home/cfd/installing/petsc-3.3-p6/src/ksp/pc/impls/tfs/comm.c:206: undefined reference to `MPI_Send' /home/cfd/installing/petsc-3.3-p6/src/ksp/pc/impls/tfs/comm.c:209: undefined reference to `MPI_Recv' /home/cfd/installing/petsc-3.3-p6/src/ksp/pc/impls/tfs/comm.c:221: undefined reference to `MPI_Send' /home/cfd/installing/petsc-3.3-p6/src/ksp/pc/impls/tfs/comm.c:224: undefined reference to `MPI_Recv' /home/cfd/installing/petsc-3.3-p6/src/ksp/pc/impls/tfs/comm.c:237: undefined reference to `MPI_Send' /home/cfd/installing/petsc-3.3-p6/src/ksp/pc/impls/tfs/comm.c:240: undefined reference to `MPI_Recv' /home/cfd/installing/petsc-3.3-p6/src/ksp/pc/impls/tfs/comm.c:250: undefined reference to `MPI_Recv' /home/cfd/installing/petsc-3.3-p6/src/ksp/pc/impls/tfs/comm.c:253: undefined reference to `MPI_Send' /home/cfd/usr/lib/libpetsc.a(comm.o): In function `PCTFS_grop_hc(double*, double*, int, int*, int)': /home/cfd/installing/petsc-3.3-p6/src/ksp/pc/impls/tfs/comm.c:304: undefined reference to `MPI_Send' /home/cfd/installing/petsc-3.3-p6/src/ksp/pc/impls/tfs/comm.c:307: undefined reference to `MPI_Recv' /home/cfd/installing/petsc-3.3-p6/src/ksp/pc/impls/tfs/comm.c:324: undefined reference to `MPI_Send' /home/cfd/installing/petsc-3.3-p6/src/ksp/pc/impls/tfs/comm.c:327: undefined reference to `MPI_Recv' |
|
Tags |
building, petsc |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] Error compiling OpenFOAM-1.6-ext | Canesin | OpenFOAM Installation | 137 | January 20, 2016 15:56 |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 17:02 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 12:46 |