[petsc-users] running error

paul zhang paulhuaizhang at gmail.com
Sun Nov 30 20:54:37 CST 2014


Hello,

I compiled the newest version of  petsc-3.5.2 and tried to test an example
code with it. I could managed the compilation, but as I ran the sample,
some error popped out.  Could you please have a check? (files attached. I
did search the issue online, but ends up with no valid solution.)


--------------------------------------------------------------------------
Error obtaining unique transport key from ORTE
(orte_precondition_transports not present in
the environment).



Thanks,
Paul



Huaibao (Paul) Zhang
*Gas Surface Interactions Lab*
Department of Mechanical Engineering
University of Kentucky,
Lexington,
KY, 40506-0503
*Office*: 216 Ralph G. Anderson Building
*Web*:gsil.engineering.uky.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141130/97023d24/attachment.html>
-------------- next part --------------
set (CMAKE_CXX_COMPILER mpiCC)
set (CMAKE_CXX_FLAGS "-O3")

set (PETSC_INCLUDE_DIRS1 /home/hzh225/LIB_CFD/nP/petsc-3.5.2/include)
set (PETSC_INCLUDE_DIRS2 /home/hzh225/LIB_CFD/nP/petsc-3.5.2/linux-gnu-intel/include)
set (PETSC_LIBRARY_DIRS /home/hzh225/LIB_CFD/nP/petsc-3.5.2/linux-gnu-intel/lib)

cmake_minimum_required(VERSION 2.6)



project(kats)
set (kats_VERSION_MAJOR 2)
set (kats_VERSION_MINOR 0)

list (APPEND CMAKE_MODULE_PATH "${kats_SOURCE_DIR}/CMake")

# Pass some CMake settings to source code through a header file
configure_file (
	"${PROJECT_SOURCE_DIR}/cmake_vars.h.in"
	"${PROJECT_BINARY_DIR}/cmake_vars.h"
)

set (CMAKE_INSTALL_PREFIX ${PROJECT_SOURCE_DIR}/../)

# add to the include search path
include_directories("${PROJECT_SOURCE_DIR}")
include_directories(${PETSC_INCLUDE_DIRS1})
include_directories(${PETSC_INCLUDE_DIRS2})

link_directories(${PETSC_LIBRARY_DIRS})

#set (EXTRA_LIBS parmetis metis cgns petsc)# imf m)
set (EXTRA_LIBS petsc )

#add the executable
set (SOURCES
main.cc
cmake_vars.h
)
add_executable(kats ${SOURCES})

target_link_libraries (kats ${FCFD_LIBS} ${EXTRA_LIBS})

install (TARGETS kats RUNTIME DESTINATION bin)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmake_vars.h
Type: text/x-chdr
Size: 61 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141130/97023d24/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cc
Type: text/x-c++src
Size: 2363 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141130/97023d24/attachment.cc>


More information about the petsc-users mailing list