<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I used to compile and link using PETSc 3.6.0 + MPICH2 on VS2008.<br>
<br>
Due to some MPICH2 issues, I am trying to use Intel MPI (newest
version). Building and testing of PETSc 3.6.1 with Intel MPI all
went smoothly.<br>
<br>
However, I now have problem linking the files on VS2008 to create
the final exe. The error is:<br>
<br>
<i><b>1>Compiling manifest to resources...</b></i><i><b><br>
</b></i><i><b>1>Microsoft (R) Windows (R) Resource Compiler
Version 6.0.5724.0</b></i><i><b><br>
</b></i><i><b>1>Copyright (C) Microsoft Corporation. All
rights reserved.</b></i><i><b><br>
</b></i><i><b>1>Linking...</b></i><i><b><br>
</b></i><i><b>1>global.obj : error LNK2019: unresolved external
symbol MATCREATEAIJ referenced in function
GLOBAL_DATA_mp_ALLO_VAR</b></i><i><b><br>
</b></i><i><b>1>global.obj : error LNK2019: unresolved external
symbol MATSETFROMOPTIONS referenced in function
GLOBAL_DATA_mp_ALLO_VAR</b></i><i><b><br>
</b></i><i><b>...</b></i><i><b><br>
</b></i><i><b>1>PETSc_solvers.obj : error LNK2019: unresolved
external symbol VECGETARRAY referenced in function
PETSC_SOLVERS_mp_P_MATRIX_SOLV_PETSC</b></i><i><b><br>
</b></i><i><b>1>PETSc_solvers.obj : error LNK2019: unresolved
external symbol VECRESTOREARRAY referenced in function
PETSC_SOLVERS_mp_P_MATRIX_SOLV_PETSC</b></i><i><b><br>
</b></i><i><b>1>PETSc_solvers.obj : error LNK2019: unresolved
external symbol DMLOCALTOLOCALBEGIN referenced in function
PETSC_SOLVERS_mp_DM_UPDATE_ARRAY</b></i><i><b><br>
</b></i><i><b>1>PETSc_solvers.obj : error LNK2019: unresolved
external symbol DMLOCALTOLOCALEND referenced in function
PETSC_SOLVERS_mp_DM_UPDATE_ARRAY</b></i><i><b><br>
</b></i><i><b>1>ibm3d_high_Re.obj : error LNK2019: unresolved
external symbol PETSCINITIALIZE referenced in function MAIN__</b></i><i><b><br>
</b></i><i><b>1>C:\Obj_tmp\ibm3d_IIB_mpi_old\Debug\ibm3d_IIB_mpi.exe
: fatal error LNK1120: 74 unresolved externals</b></i><i><b><br>
</b></i><i><b>1></b></i><i><b><br>
</b></i><i><b>1>Build log written to
<a class="moz-txt-link-rfc2396E" href="file://C:\Obj_tmp\ibm3d_IIB_mpi_old\Debug\BuildLog.htm">"file://C:\Obj_tmp\ibm3d_IIB_mpi_old\Debug\BuildLog.htm"</a></b></i><i><b><br>
</b></i><i><b>1>ibm3d_IIB_mpi_old - 165 error(s), 0 warning(s)</b></i><i><b><br>
</b></i><i><b>========== Rebuild All: 0 succeeded, 1 failed, 0
skipped ==========</b></i><br>
<br>
I did not do much changes since the prev PETSc worked. I only
changed the directory $(PETSC_DIR) and $(IMPI) to the new directory
in win7 environment variables. I wonder what's wrong.<br>
<pre class="moz-signature" cols="72">--
Thank you
Yours sincerely,
TAY wee-beng</pre>
</body>
</html>