Hello, yes that works. But I have discovered some other issues: - The installed libmesh-config script does not work, if it is called using a relative file path. Removing "$script_path" from line 37 fixes this. - In my opinion the installed stuff should follow somehow the FHS, so there are no problems using prefix=/usr/local or even prefix=/ (as packagers for e.g. Debian would do). - When using the default configuration the libmesh shared library is build against openmp. When using the pkg-config files to integrate libmesh into my application the link process fails with:
/tmp/libmesh/lib/x86_64-suse-linux-gnu_opt/libmesh.so: undefined reference to `GOMP_parallel_start' /tmp/libmesh/lib/x86_64-suse-linux-gnu_opt/libmesh.so: undefined reference to `GOMP_single_start' /tmp/libmesh/lib/x86_64-suse-linux-gnu_opt/libmesh.so: undefined reference to `GOMP_barrier' /tmp/libmesh/lib/x86_64-suse-linux-gnu_opt/libmesh.so: undefined reference to `omp_get_thread_num' /tmp/libmesh/lib/x86_64-suse-linux-gnu_opt/libmesh.so: undefined reference to `GOMP_parallel_end' /tmp/libmesh/lib/x86_64-suse-linux-gnu_opt/libmesh.so: undefined reference to `omp_get_num_threads' collect2: ld returned 1 exit status so there is a linker flag missing at least in the pkg-config file And one last thing: Does any know a possiblity to use the pkg-config version selector to switch between dbg and opt builds? Robert On Mon, Nov 19, 2012 at 10:43:20AM -0600, Kirk, Benjamin (JSC-EG311) wrote: > On Nov 19, 2012, at 10:07 AM, Robert <libm...@robertweidlich.de> wrote: > > > Hi Ben, > > > > I am using the mpi installation provided by PetSc with > > --download-mpich=1. So the mpi used should be the one in > > ~/opt/build/petsc-3.2-p6/linux-gnu-opt/include > > r6407 should pass PETSc's include paths to parmetis, which should resolve > your issue. > > Thanks, > > -Ben > > ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Libmesh-devel mailing list Libmesh-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-devel