<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Compiling MUMPS 4.9.2 under Microsoft Visual Studio and Intel Fortran with GNU Make</title>
	<atom:link href="http://matrixprogramming.com/2010/05/mumps/feed" rel="self" type="application/rss+xml" />
	<link>http://matrixprogramming.com/2010/05/mumps</link>
	<description>Compiling numerical libraries</description>
	<lastBuildDate>Tue, 15 May 2012 02:26:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Evgenii Rudnyi</title>
		<link>http://matrixprogramming.com/2010/05/mumps/comment-page-1#comment-857</link>
		<dc:creator>Evgenii Rudnyi</dc:creator>
		<pubDate>Thu, 08 Dec 2011 09:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://1.rudnyi.peterhost.ru/?p=354#comment-857</guid>
		<description>I have never used WinMumps, sorry. You may want to this at the MUMPS discussion list.</description>
		<content:encoded><![CDATA[<p>I have never used WinMumps, sorry. You may want to this at the MUMPS discussion list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: erick</title>
		<link>http://matrixprogramming.com/2010/05/mumps/comment-page-1#comment-856</link>
		<dc:creator>erick</dc:creator>
		<pubDate>Wed, 07 Dec 2011 14:13:19 +0000</pubDate>
		<guid isPermaLink="false">http://1.rudnyi.peterhost.ru/?p=354#comment-856</guid>
		<description>Dear Dr. Evgenii Rudnyi,
   Thank you very much for your contribution.Now i want to use the WinMumps on the windows plat. Is it sequential
version or parallel version？if I want to complie palallel version， what libraries do I need to add？</description>
		<content:encoded><![CDATA[<p>Dear Dr. Evgenii Rudnyi,<br />
   Thank you very much for your contribution.Now i want to use the WinMumps on the windows plat. Is it sequential<br />
version or parallel version？if I want to complie palallel version， what libraries do I need to add？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evgenii Rudnyi</title>
		<link>http://matrixprogramming.com/2010/05/mumps/comment-page-1#comment-850</link>
		<dc:creator>Evgenii Rudnyi</dc:creator>
		<pubDate>Thu, 10 Nov 2011 18:35:11 +0000</pubDate>
		<guid isPermaLink="false">http://1.rudnyi.peterhost.ru/?p=354#comment-850</guid>
		<description>WinMumps allows you to compile MUMPS under Visual Studio provided that you have also Intel Fortran installed. MUMPS is written mostly in Fortran 90 and there are some funtions written in C (not C#).</description>
		<content:encoded><![CDATA[<p>WinMumps allows you to compile MUMPS under Visual Studio provided that you have also Intel Fortran installed. MUMPS is written mostly in Fortran 90 and there are some funtions written in C (not C#).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlos</title>
		<link>http://matrixprogramming.com/2010/05/mumps/comment-page-1#comment-849</link>
		<dc:creator>carlos</dc:creator>
		<pubDate>Tue, 08 Nov 2011 23:01:55 +0000</pubDate>
		<guid isPermaLink="false">http://1.rudnyi.peterhost.ru/?p=354#comment-849</guid>
		<description>Hi,

I did not understand the purpose of WinMumps. I can program in MUMPS within the VisualStudio 2010 C # Express?
Thank you.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I did not understand the purpose of WinMumps. I can program in MUMPS within the VisualStudio 2010 C # Express?<br />
Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evgenii Rudnyi</title>
		<link>http://matrixprogramming.com/2010/05/mumps/comment-page-1#comment-283</link>
		<dc:creator>Evgenii Rudnyi</dc:creator>
		<pubDate>Fri, 11 Mar 2011 18:19:29 +0000</pubDate>
		<guid isPermaLink="false">http://1.rudnyi.peterhost.ru/?p=354#comment-283</guid>
		<description>I have just tried nm

$ nm libdmumps.lib &#124; grep -iw _dmumps
         U _DMUMPS
00013666 T _DMUMPS

So DMUMPS is in this lib. You may check with nm the object file that you want to link to make sure that there the name is exactly the same.

If you was able to link from C, then this must work for Fortran as well. When you compile the file, you obtain an object file and it is already programming language independent.

Try to compile from the command line, it is much easier than from GUI.</description>
		<content:encoded><![CDATA[<p>I have just tried nm</p>
<p>$ nm libdmumps.lib | grep -iw _dmumps<br />
         U _DMUMPS<br />
00013666 T _DMUMPS</p>
<p>So DMUMPS is in this lib. You may check with nm the object file that you want to link to make sure that there the name is exactly the same.</p>
<p>If you was able to link from C, then this must work for Fortran as well. When you compile the file, you obtain an object file and it is already programming language independent.</p>
<p>Try to compile from the command line, it is much easier than from GUI.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://matrixprogramming.com/2010/05/mumps/comment-page-1#comment-281</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Tue, 08 Mar 2011 06:16:41 +0000</pubDate>
		<guid isPermaLink="false">http://1.rudnyi.peterhost.ru/?p=354#comment-281</guid>
		<description>I&#039;m getting an error about an unresolved external symbol &quot;DMUMPS&quot; in function &quot;main_&quot;. The files I linked were: libmetis.lib libmumps_common.lib mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib fmpich2.lib dmumps_fortran_mp.lib. Even if I add libmpiseq.lib the error won&#039;t go away.
When I take a look at the FORTRAN include files, I can&#039;t find any reference to the function DMUMPS which is called from the main program. In the C example however, a declaration like this is contained in one of the include files.</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting an error about an unresolved external symbol &#8220;DMUMPS&#8221; in function &#8220;main_&#8221;. The files I linked were: libmetis.lib libmumps_common.lib mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib fmpich2.lib dmumps_fortran_mp.lib. Even if I add libmpiseq.lib the error won&#8217;t go away.<br />
When I take a look at the FORTRAN include files, I can&#8217;t find any reference to the function DMUMPS which is called from the main program. In the C example however, a declaration like this is contained in one of the include files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evgenii Rudnyi</title>
		<link>http://matrixprogramming.com/2010/05/mumps/comment-page-1#comment-280</link>
		<dc:creator>Evgenii Rudnyi</dc:creator>
		<pubDate>Mon, 07 Mar 2011 18:57:30 +0000</pubDate>
		<guid isPermaLink="false">http://1.rudnyi.peterhost.ru/?p=354#comment-280</guid>
		<description>I do not think so. I have never changed MUMPS files. As I have written, you can use nm to find it out where missing symbols are. What the error from the linker you get?</description>
		<content:encoded><![CDATA[<p>I do not think so. I have never changed MUMPS files. As I have written, you can use nm to find it out where missing symbols are. What the error from the linker you get?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://matrixprogramming.com/2010/05/mumps/comment-page-1#comment-279</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Mon, 07 Mar 2011 10:59:42 +0000</pubDate>
		<guid isPermaLink="false">http://1.rudnyi.peterhost.ru/?p=354#comment-279</guid>
		<description>Mh I think one of the problems is that in the FORTRAN include files there&#039;s no declaration of the DMUMPS subroutine, so that it can&#039;t be found in the libs belonging to MUMPS. I tried to write one myself like

      INTERFACE 
        SUBROUTINE DMUMPS(mumps_par) bind(C, name=&quot;DMUMPS&quot;)
            INCLUDE &#039;mpif.h&#039;
            INCLUDE &#039;dmumps_struc.h&#039;
            TYPE(DMUMPS_STRUC) :: mumps_par
        END SUBROUTINE DMUMPS
      END INTERFACE  

but it didn&#039;t work out. I&#039;ll keep an eye on this.</description>
		<content:encoded><![CDATA[<p>Mh I think one of the problems is that in the FORTRAN include files there&#8217;s no declaration of the DMUMPS subroutine, so that it can&#8217;t be found in the libs belonging to MUMPS. I tried to write one myself like</p>
<p>      INTERFACE<br />
        SUBROUTINE DMUMPS(mumps_par) bind(C, name=&#8221;DMUMPS&#8221;)<br />
            INCLUDE &#8216;mpif.h&#8217;<br />
            INCLUDE &#8216;dmumps_struc.h&#8217;<br />
            TYPE(DMUMPS_STRUC) :: mumps_par<br />
        END SUBROUTINE DMUMPS<br />
      END INTERFACE  </p>
<p>but it didn&#8217;t work out. I&#8217;ll keep an eye on this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evgenii Rudnyi</title>
		<link>http://matrixprogramming.com/2010/05/mumps/comment-page-1#comment-273</link>
		<dc:creator>Evgenii Rudnyi</dc:creator>
		<pubDate>Wed, 02 Mar 2011 10:47:37 +0000</pubDate>
		<guid isPermaLink="false">http://1.rudnyi.peterhost.ru/?p=354#comment-273</guid>
		<description>Martin, I have written a small text about nm

http://matrixprogramming.com/2011/03/using-nm-to-troubleshoot-linking-problems</description>
		<content:encoded><![CDATA[<p>Martin, I have written a small text about nm</p>
<p><a href="http://matrixprogramming.com/2011/03/using-nm-to-troubleshoot-linking-problems" rel="nofollow">http://matrixprogramming.com/2011/03/using-nm-to-troubleshoot-linking-problems</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evgenii Rudnyi</title>
		<link>http://matrixprogramming.com/2010/05/mumps/comment-page-1#comment-272</link>
		<dc:creator>Evgenii Rudnyi</dc:creator>
		<pubDate>Tue, 01 Mar 2011 15:07:56 +0000</pubDate>
		<guid isPermaLink="false">http://1.rudnyi.peterhost.ru/?p=354#comment-272</guid>
		<description>My makefile produces the next command

ifort -o dsimpletest  dsimpletest.o ../lib/libdmumps.lib ../lib/libmumps_common.lib  libmetis.lib    ../libseq/libmpiseq.lib mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib -link -LIBPATH:../../../../ms/lib/bin/

but I do not have ifort right now and cannot say for sure whether it is working. Yet, I believe that it should, I think it was working that way. Just try to use ifort as a linker instead of cl and see what happens.</description>
		<content:encoded><![CDATA[<p>My makefile produces the next command</p>
<p>ifort -o dsimpletest  dsimpletest.o ../lib/libdmumps.lib ../lib/libmumps_common.lib  libmetis.lib    ../libseq/libmpiseq.lib mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib -link -LIBPATH:../../../../ms/lib/bin/</p>
<p>but I do not have ifort right now and cannot say for sure whether it is working. Yet, I believe that it should, I think it was working that way. Just try to use ifort as a linker instead of cl and see what happens.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

