CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General 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 Search this Thread 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: 14
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


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 14:56
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 16:02
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 11:46


All times are GMT -4. The time now is 01:09.