<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
p
        {margin-top:0;
        margin-bottom:0}
p
        {margin-top:0;
        margin-bottom:0}
p
        {margin-top:0;
        margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Andreas,<br>
<br>
"-lgfortran" appears neither in the Makefile of my module nor in the Makefile of the source folder, where my .cc file is located.<br>
Instead, I can find it the DUNE-FEM Makefile, under FCLIBS.<br>
<div><br>
What could I do?<br>
<br>
Andrea<br>
<div style="font-family: Tahoma; font-size: 13px;"><br>
__________________________________________________________<br>
<br>
Andrea Sacconi<br>
PhD student, Applied Mathematics<br>
AMMP Section, Department of Mathematics, Imperial College London,<br>
London SW7 2AZ, UK<br>
a.sacconi11@imperial.ac.uk<br>
</div>
</div>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF563226"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Dedner, Andreas [A.S.Dedner@warwick.ac.uk]<br>
<b>Sent:</b> 26 September 2012 11:50<br>
<b>To:</b> Sacconi, Andrea<br>
<b>Subject:</b> RE: Problems in including the UMFPACK library<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
If you search your Makefile for lgfortran does anything turn up and what does it say?<br>
Andreas<br>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div id="divRpF198466" style="direction: ltr;"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Sacconi, Andrea [a.sacconi11@imperial.ac.uk]<br>
<b>Sent:</b> 26 September 2012 10:34<br>
<b>To:</b> Dedner, Andreas<br>
<b>Cc:</b> dune-fem@dune-project.org<br>
<b>Subject:</b> RE: Problems in including the UMFPACK library<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
Hi all,<br>
<br>
thanks for the suggestions. Now DUNE recognises the presence of UMFPACK.<br>
<br>
I have just an additional question, since it seems in the linking phase there's a library missing.<br>
Precisely, while building my own module, I get this error:<br>
<br>
/usr/local/lib/libumfpack.a(umfpack_gn_tictoc.o): In function `umfpack_tic':<br>
umfpack_tictoc.c:(.text+0x5): undefined reference to `SuiteSparse_time'<br>
/usr/local/lib/libumfpack.a(umfpack_gn_tictoc.o): In function `umfpack_toc':<br>
umfpack_tictoc.c:(.text+0x25): undefined reference to `SuiteSparse_time'<br>
/usr/local/lib/libblas.a(xerbla.o): In function `xerbla_':<br>
xerbla.f:(.text+0x49): undefined reference to `_gfortran_st_write'<br>
xerbla.f:(.text+0x54): undefined reference to `_gfortran_string_len_trim'<br>
xerbla.f:(.text+0x66): undefined reference to `_gfortran_transfer_character_write'<br>
xerbla.f:(.text+0x76): undefined reference to `_gfortran_transfer_integer_write'<br>
xerbla.f:(.text+0x7e): undefined reference to `_gfortran_st_write_done'<br>
xerbla.f:(.text+0x87): undefined reference to `_gfortran_stop_string'<br>
collect2: ld returned 1 exit status<br>
<br>
<div>Googling on other forums, I discovered that it's probably due to the missing inclusion "-lgfortran".<br>
So, following Martin's previous tip, I noticed that in ./configure --help of dune-fem there is the possibility of putting:<br>
<br>
LIBS=-lgfortran<br>
<br>
I put this additional flag in the config.opts I'm using to build my own module ... but it didn't work. Is my command correct? If it's not, where do I have to insert it?<br>
<br>
Thanks for your help!<br>
<br>
Andrea<br>
<div style="font-family: Tahoma; font-size: 13px;"><br>
__________________________________________________________<br>
<br>
Andrea Sacconi<br>
PhD student, Applied Mathematics<br>
AMMP Section, Department of Mathematics, Imperial College London,<br>
London SW7 2AZ, UK<br>
a.sacconi11@imperial.ac.uk<br>
</div>
</div>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div id="divRpF575186" style="direction: ltr;"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Dedner, Andreas [A.S.Dedner@warwick.ac.uk]<br>
<b>Sent:</b> 17 September 2012 16:57<br>
<b>To:</b> Sacconi, Andrea<br>
<b>Subject:</b> RE: Problems in including the UMFPACK library<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
<font size="2"><span style="font-size: 10pt;">Hi Andrea.<br>
<br>
tyy somelike like<br>
<br>
  --with-umfpack-includedir=$MODPATH/umfpack/include \<br>
  --with-umfpack-libdir=$MODPATH/umfpack/lib \<br>
<br>
in the config.opts file and if you still have problems, include the config.log file found<br>
in the dune-fem directory.<br>
<br>
Andreas<br>
<br>
</span></font>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div id="divRpF38297" style="direction: ltr;"><font color="#000000" face="Tahoma" size="2"><b>From:</b> dune-bounces+a.s.dedner=warwick.ac.uk@dune-project.org [dune-bounces+a.s.dedner=warwick.ac.uk@dune-project.org] on behalf of Sacconi, Andrea [a.sacconi11@imperial.ac.uk]<br>
<b>Sent:</b> 12 September 2012 15:26<br>
<b>To:</b> dune@dune-project.org<br>
<b>Subject:</b> [Dune] Problems in including the UMFPACK library<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
Hi everyone,<br>
<br>
I have a small problem with UMFPACK.<br>
I'd like to use it to make a comparison with a CG approach, in the specific problem I'm solving.<br>
<br>
When I build my own module,  the list of components found is the following :<br>
<br>
dune-common.............: version 2.2.0<br>
dune-fem................: version 1.3.0<br>
dune-geometry...........: version 2.2.0<br>
dune-grid...............: version 2.2.0<br>
dune-istl...............: version 2.2.0<br>
dune-localfunctions.....: version 2.2.0<br>
ALBERTA.................: version 3.0<br>
ALUGrid.................: version 1.50 (parallel)<br>
.<br>
.<br>
.<br>
UMFPACK.................: no<br>
psurface................: yes<br>
<br>
while instead UMFPACK is correctly installed; there is /usr/local/include/umfpack.h and the other libraries.<br>
I tried to modify the Makefile.am, but it didn't work.<br>
<br>
Any ideas about how making DUNE recognise the presence of UMFPACK?<br>
<br>
Many thanks,<br>
<br>
Andrea<br>
<div>__________________________________________________________<br>
<div style="font-family: Tahoma; font-size: 13px;"><br>
Andrea Sacconi<br>
PhD student, Applied Mathematics<br>
AMMP Section, Department of Mathematics, Imperial College London,<br>
London SW7 2AZ, UK<br>
a.sacconi11@imperial.ac.uk<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>