Dear Roy, Thank you very much for your help. I successfully compiled the r3742 without mpi and with petsc/slepc support. Unfortunately, when running from matlab my stupide mex file "mex_loadlibmesh.cxx" (see my previous post http://sourceforge.net/mailarchive/message.php?msg_id=4B9F69C3.2020604%40univ-savoie.fr),
I obtain the following message : ------------------------------------------------------------------------ >> mex_loadlibmesh STEP 1 STEP 2 STEP 3 LibMeshInit done >> mex_loadlibmesh STEP 1 [0]PETSC ERROR: --------------------- Error Message ------------------------------------ [0]PETSC ERROR: You can not initialize PETSc a second time! [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Petsc Release Version 3.0.0, Patch 11, Mon Feb 1 11:01:51 CST 2010 [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 linux-gnu named a175.lama.univ-savoie.fr by oudet Wed Mar 17 15:54:34 2010 [0]PETSC ERROR: Libraries linked from /home/oudet/C++/Petsc/petsc-3.0.0-p11/linux-gnu-opt/lib [0]PETSC ERROR: Configure run at Wed Mar 17 15:17:53 2010 [0]PETSC ERROR: Configure options --with-cc="gcc -fPIC" --with-cxx="g++ -fPIC" --with-fc="gfortran -fPIC" --with-mpi-compilers=0 --with-shared=0 --with-dynamic=0 --with-debugging=0 --with-superlu=1 --download-superlu=1 --with-umfpack=1 --download-umfpack=1 --with-mpi=0 --download-f-blas-lapack=yes [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: PetscInitialize() line 485 in src/sys/objects/pinit.c [0]PETSC ERROR: SlepcInitialize() line 140 in src/sys/slepcinit.c STEP 2 ------------------------------------------------------------------------ and then, matlab session logout ! Does any one has some suggestions to force Petsc/Slepc to stop at the end of the first run in that context ? Best regards, Edouard. > > On Tue, 16 Mar 2010, Roy Stogner wrote: > >> I'll take a quick crack at it this afternoon, but it's not high on my >> priority list, so unless it turns out to be an easy fix you'll be >> stuck doing it yourself. > > The fixes were pretty easy; testing a bunch of different > configurations was not. But it looks like the libMesh svn HEAD now > works with PETSc enabled and MPI disabled. Give it a try. > > To everyone else: this seemed like a simple change, but Roy editing m4 > files, finding new ways to snoop PETSc config files, and making > low-level changes are all risky things. Be paranoid when updating and > let me know ASAP if there's any weirdness. I've put in a bunch of > minor changes lately, but the tricky parts of this one are all in > r3742 so we can revert in one stroke if necessary. > --- > Roy -- Edouard Oudet : http://www.lama.univ-savoie.fr/~oudet/ Université de Savoie Laboratoire de Mathématiques (LAMA) UMR 5127 Campus Scientifique 73 376 Le-Bourget-Du-Lac +33 (0)4 79 75 87 65 (office) +33 (0)4 79 68 82 06 (home) ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
