<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Esiest way to share data between differents projects]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=616</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=616&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Esiest way to share data between differents projects.]]></description>
		<lastBuildDate>Tue, 04 Apr 2017 04:58:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Esiest way to share data between differents projects]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2834#p2834</link>
			<description><![CDATA[<p>Was acctually going to ask something about sharing data aswell but i see you guys are into it. I hoped to avoid creating a sepearate file for each project but it seems its the only way to go if i dont have the source code.</p><p>Ill read thru that link you posted baf. Thnx for sharing // Chris</p>]]></description>
			<author><![CDATA[null@example.com (CJohan)]]></author>
			<pubDate>Tue, 04 Apr 2017 04:58:56 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2834#p2834</guid>
		</item>
		<item>
			<title><![CDATA[Re: Esiest way to share data between differents projects]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2830#p2830</link>
			<description><![CDATA[<p>If you don&#039;t have the source code so that you can merge the source into a single executable, than you really have no choice but to output the results from the first program into a file that is read in by the second program.&nbsp; You can use unformatted I/O which would save some execution time for a large datafile.&nbsp; </p><p>In one program, something like</p><p>write(12)array</p><p>in the the program</p><p>read(21)array</p><p>where 12 and 21 are the unit numbers.&nbsp; Spend some quality time with a Fortran manual, or read some of the material available online, such as</p><p><a href="http://www.am.qub.ac.uk/users/d.dundas/msci_workshop/fortran/exercises/unformatted/unformatted.pdf">http://www.am.qub.ac.uk/users/d.dundas/ … matted.pdf</a></p>]]></description>
			<author><![CDATA[null@example.com (baf1)]]></author>
			<pubDate>Sun, 02 Apr 2017 03:19:47 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2830#p2830</guid>
		</item>
		<item>
			<title><![CDATA[Re: Esiest way to share data between differents projects]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2829#p2829</link>
			<description><![CDATA[<p>Thanks for your response baf1! Could you point me in the right direction about those tools for windows (Right now I&#039;m using only windows), I will certainly check such tools!</p><p>But besides to compare the vectors I also need some matrices/vectors that are calculated in the whole program, and the subroutines that I&#039;m modifying does not have access to that data because are in another project. And I need those matrices to affected that new matrices that is within the new subroutines. </p><p>So, reformulating my question, in one project I have calculated a matrix that is needed in another project, is there a better way to share that data other than writing and reading through a file? the dimension of my array is 7500 x 7500, the txt that is generated is around 1GB and I would like to know a better approach.</p><p>Thanks for any help provided!</p>]]></description>
			<author><![CDATA[null@example.com (JManuelR)]]></author>
			<pubDate>Sun, 02 Apr 2017 02:25:33 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2829#p2829</guid>
		</item>
		<item>
			<title><![CDATA[Re: Esiest way to share data between differents projects]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2817#p2817</link>
			<description><![CDATA[<p>A common method of doing this process is to have test &quot;vectors&quot; (data sets) that you run through the &quot;new&quot; and &quot;old&quot; version of the code.&nbsp; The results from the &quot;old&quot; code could be consider as correct, so you are trying to ensure that the results from the new code match that from the old code.&nbsp; A third program or script would run the test data sets through the new code, then compare the output to the &quot;correct&quot; values, noting any differences in an output file.&nbsp; If you are doing this under linux or can install a few linux type tools under Windows, you can use the shell script commands to run the tests and do the output comparisons easily.</p>]]></description>
			<author><![CDATA[null@example.com (baf1)]]></author>
			<pubDate>Sun, 26 Mar 2017 23:01:51 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2817#p2817</guid>
		</item>
		<item>
			<title><![CDATA[Esiest way to share data between differents projects]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2816#p2816</link>
			<description><![CDATA[<p>Hello again!</p><p>As I mentioned in my first <a href="https://forums.approximatrix.com/viewtopic.php?id=613">post</a>, I&#039;m trying to manipulate a program developed in Fortran 77 mainly. That code has more than 20,000 lines divided in more than 150 subroutines. And right now I&#039;m focusing only in a few subroutines, I&#039;m changing them to free format and whatever recommendation that I read I try to implement. </p><p>I am pretty new to Fortran and for me change the whole project is a huge work that&#039;s why I&#039;m working only in a few subroutines in order to gain confidence with the language. So my approach is the following: for those specific subroutines I created a new project and bring the necessary data to the project to compare.</p><p>Then my question is: is there a way to share arrays/vectors/matrices between different projects in simply fortran? What I did was to print to a txt file the data and then read it in the new project. But I find this tedious, is there a better approach?</p><p>Any help/suggestion would be really appreciated.</p>]]></description>
			<author><![CDATA[null@example.com (JManuelR)]]></author>
			<pubDate>Sun, 26 Mar 2017 22:45:52 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2816#p2816</guid>
		</item>
	</channel>
</rss>
