<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Problem using lapack]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=373&amp;type=atom" />
	<updated>2014-10-15T00:17:50Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=373</id>
		<entry>
			<title type="html"><![CDATA[Re: Problem using lapack]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1555#p1555" />
			<content type="html"><![CDATA[<p>Thanks a lot for your help Jeff!</p>]]></content>
			<author>
				<name><![CDATA[jessiezhe1987]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3578</uri>
			</author>
			<updated>2014-10-15T00:17:50Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1555#p1555</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problem using lapack]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1542#p1542" />
			<content type="html"><![CDATA[<p>Jessie,</p><p>It sounds like an odd bug in the Package Manager.&nbsp; I will investigate.&nbsp; Thanks again for the report!</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2014-10-13T18:01:53Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1542#p1542</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problem using lapack]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1540#p1540" />
			<content type="html"><![CDATA[<p>Jeff,</p><p>The path is </p><p>C:\Users\Zhe\AppData\Local\\\sfpm</p><p>Thanks so much for your help! Now it&#039;s working:) But I am still a bit confused. On Friday I uninstalled lapack and blas, then installed lapack (blas should be automatically installed) again. It did not work. Then today I uninstalled both and installed both blas and lapack separately, then it works! No idea what happend...</p><p>But still many thanks for your help!!</p>]]></content>
			<author>
				<name><![CDATA[jessiezhe1987]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3578</uri>
			</author>
			<updated>2014-10-13T17:59:10Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1540#p1540</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problem using lapack]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1531#p1531" />
			<content type="html"><![CDATA[<p>Jessie,</p><p>No, I don&#039;t think that should be the problem.&nbsp; The package manager should work on either machine regardless of the registration status of Simply Fortran (as long as Simply Fortran is still within its trial period).</p><p>On the computer where compiling didn&#039;t work, could you try something quickly?&nbsp; After starting the Simply Fortran Package Manager, click the Settings button.&nbsp; Next, go to the Files tab.&nbsp; What path is listed there?&nbsp; I just want to make sure it&#039;s storing the libraries somewhere sensible.</p><p>You might also try uninstalling LAPACK and BLAS from the package manager and then reinstalling them.&nbsp; There is a chance something went wrong.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2014-10-11T11:42:44Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1531#p1531</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problem using lapack]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1530#p1530" />
			<content type="html"><![CDATA[<p>Hi Jeff,</p><p>Thank you so much for the detailed answer! I tried your instruction and run the same code on another computer with which I registered for Simply Fortran Package Manager, and it works! It just does not work on this computer. Is it because the packages can only be installed at the computer that registered the account? </p><p>Thanks,<br />Jessie</p>]]></content>
			<author>
				<name><![CDATA[jessiezhe1987]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3578</uri>
			</author>
			<updated>2014-10-11T02:55:35Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1530#p1530</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problem using lapack]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1529#p1529" />
			<content type="html"><![CDATA[<p>Jessie,</p><p>Could you post some of the code surrounding the call to <em>DSYEV</em>? It appears that the linker is looking for a function in the libraries called exactly &quot;dysev.&quot;&nbsp; However, Fortran compilers normally decorate procedures.&nbsp; In this case, the actual function the compiler should be looking for is &quot;dysev_&quot; or &quot;_dysev_&quot; (I&#039;m not sure exactly how it will appear in the error).&nbsp; Is there an <em>INTERFACE</em> block that defines how <em>DSYEV</em> is called?</p><p>I checked the package itself, and it does indeed provide <em>DSYEV</em>, but in its properly decorated form, for both 32- and 64-bit versions of LAPACK.</p><p>Sorry for the trouble.&nbsp; We&#039;ll figure this out.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2014-10-11T02:15:08Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1529#p1529</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problem using lapack]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1528#p1528" />
			<content type="html"><![CDATA[<p>Thanks for your information Jeff! I&#039;ve carried out your instructions, but unfortunately the same error message appears again...</p>]]></content>
			<author>
				<name><![CDATA[jessiezhe1987]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3578</uri>
			</author>
			<updated>2014-10-10T22:54:05Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1528#p1528</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problem using lapack]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1527#p1527" />
			<content type="html"><![CDATA[<p>Jessie,</p><p>You&#039;ll still need to tell your project to use LAPACK and BLAS even though the&#039;ve been installed. The quickest way to fix your problem is to follow these steps:</p><p>1.&nbsp; Select <em>Options</em> from the <em>Project</em> menu to open the <em>Project Options</em> window.<br />2.&nbsp; Select the <em>Compiler Flags</em> tab.<br />3.&nbsp; In the box marked &quot;Linker,&quot; enter the following:</p><div class="codebox"><pre><code>-llapack -lblas</code></pre></div><p>4. Click <em>Ok</em> in the <em>Project Options</em> window.<br />5. Select <em>Build Now!</em> in the <em>Build</em> menu.</p><p>You&#039;re seeing the error because the compiler didn&#039;t know it had to include the LAPACK and BLAS libraries in your project.&nbsp; There is another way that isn&#039;t manual to do this (you may have noticed a button labeled &quot;Package Flags&quot; while on the <em>Compiler Flags</em> tab in the <em>Project Options</em> window), but I think the above is the quickest way to a solution in your case.&nbsp; </p><p>Sorry for any confusion!</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2014-10-10T22:45:10Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1527#p1527</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Problem using lapack]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1526#p1526" />
			<content type="html"><![CDATA[<p>Hi Jeff,</p><p>I am a new user for Fortran language and Simply Fortran. I just installed lapack &amp; blas from Simply Fortran package manager. However, compiling is still not successful. <br />Here is the building status of one of my projects:</p><p>==============================================================================<br />Generating Makefile... Okay<br />==============================================================================<br />Generating target.exe<br />build\main.o: In function `MAIN__&#039;:<br />C:\DEF\Fortran 90\simplify fortran\ggnewtry/./main.f90:40: undefined reference to `dsyev&#039;<br />collect2.exe: error: ld returned 1 exit status<br />Error(E42): Last command making (target.exe) returned a bad status<br />Error(E02): Make execution terminated</p><p>* Failed *</p><br /><p>The following link indicates that &quot;dsyev&quot; is indeed included in lapack&nbsp; 3.5.0 (which is the current version in SF package manager): <br /><a href="http://www.netlib.org/lapack/explore-html/dd/d4c/dsyev_8f.html#a442c43fca5493590f8f26cf42fed4044">http://www.netlib.org/lapack/explore-ht … f42fed4044</a> </p><p>So I guess the installation of blas and lapack is not successful.</p><p>Could you help me with this issue? I am kind of near dealine for the project...</p><br /><p>Thank you so much in advance!</p><p>Best,<br />Jessie</p>]]></content>
			<author>
				<name><![CDATA[jessiezhe1987]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3578</uri>
			</author>
			<updated>2014-10-10T21:25:24Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1526#p1526</id>
		</entry>
</feed>
