[petsc-dev] Compile petsc to use external Package

Jose David Bermeol jbermeol at purdue.edu
Mon Sep 16 09:41:24 CDT 2013


Hi what I have done until now if the following:
    - Create a cpardiso folder:
        - Implementation of my linear solver for mpiaij matrices.
        - Create a make file for configuration 
    - Add '#define MATSOLVERCPARDISO     "cpardiso"' in petscmat.h file
    - Add mkl.py
    - Add cpardiso.py
    - Add directory pardiso to mpiaij makefile

Then it configure and compile perfect, but when I run a test it says:
[0]PETSC ERROR: --------------------- Error Message ------------------------------------
[0]PETSC ERROR: No support for this operation for this object type!
[0]PETSC ERROR: Matrix format mpiaij does not have a solver package cpardiso for LU. Perhaps you must ./configure with --download-cpardiso!
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Development GIT revision: 47da4c6d11120cc5c162840baeab1ba5357e1b3c  GIT Date: 2013-09-08 16:15:12 -0500
[0]PETSC ERROR: See docs/changes/index.html for recent updates.
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: ./test on a arch-linux2-c-debug named conte-fe01.rcac.purdue.edu by jbermeol Mon Sep 16 10:32:16 2013
[0]PETSC ERROR: Libraries linked from /home/jbermeol/Nemo5/libs/petsc/petsc-dev-cpardiso/arch-linux2-c-debug/lib
[0]PETSC ERROR: Configure run at Mon Sep 16 10:27:37 2013
[0]PETSC ERROR: Configure options --with-mpi-dir=/apps/rhel6/intel/impi/4.1.1.036/intel64 --with-mkl-include=/apps/rhel5/intel/composer_xe_2013.3.163/mkl/include --with-mkl-lib="[/apps/rhel5/intel/composer_xe_2013.3.163/mkl/lib/intel64/libmkl_intel_lp64.so,libmkl_intel_thread.so,libmkl_core.so]" --with-cpardiso-include=/home/jbermeol/Pardiso/cpardiso_lib_13.06.2013/intel_mkl_cpardiso/include --with-cpardiso-lib="[/home/jbermeol/Pardiso/cpardiso_lib_13.06.2013/intel_mkl_cpardiso/lib/libcpardiso.a,libcpardiso_mpi.a]" --with-blas-lapack-dir=/apps/rhel5/intel/composer_xe_2013.3.163/mkl
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: MatGetFactor() line 4020 in /home/jbermeol/Nemo5/libs/petsc/petsc-dev-cpardiso/src/mat/interface/matrix.c
[0]PETSC ERROR: PCSetUp_LU() line 125 in /home/jbermeol/Nemo5/libs/petsc/petsc-dev-cpardiso/src/ksp/pc/impls/factor/lu/lu.c
[0]PETSC ERROR: PCSetUp() line 890 in /home/jbermeol/Nemo5/libs/petsc/petsc-dev-cpardiso/src/ksp/pc/interface/precon.c
[0]PETSC ERROR: KSPSetUp() line 278 in /home/jbermeol/Nemo5/libs/petsc/petsc-dev-cpardiso/src/ksp/ksp/interface/itfunc.c
[0]PETSC ERROR: KSPSolve() line 399 in /home/jbermeol/Nemo5/libs/petsc/petsc-dev-cpardiso/src/ksp/ksp/interface/itfunc.c

I don't know what is the problem

Thanks



More information about the petsc-dev mailing list