<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — fatal error: no input files; unwilling to write output files - What?]]></title>
	<link rel="self" href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=849&amp;type=atom" />
	<updated>2022-04-09T22:50:43Z</updated>
	<generator>PunBB</generator>
	<id>http://forums.approximatrix.com/viewtopic.php?id=849</id>
		<entry>
			<title type="html"><![CDATA[Re: fatal error: no input files; unwilling to write output files - What?]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3901#p3901" />
			<content type="html"><![CDATA[<p>I reloaded the latest version and slowly followed the simplest example. My guess is, I might have forgotten to push a Start in the project steps. But I now have access to Save under file. I do often forget to add that .fxx extension. Too bad that can&#039;t be set by default.</p><p>A slight confusion is, that I can designate a location/folder for a project to reside. But somewhere along the steps, a folder with the project&#039;s name is created, separate from the folder I specify with New Project.</p><p>These are all basic learning step things I knew four months ago.</p><p>Now to add little bits at a time and create something usefull.</p>]]></content>
			<author>
				<name><![CDATA[designer]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3903</uri>
			</author>
			<updated>2022-04-09T22:50:43Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3901#p3901</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: fatal error: no input files; unwilling to write output files - What?]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3900#p3900" />
			<content type="html"><![CDATA[<p>I commented everything out except<br />Program myprogramname<br />End Program myprogramname</p><p>And still got:<br />Error: Last command making (target) returned a bad status<br />Error: Make execution terminated</p><p>I started a new project, using the Command-Line template and following the tutorial.<br />When I write:<br />program GenPermCode<br />implicit none<br />print *, &quot;welcome to FORTRAN&quot;<br />end program GenPermCode</p><p>and try to Save under file, the whole file menu is disabled (grayed out).<br />There&#039;s a big red dot after the line number before the end program GenPermCode that I don&#039;t recall seeing before.<br />When I clicked on it, it went away. <br />When I try to build, a message says the .f95 has not been saved - which is as it should be because when I highlight it and try to save under File, the whole menu is disabled.</p><p>This is on an Intel MacMini running OS 12.3.1</p>]]></content>
			<author>
				<name><![CDATA[designer]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3903</uri>
			</author>
			<updated>2022-04-09T00:00:00Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3900#p3900</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: fatal error: no input files; unwilling to write output files - What?]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3899#p3899" />
			<content type="html"><![CDATA[<p>Jeff,<br />Thank you for your reply. I am running OS 12.3.1<br />After the &quot;failure to communicate&quot; compiler message, I opened, by clicking the .prj file in its folder, another program of the same vintage. I didn&#039;t modify that one but did build and launch. It worked fine.</p><p>I&#039;m guessing my mods introduced an error but there were no compiler complaints about the syntax.</p><p>These programs are used to solve puzzles by brute force trying number permutations. When I started out, I thought it would be faster to generate, on time, a file of all the possible permutations for a given number base, then the program would just read that file to pull off numbers. A perfectly reasonable idea for base 10. But as the Base increased (11, 12, 13), so did the file size and time to write/read. Amazing but true, I found algorithms that could generate the numbers, within the program, faster than I could read a previously generated file of them. Sort of like having a point-of-demand water heater rather than holding the hot water in a tank.</p><p>So my next goal was, instead of having a separate program for each number base, to have a general program where I just need to change the number base variable and some other variable relationships - leaving any looping and I/O (actually just &quot;O&quot;) alone.</p><p>I could easily start new and paste in parts from the older source into it, but I wouldn&#039;t learn anything about the error that way. So I&#039;ll do the tried and true method of commenting large sections out until I get a build/launch, then uncomment sections until it fails.</p><p>I&#039;ll report back, embarrassing though it may be, where the error finally appeared.</p>]]></content>
			<author>
				<name><![CDATA[designer]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3903</uri>
			</author>
			<updated>2022-04-07T17:11:29Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3899#p3899</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: fatal error: no input files; unwilling to write output files - What?]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3898#p3898" />
			<content type="html"><![CDATA[<p>What version of macOS are you using?</p><p>The macOS security features may be blocking the creation of files in the project directory if you&#039;re just starting with a freshly installed version.&nbsp; Try opening the source file by selecting &quot;Open...&quot; in the File menu or opening the project via &quot;Open Project...&quot; in the Project menu.&nbsp; Using the file selection window may prompt for permissions that have not yet been granted, clearing up the issue.</p><p>I&#039;m trying to replicate the problem on a fresh macOS install, but I can&#039;t seem to do so.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2022-04-07T13:23:19Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3898#p3898</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[fatal error: no input files; unwilling to write output files - What?]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3897#p3897" />
			<content type="html"><![CDATA[<p>In using Version 3.23 build 3691 (GTK+) on a Mac Mini and was modifying a previously working program that I last visited in early February. There are no input files for this program. I assign values to variables inside the program and generate permutations of numbers until the desired permutation is achieved. Then I write the result out via <br />Write (*,*) <br />and <br />Write (*,&quot;(A3)&quot;, advance = &quot;no&quot;) myvariable<br />style statements</p><p>I get:<br />Generating target<br />gfortran: fatal error: no input files; unwilling to write output files<br />compilation terminated.<br />Error: Last command making (target) returned a bad status<br />Error: Make execution terminated</p><p>After I finished the Mods, saved the source, saved the project, build and launch, it ran the program as it was before the mods. In the project folder, I found a target, makefile, fort.100, a build folder, and a file named unix executable (maybe I compiled to a standalone) - all with the early Feb dates.</p><p>I moved them to the trash so I just had the .f95 and .prj files with today&#039;s date. Then I saved, and build<br />and the MakeFile appears in the project folder along with an empty build folder.</p><p>I ran some unmodified programs from the same era (with this newer Simply Fortran version), and they are working.</p><p>So I&#039;m don&#039;t know why the build is unhappy. The program is not supposed to have input files.</p><p>I&#039;m not as young as I used to be so 12:30 AM is quitting time - for now.</p><p>That issue with not writing because there are no inputs is puzzling.</p><p>I need insight into that.<br />Thank you,</p><p>PS: Yes, next time I&#039;ll save the original, copy the source, and start a new project with that source as a starting point.</p>]]></content>
			<author>
				<name><![CDATA[designer]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3903</uri>
			</author>
			<updated>2022-04-06T07:34:56Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3897#p3897</id>
		</entry>
</feed>
