Solver package superlu_dist not working on docker

49 views
Skip to first unread message

zahur.ullah1

unread,
Oct 17, 2017, 11:49:15 AM10/17/17
to mofem...@googlegroups.com
The solver package superlu_dist is not working on docker. I found this while using the following command

mpirun -np 1 ./rve_fibre_directions_interface -my_file $HOSTHOME/Desktop/meshfile.cub  -ksp_type fgmres -pc_type lu -pc_factor_mat_solver_package superlu_dist -ksp_monitor -my_order 1



And following error,
Problem POTENTIAL_PROBLEM Nb. rows 378 Nb. cols 378
 create_Mat
: row lower 0 row upper 378
[0]PETSC ERROR: --------------------- MoFEM Error Message---------------------------------------------------------------------------
[0]PETSC ERROR: MoFEM version 0.5.90
[0]PETSC ERROR: MoFEM git commit id GITDIR-NOTFOUND
[0]PETSC ERROR: See http://mofem.eng.gla.ac.uk/mofem/html/guidelines_bug_reporting.html for bug reporting.
[0]PETSC ERROR: See http://mofem.eng.gla.ac.uk/mofem/html/faq_and_bugs.html for trouble shooting.
[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/linearsolvertable.html for possible LU and Cholesky solvers
[0]PETSC ERROR: Could not locate solver package superlu_dist. Perhaps you must ./configure with --download-superlu_dist
[0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[0]PETSC ERROR: Petsc Release Version 3.7.6, unknown
[0]PETSC ERROR: ./rve_fibre_directions_interface on a arch-linux2-c-opt named b18e6fbdc908 by Unknown Tue Oct 17 15:05:17 2017
[0]PETSC ERROR: Configure options --with-debugging=0 --with-mpi=1 --download-metis=1 --download-parmetis=1 --download-hypre=1 --download-mumps=1 --download-blacs=1 --download-hdf5=1 --download-netcdf=/opt/petsc/netcdf-4.3.3.1.tar.gz --download-scalapack=1 --with-shared-libraries=1
[0]PETSC ERROR: #1 MatGetFactor() line 4242 in /opt/petsc/src/mat/interface/matrix.c
[0]PETSC ERROR: #2 PCSetUp_LU() line 134 in /opt/petsc/src/ksp/pc/impls/factor/lu/lu.c
[0]PETSC ERROR: #3 PCSetUp() line 968 in /opt/petsc/src/ksp/pc/interface/precon.c
[0]PETSC ERROR: #4 KSPSetUp() line 390 in /opt/petsc/src/ksp/ksp/interface/itfunc.c
[0]PETSC ERROR: #5 main() line 422 in /mofem_build/um/users_modules/homogenisation/rve_fibre_directions_interface.cpp
[0]PETSC ERROR: PETSc Option Table entries:
[0]PETSC ERROR: -ksp_monitor
[0]PETSC ERROR: -ksp_type fgmres
[0]PETSC ERROR: -my_file /Users/zahur/Desktop/3d_textiles/analysis/mesh/orthogonal_layer_to_layer.cub
[0]PETSC ERROR: -my_order 1
[0]PETSC ERROR: -pc_factor_mat_solver_package superlu_dist
[0]PETSC ERROR: -pc_type lu
[0]PETSC ERROR: ----------------End of Error Message -------send entire error message to petsc-maint@mcs.anl.gov----------
[0]PETSC ERROR: ----------MoFEM End of Error Message -------send entire error message to mofem-group@googlegroups.com ----------
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank
0 in communicator MPI_COMM_WORLD
with errorcode 92.



Lukasz Kaczmraczyk

unread,
Oct 17, 2017, 11:56:08 AM10/17/17
to mofem Group
Note this,
[0]PETSC ERROR: Could not locate solver package superlu_dist. Perhaps you must ./configure with --download-superlu_dist

Superlu_dist is missing decker installation. I going to add it in next release. You can use mumps, or add superlu_dist by yourself. In order to do that edit Dockerfile-build-env, add line 
--download-mumps=1 \
--download-superlu_dist=1 \

Now you can make docker image with superlu_dist installed on it,
docker build -t ubuntu_mofem:latest  --file=Dockerfile-build-env  .


Reply all
Reply to author
Forward
0 new messages