[Dune] Problems with using the parmetis flags in the opts files

Benedikt Oswald benedikt.oswald at psi.ch
Mon Mar 5 15:41:46 CET 2012


Hello Markus,thanks for the quick fix. It now works again. Greetings, Benedikt

On Mar 5, 2012, at 1:11 PM, Markus Blatt wrote:

> Hi Benedekt,
> 
> Thanks for the notification. I removed the bug and it should work
> again. Please check and yell if there are still problems.
> 
> Cheers,
> 
> Markus
> 
> On Mon, Mar 05, 2012 at 11:40:43AM +0100, Benedikt Oswald wrote:
>> Dear Dune Developer,
>> 
>> I just updated from dune trunk, cf. versions below, and run into problems with an empty library option … -l …
>> which I could track down to using parmetis. I then ran the test program in dune-istl paamt, i.e.
>> 
>> make pamgtest
>> 
>> which then gives the error message in the linking phase:
>> 
>> /bin/sh ../../../../libtool --tag=CXX   --mode=link mpicxx -std=c++0x  -DMPICH_IGNORE_CXX_SEEK -Wall -O2 -g0 --no-strict-aliasing -I/Users/oswald/extlib/superlu/4.3/gcc/4.6.2/SRC -DSUPERLU_NTYP=3 -DUSE_PAMG_FOR_HADES3DDGFD -L/Users/oswald/extlib/parmetis/3.2.0/openmpi/1.4.4/gcc/4.6.2 -lparmetis -framework vecLib   -L/Users/oswald/svnwork/dune-trunk/dune-common/lib -ldunecommon      -o pamgtest pamgtest-parallelamgtest.o -L/Users/oswald/extlib/parmetis/3.2.0/openmpi/1.4.4/gcc/4.6.2 -l -L/Users/oswald/extlib/openmpi/1.4.4/gcc/4.6.2/lib -lmpi -lopen-rte -lopen-pal -lutil -lm /Users/oswald/extlib/superlu/4.3/gcc/4.6.2/lib/libsuperlu_4.2.a  -L/Users/oswald/extlib/gcc/4.6.2/gcc/4.6.2/lib/gcc/x86_64-apple-darwin11.2.0/4.6.2 -L/Users/oswald/extlib/gcc/4.6.2/gcc/4.6.2/lib/gcc/x86_64-apple-darwin11.2.0/4.6.2/../../.. -lgfortran -lquadmath -lm -L/Users/oswald/extlib/openmpi/1.4.4/gcc/4.6.2/lib -lmpi -lopen-rte -lopen-pal -lutil  -lm 
>> libtool: link: mpicxx -std=c++0x -DMPICH_IGNORE_CXX_SEEK -Wall -O2 -g0 --no-strict-aliasing -I/Users/oswald/extlib/superlu/4.3/gcc/4.6.2/SRC -DSUPERLU_NTYP=3 -DUSE_PAMG_FOR_HADES3DDGFD -o pamgtest pamgtest-parallelamgtest.o -Wl,-bind_at_load  -L/Users/oswald/extlib/parmetis/3.2.0/openmpi/1.4.4/gcc/4.6.2 -L/Users/oswald/svnwork/dune-trunk/dune-common/lib /Users/oswald/svnwork/dune-trunk/dune-common/lib/.libs/libdunecommon.a -lparmetis -l -L/Users/oswald/extlib/openmpi/1.4.4/gcc/4.6.2/lib /Users/oswald/extlib/superlu/4.3/gcc/4.6.2/lib/libsuperlu_4.2.a -L/Users/oswald/extlib/gcc/4.6.2/gcc/4.6.2/lib/gcc/x86_64-apple-darwin11.2.0/4.6.2 -L/Users/oswald/extlib/gcc/4.6.2/gcc/4.6.2/lib/gcc/x86_64-apple-darwin11.2.0/4.6.2/../../.. /Users/oswald/extlib/gcc/4.6.2/gcc/4.6.2/lib/libgfortran.dylib /Users/oswald/extlib/gcc/4.6.2/gcc/4.6.2/lib/libquadmath.dylib /Users/oswald/extlib/openmpi/1.4.4/gcc/4.6.2/lib/libmpi.dylib /Users/oswald/extlib/openmpi/1.4.4/gcc/4.6.2/lib/libopen-rte.dylib /Users/oswald/extlib/openmpi/1.4.4/gcc/4.6.2/lib/libopen-pal.dylib -lutil -lm -framework vecLib
>> ld: library not found for -l-L/Users/oswald/extlib/openmpi/1.4.4/gcc/4.6.2/lib
>> collect2: ld returned 1 exit status
>> 
>> 
>> 
>> Thanks for having a look, Benedikt
>> 
>> 
>> ==================================
>> 
>> odysseus:dune-trunk oswald$ uname -a
>> Darwin odysseus.psi.ch 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64
>> odysseus:dune-trunk oswald$ 
>> 
>> 
>> 
>> ==================================
>> 
>> odysseus:dune-trunk oswald$ ./versioninfo.sh 
>> Path: .
>> URL: https://svn.dune-project.org/svn/dune-common/trunk
>> Repository Root: https://svn.dune-project.org/svn/dune-common
>> Repository UUID: 419231ca-4411-0410-aba2-fc6cf8c4f609
>> Revision: 6578
>> Node Kind: directory
>> Schedule: normal
>> Last Changed Author: mblatt
>> Last Changed Rev: 6575
>> Last Changed Date: 2012-03-03 08:49:29 +0100 (Sat, 03 Mar 2012)
>> 
>> Path: .
>> URL: https://svn.dune-project.org/svn/dune-geometry/trunk
>> Repository Root: https://svn.dune-project.org/svn/dune-geometry
>> Repository UUID: e31b3757-9ccd-424d-b11c-a976522ded21
>> Revision: 46
>> Node Kind: directory
>> Schedule: normal
>> Last Changed Author: mnolte
>> Last Changed Rev: 46
>> Last Changed Date: 2012-02-20 17:35:11 +0100 (Mon, 20 Feb 2012)
>> 
>> Path: .
>> URL: https://svn.dune-project.org/svn/dune-grid/trunk
>> Repository Root: https://svn.dune-project.org/svn/dune-grid
>> Repository UUID: f82f27de-4411-0410-b156-930a902cda50
>> Revision: 7923
>> Node Kind: directory
>> Schedule: normal
>> Last Changed Author: robertk
>> Last Changed Rev: 7923
>> Last Changed Date: 2012-03-02 14:33:41 +0100 (Fri, 02 Mar 2012)
>> 
>> Path: .
>> URL: https://svn.dune-project.org/svn/dune-istl/trunk
>> Repository Root: https://svn.dune-project.org/svn/dune-istl
>> Repository UUID: 8c7282f0-4411-0410-8e4f-cdd3e049afb8
>> Revision: 1538
>> Node Kind: directory
>> Schedule: normal
>> Last Changed Author: mnolte
>> Last Changed Rev: 1538
>> Last Changed Date: 2012-02-15 13:48:07 +0100 (Wed, 15 Feb 2012)
>> 
>> Path: .
>> URL: https://svn.dune-project.org/svn/dune-grid-howto/trunk
>> Repository Root: https://svn.dune-project.org/svn/dune-grid-howto
>> Repository UUID: 971b7fa1-7d12-0410-b1b7-9c127676b1f7
>> Revision: 371
>> Node Kind: directory
>> Schedule: normal
>> Last Changed Author: sander
>> Last Changed Rev: 371
>> Last Changed Date: 2012-02-18 19:50:55 +0100 (Sat, 18 Feb 2012)
>> 
>> 
>> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>> Benedikt Oswald, Dr. sc. techn., dipl. El. Ing. ETH, www.psi.ch, GFA, www.hades3d.ch
>> Paul Scherrer  Institute (PSI), CH-5232 Villigen, Suisse, benedikt.oswald at psi.ch, +41(0)56 310 32 12
>> 
>> "Passion is required for any great work, and for the revolution passion and audacity are required in big doses.",
>> Ernesto 'Che' Guevara, Letter to his parents.
>> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>> 
>> 
>> _______________________________________________
>> Dune mailing list
>> Dune at dune-project.org
>> http://lists.dune-project.org/mailman/listinfo/dune
>> 
> 
> -- 
> Do you need more support with DUNE or HPC in general? 
> 
> Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
> Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
> Tel.: +49 (0) 160 97590858  Fax: +49 (0)322 1108991658 
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune

--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Benedikt Oswald, Dr. sc. techn., dipl. El. Ing. ETH, www.psi.ch, GFA, www.hades3d.ch
Paul Scherrer  Institute (PSI), CH-5232 Villigen, Suisse, benedikt.oswald at psi.ch, +41(0)56 310 32 12

"Passion is required for any great work, and for the revolution passion and audacity are required in big doses.",
 Ernesto 'Che' Guevara, Letter to his parents.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20120305/ce76031c/attachment.htm>


More information about the Dune mailing list