Debug: Linking with TAU Options Executing> /usr/bin/gcc -o te driver.o teallocate.o petscRoutines.o divideDomain.o teinitialize.o tedynamics.o newmark.o tememory.o tereader.o meshRoutines.o IO_screen.o teshape.o tetrab.o tekasmbl.o boundary.o temasmbl.o temassp.o tewriter.o terestart.o teoutput.o tewriter2.o ./common/matxt.o ./common/matx.o ./common/dotx.o ./common/lm.o ./common/idiag.o ./common/kasmbl.o ./common/sky.o ./common/qr.o ./common/cubic.o ./common/eigen.o ./common/eigenprint.o -lm -Wl,-rpath,/home/irfan/downloads/petsc-3.0.0-p7/linux-mpich2-debug/lib -L/home/irfan/downloads/petsc-3.0.0-p7/linux-mpich2-debug/lib -lpetscts -lpetscsnes -lpetscksp -lpetscdm -lpetscmat -lpetscvec -lpetsc -Wl,-rpath,/home/irfan/downloads/petsc-3.0.0-p7/linux-mpich2-debug/lib -L/home/irfan/downloads/petsc-3.0.0-p7/linux-mpich2-debug/lib -lf2clapack -lf2cblas -lm -lparmetis -lmetis -lnsl -lrt -lm -ldl -L/home/irfan/downloads/tau-2.19/x86_64/lib -lTauMpi-mpi-pdt -L/usr/local/mpich2.12/lib -lmpichcxx -lmpich -lrt -L/home/irfan/downloads/tau-2.19/x86_64/lib -ltau-mpi-pdt -L/home/irfan/downloads/tau-2.19/x86_64/binutils-2.20/lib -L/home/irfan/downloads/tau-2.19/x86_64/binutils-2.20/lib64 -lbfd -liberty -lz -L/usr/lib/gcc/x86_64-linux-gnu/4.2.4/ -lstdc++ -lgcc_s /home/irfan/downloads/tau-2.19/x86_64/lib/libTauMpi-mpi-pdt.a(TauMpiExtensions.o): In function `MPI_FILE_READ_AT': TauMpiExtensions.c:(.text+0x557d): undefined reference to `MPI_Status_c2f' /home/irfan/downloads/tau-2.19/x86_64/lib/libTauMpi-mpi-pdt.a(TauMpiExtensions.o): In function `MPI_FILE_READ_AT_ALL': TauMpiExtensions.c:(.text+0x5801): undefined reference to `MPI_Status_c2f' /home/irfan/downloads/tau-2.19/x86_64/lib/libTauMpi-mpi-pdt.a(TauMpiExtensions.o): In function `MPI_FILE_WRITE_AT': TauMpiExtensions.c:(.text+0x5a85): undefined reference to `MPI_Status_c2f' /home/irfan/downloads/tau-2.19/x86_64/lib/libTauMpi-mpi-pdt.a(TauMpiExtensions.o): In function `MPI_FILE_WRITE_AT_ALL': TauMpiExtensions.c:(.text+0x5d09): undefined reference to `MPI_Status_c2f' /home/irfan/downloads/tau-2.19/x86_64/lib/libTauMpi-mpi-pdt.a(TauMpiExtensions.o): In function `MPI_FILE_READ': TauMpiExtensions.c:(.text+0x7c4a): undefined reference to `MPI_Status_c2f' /home/irfan/downloads/tau-2.19/x86_64/lib/libTauMpi-mpi-pdt.a(TauMpiExtensions.o):TauMpiExtensions.c:(.text+0x7e90): more undefined references to `MPI_Status_c2f' follow /home/irfan/downloads/tau-2.19/x86_64/lib/libTauMpi-mpi-pdt.a(TauMpiExtensions.o): In function `MPI_STATUS_SET_ELEMENTS': TauMpiExtensions.c:(.text+0xc246): undefined reference to `MPI_Status_f2c' TauMpiExtensions.c:(.text+0xc270): undefined reference to `MPI_Status_c2f' /home/irfan/downloads/tau-2.19/x86_64/lib/libTauMpi-mpi-pdt.a(TauMpiExtensions.o): In function `MPI_STATUS_SET_CANCELLED': TauMpiExtensions.c:(.text+0xc394): undefined reference to `MPI_Status_f2c' TauMpiExtensions.c:(.text+0xc3b8): undefined reference to `MPI_Status_c2f' /home/irfan/downloads/tau-2.19/x86_64/lib/libTauMpi-mpi-pdt.a(TauMpiExtensions.o): In function `MPI_REQUEST_GET_STATUS': TauMpiExtensions.c:(.text+0xc7a7): undefined reference to `MPI_Status_c2f' collect2: ld returned 1 exit status Error: Tried looking for file: te Error: Failed to link with TAU options Error: Command(Executable) is -- /usr/bin/gcc Error: Full Command attempted is -- /usr/bin/gcc -o te driver.o teallocate.o petscRoutines.o divideDomain.o teinitialize.o tedynamics.o newmark.o tememory.o tereader.o meshRoutines.o IO_screen.o teshape.o tetrab.o tekasmbl.o boundary.o temasmbl.o temassp.o tewriter.o terestart.o teoutput.o tewriter2.o ./common/matxt.o ./common/matx.o ./common/dotx.o ./common/lm.o ./common/idiag.o ./common/kasmbl.o ./common/sky.o ./common/qr.o ./common/cubic.o ./common/eigen.o ./common/eigenprint.o -lm -Wl,-rpath,/home/irfan/downloads/petsc-3.0.0-p7/linux-mpich2-debug/lib -L/home/irfan/downloads/petsc-3.0.0-p7/linux-mpich2-debug/lib -lpetscts -lpetscsnes -lpetscksp -lpetscdm -lpetscmat -lpetscvec -lpetsc -Wl,-rpath,/home/irfan/downloads/petsc-3.0.0-p7/linux-mpich2-debug/lib -L/home/irfan/downloads/petsc-3.0.0-p7/linux-mpich2-debug/lib -lf2clapack -lf2cblas -lm -lparmetis -lmetis -lnsl -lrt -lm -ldl -L/home/irfan/downloads/tau-2.19/x86_64/lib -lTauMpi-mpi-pdt -L/usr/local/mpich2.12/lib -lmpichcxx -lmpich -lrt -L/home/irfan/downloads/tau-2.19/x86_64/lib -ltau-mpi-pdt -L/home/irfan/downloads/tau-2.19/x86_64/binutils-2.20/lib -L/home/irfan/downloads/tau-2.19/x86_64/binutils-2.20/lib64 -lbfd -liberty -lz -L/usr/lib/gcc/x86_64-linux-gnu/4.2.4/ -lstdc++ -lgcc_s make[1]: *** [all] Error 1