<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Trouble with Sample Hello World]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=997</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=997&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Trouble with Sample Hello World.]]></description>
		<lastBuildDate>Wed, 19 Nov 2025 17:30:52 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Trouble with Sample Hello World]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4506#p4506</link>
			<description><![CDATA[<p>The &quot;real&quot; code is also happy now. So I put the compiler back to Generic and it looked like Simply Fortran needed access to the DeskTop. I think the rest of the access was already set.</p><p>It is wicked fast on the M4.</p>]]></description>
			<author><![CDATA[null@example.com (designer)]]></author>
			<pubDate>Wed, 19 Nov 2025 17:30:52 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4506#p4506</guid>
		</item>
		<item>
			<title><![CDATA[Re: Trouble with Sample Hello World]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4505#p4505</link>
			<description><![CDATA[<p>After changing the options, Hello World now works.</p><p>I&#039;ll play with the real code more tomorrow - Start a new project with it&#039;s own new folder, etc. and just paste in the old code.</p>]]></description>
			<author><![CDATA[null@example.com (designer)]]></author>
			<pubDate>Wed, 12 Nov 2025 00:50:02 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4505#p4505</guid>
		</item>
		<item>
			<title><![CDATA[Re: Trouble with Sample Hello World]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4504#p4504</link>
			<description><![CDATA[<p>It sounds like some of your issues are almost certainly permissions-related.&nbsp; macOS has some pretty annoying access rules that require you to actually open files directly via &quot;Open&quot; in the File menu to force the question of whether you want to allow Simply Fortran to access certain folders.&nbsp; My guess is that your new Mac has not asked you these questions yet, and Simply Fortran is being denied access to the folder where your project is saved.</p><p>Simply Fortran asking for a filename when you save a known file means that Simply Fortran does not have write access for that file.&nbsp; I would try saving it as a new file to see if you get a question about access.</p><p>It might also help if you provide Simply Fortran with &quot;Full Disk Access&quot; (at your discretion of course).&nbsp; You can open macOS Settings and click on &quot;Privacy and Security.&quot;&nbsp; In the list of security features, look for &quot;Full Disk Access.&quot;&nbsp; Select that feature, then use the <strong>+</strong> icon at the bottom of the access list or select Simply Fortran if its already listed and enable full access.</p><p>As for your compiler issue, I would disable the architecture-specific flags, including enabling &quot;native&quot; for optimization mode.&nbsp; I&#039;m not sure exactly what&#039;s happening, but I would instead set the Target CPU to generic and disable the Strict checkbox there.&nbsp; I suspect some lookup of the &quot;native&quot; feature is incorrectly reporting the CPU as &quot;apple-m1&quot; rather than an explicit Arm variant like the compiler is expecting.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Tue, 11 Nov 2025 20:02:43 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4504#p4504</guid>
		</item>
		<item>
			<title><![CDATA[Re: Trouble with Sample Hello World]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4503#p4503</link>
			<description><![CDATA[<p>On the &quot;real life&quot; program, I did run the clean option but got the same result.</p><p>These problems started happening when I got a new MacMini M4 and updated it by initially restoring from a backup I made of the older M2 mini. It seems components can&#039;t find each other. For example, If I launch by double clicking a project file, it may not put the source code file in left hand column. And if I Save Project, it may bring up a Save dialog rather than go back to the folder (on the M4) that it was launched from.</p><p>I&#039;m guessing it&#039;s best if I start from scratch (only a handful of hobby programs), creating completely New on the M4 and just copy/paste the code from the original programs.</p><p>I&#039;ve zipped the Hello folder and sent it to Support.</p><p>In Project Option, General, the target name is &quot;target&quot; and Executable option is selected.<br />For Launch, Build before Launch is selected.<br />For Code Generation, Target CPU is native and Compile Strictly for Selection<br />Trap Floating Point Exceptions has Invalide Operation, Overflow, and Divide by Zero checked<br />For Fortran, Use Double Precision for all Reals is checked<br />For Linker, All Static and the three RunTime choices under that are checked.</p>]]></description>
			<author><![CDATA[null@example.com (designer)]]></author>
			<pubDate>Tue, 11 Nov 2025 18:16:06 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4503#p4503</guid>
		</item>
		<item>
			<title><![CDATA[Re: Trouble with Sample Hello World]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4502#p4502</link>
			<description><![CDATA[<p>The first issue, a flag passed via <em>-march</em> might be an options issue.&nbsp; Can you send the project file and/or makefile for your hello world project?&nbsp; Also, if you open Project Options and navigate to the <em>Code Generation</em> category, is anything enabled?</p><p>On your &quot;real life&quot; program example, I don&#039;t think it&#039;s actually compiling the program you think it is. What happens if you clean the project first and then build it?</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Tue, 11 Nov 2025 15:55:10 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4502#p4502</guid>
		</item>
		<item>
			<title><![CDATA[Trouble with Sample Hello World]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4501#p4501</link>
			<description><![CDATA[<p>Computer: MacMini M4<br />OS: Tahoe 26.0.1<br />SimplyFortran: 3.41, Build 4435</p><p>I&#039;ve been having trouble with the Build level of past programs, or at their Run Time.<br />I opened the HelloWorld Sample, Clicked on hello.f90 and Saved, using the second icon in the tool bar (Save).<br />Then, under the Project menu I selected Save the Project and it&#039;s default path - it creates a Fortran folder in my Users/MyName/folder and put the Hello folder there.<br />Then I clicked the Build (gear) icon and got this:</p><p>==============================================================================<br />Compiling hello.f90<br />f951: Error: unknown value &#039;apple-m1&#039; for &#039;-march&#039;<br />f951: note: valid arguments are: armv8-a armv8.1-a armv8.2-a armv8.3-a armv8.4-a armv8.5-a armv8.6-a armv8.7-a armv8.8-a armv8.9-a armv8-r armv9-a armv9.1-a armv9.2-a armv9.3-a armv9.4-a native<br />f951: note: did you mean &#039;-mcpu=apple-m1&#039;?<br />Error: Last command making (build/hello.o) returned a bad status<br />Error: Make execution terminated</p><br /><p>* Failed *</p><p>In my &quot;real life&quot; program, I get a Complete on the Build, but when I run it, it exits apparently before reading any records.<br />It looks like this:<br />OPEN (UNIT=20, FILE = &quot;permutationsBase10.txt&quot;, STATUS=&quot;OLD&quot;, ACTION=&quot;READ&quot;, IOSTAT=ierror)</p><p>Print *, &quot;let the fun begin&quot;</p><p>ierror = 0<br />icount = 0<br />resultw = &quot;&quot;<br />reorder = &quot;&quot;</p><p>!*******************************************<br />WRITE(*,*)<br />WRITE(*,&#039;(A)&#039;) &#039;Before Read Loop&#039;<br />WRITE(*,*)</p><p>DO<br />&nbsp; &nbsp; icount = icount + 1<br />&nbsp; &nbsp; Read (20,10,IOSTAT=ierror) O, T, S, H, N, I, A, C, R, Y<br />&nbsp; &nbsp; 10 format (10I1)</p><p>WRITE(*,*)<br />WRITE(*,&#039;(A)&#039;, ADVANCE = &#039;NO&#039;) &#039;READ RECORD AT &#039;<br />WRITE(*,&#039;(1I8)&#039;) icount<br />WRITE(*,*)</p><p>&nbsp; &nbsp; IF (ierror &gt; 0) THEN<br />&nbsp; &nbsp; &nbsp; &nbsp; WRITE (*,&#039;(A)&#039;, ADVANCE = &#039;NO&#039;) &#039;I/O Error at &#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; WRITE (*,&#039;(2I8)&#039;) ierror, icount<br />&nbsp; &nbsp; &nbsp; &nbsp; GOTO 100<br />&nbsp; &nbsp; END IF</p><p>And ends with:<br />END DO<br />100 Write (*,&#039;(A)&#039;, ADVANCE = &#039;NO&#039;)&nbsp; &#039; read all &#039;<br />&nbsp; &nbsp; WRITE (*,&#039;(I9)&#039;)&nbsp; icount<br />&nbsp; &nbsp; Write (*,*)</p><p>This is what I see:<br />let the fun begin<br /> read all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1</p><p>So it does the Print &quot;let the fun begin&quot;<br />Then it appears to jump immediately to &quot;read all&quot; at the end of the program.</p><p>Those &quot;Write&quot; statements are not permenant code. They are just something I put in to see if the program got that far. If I did my homework, there is probably a diagnostic option to execute by stepping through the code one line at a time.</p><p>But if that simple HelloWorld example had a problem, then there might be other demons at work.</p><p>I wondered if I had downloaded the wrong version, one NOT For Silicon Mac, but looking at the website, all versions (Mac, Window, SiliconMac, have the same version numbers).</p><p>As an aside, I see that two dimensional Plotting (Aplot) is an option for Mac. It would be nice if an program that showed its use would be added to the New Projects examples.</p>]]></description>
			<author><![CDATA[null@example.com (designer)]]></author>
			<pubDate>Mon, 10 Nov 2025 17:26:03 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4501#p4501</guid>
		</item>
	</channel>
</rss>
