CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

can't building file using petsc

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 16, 2013, 23:20
Default can't building file using petsc
  #1
New Member
 
Join Date: Mar 2012
Posts: 20
Rep Power: 5
T.Matrix is on a distinguished road
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'
T.Matrix is offline   Reply With Quote

Reply

Tags
building, petsc

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
swak4foam building problem GGerber OpenFOAM Installation 54 April 24, 2015 16:02
Error compiling OpenFOAM-1.6-ext Canesin OpenFOAM Installation 136 April 25, 2012 11:22
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46


All times are GMT -4. The time now is 18:46.