Fortran 77 Download

0 views
Skip to first unread message

Manases Blakemore

unread,
Aug 3, 2024, 4:38:59 PM8/3/24
to alpaburgrea

First, let me thank you for what you are doing to revive Fortran. I have been a Fortran programmer since The Watfor/Watfiv days with keypunch machines in the early 70s and in the last few years have adopted Julia as my main programming language, but would love to see Fortran continue as a robust language as it has some definite advantages because of its strong typing, static compilation, and ability to produce small, stand-alone executables.

Regarding this, as suggested above, we would only use BSD/MIT licensed code, which only requires to copy the license and include in documentation or code somewhere. So I agree that it might not be very practical for end users to having to copy the large file with all the 1000+ licenses of all the code we used. But everything should be perfectly legal.

How many lines of code are needed to get useful results from Copilot? I wonder if it could be useful for restricted codebases at the personal or research group level. I have written about 600K lines of code. Would Copilot make useful suggestions to me if trained on my code? Or just help me write the same buggy code faster

One could write a a fixit program that corrects certain types of errors by reading compiler error messages. When refactoring code, I often get warnings about unused variables that could be fixed automatically. Of course, fixing code with logic errors is a much harder problem.

Yes, I have seen that sort of messages from gfortran - pleasingly helpful indeed. Unfortunately it will not help against the n2/n3 mistake in your example and that is where said proposal would be really helpful

GitHub Copilot is meant to reduce the time spent on tedious boilerplate. Like making HTTP requests and parsing their responses, or routine DB queries. These are fun to do for the first or second time, but they soon get old. I think Copilot will be most useful in languages like Javascript and Python where such boilerplate is common. I think it will be less so in Fortran where domain expertise is more important (e.g. which finite difference scheme to use to approximate this partial derivative?).

GitHub Copilot is meant to reduce the time spent on tedious boilerplate. Like making HTTP requests and parsing their responses, or routine DB queries. These are fun to do for the first or second time, but they soon get old. I think Copilot will be most useful in languages like Javascript and Python where such boilerplate is common

As Milan said, Copilot is autocomplete, just better. I can imagine all kinds of stuff that I would like a help with in Fortran, such as calling a subroutine with lots of arguments, I would love if autocomplete can fill in all the arguments the best it can figure out, and I just fix it up.

I can't seem to find how to create a new Fortran project in VS2019 community edition. I've installed XE cluster edition 2019 update 4 with the default options after installing VS2019 with various workflows and updating that to version 16.1.6

Initially Fortran project types were hard to find - Fortran didn't appear in the Language dropdown and searching project types for Fortran brought up only two of the more obscure types. I'm not sure what 19.1.4 does, but the 2020 Beta Update gets this right now.

I cannot see any options with F next to them, only C++/++ or a blank solution. Does this mean I am missing a component? When I look at modifying my installation (Intel oneAPI Base & HPC Toolkit (Single-Node)) I see that I have the only fortran option available already installed: Intel Fortran Expression Evaluator.

The linking with abaqus 2022 works just fine, but when I try to open a new project with VS using fortran, it doesn't give me the option to choose fortran projects (it doesn't show when I scroll through the project types).

Intel has already fixed this in the 2020 Beta, and I'd hope it to be fixed in the next 2019 update. The way VS2019 organizes things, you're expected to apply the language name as a tag, and also include it in the language dropdown. It will look very different from VS2017 and earlier. My opinion is that this is not a user-friendly change on Microsoft's part.

I have the same problem; I also cannot find where to open a Fortran project. I looked for the "main program code" icon in comment 2 but couldn't find it anywhere; like Andrew G. I also have VS2019 community version, and I have the student version Intel Parallel Studio XE 2019 (this is supposed to come with Fortran but I can't see any program files). Could anywhere tell me where this is? It sounds like Andrew G. has the same set up as me. Thanks for any help!

I am having the same problem; I also have the community VS2019 and I have looked through all of the project options and can not find an option to start a Fortran project. I was able to find the "start empty project" option, but the only thing I can start is a C++ file. I downloaded the student version of Intel Parallel Studio 2019 XE, and perhaps I need another version - it was supposed to come with a Fortran Compiler, but I don't see any program files for the Fortran Compiler anywhere. Thanks for any help!

I did download update 4 for Parallel Studios XE. I do have the student version, however, and maybe I need a more advanced version. Do you know if the Fortran Compiler comes with the student version? The Intel website led me to believe that it did. I scrolled through all the project types in VS2019 and there are no icons with the little f in the top right like in the screen shot in your previous comment. Could the fact that I only have the community version of VS2019 affect things as well?

To the best of my knowledge, which is admittedly now two years out of date, the Student Edition includes all the tools in at least the Professional Edition if not the Cluster Edition. It should install ok on Windows 7. Please see -us/articles/installing-microsoft-visual-studio-2019-for-use-with-intel-compilers for configuration information.

Thanks for your responses so far. So, I have upgraded to windows 10; I also tried re-installing Parallel Studio XE 2019 (version 4 like you said) the cluster edition (student version) with all the packages; since the "read me" file says you have to have VS2017 (it doesn't mention VS2019). I de-installed 2019, and installed VS2017 (community version). There still does not exist an option to start a Fortran file. I did start an empty project, and went to the project explorer, right clicked on the project folder pressed "add" and manually typed in "seth.f" in the new file window; and it recognized it as a fortran source (screen shot). It doesn't appear that it is able to find the Intel(R) Fortran Compiler; do I have to move everything to the same folder? It appears the Fortran compiler in the student version has the machinery to do the compiling (screen shot 2), VS2017 can't find any of those applications. Is there something in settings that enables the use of the compiler? I have right and left clicked on every drop down menu in every tab, and searched every corner, and I am at a loss. Maybe re-install something different than the student version of XE Parallel Studio 2019; it seems to just work for the others on the forum.

To the best of my knowledge, which is admittedly now two years out of date, the Student Edition includes all the tools in at least the Professional Edition if not the Cluster Edition. It should install ok on Windows 7. Please see -us/articles/installing-microsoft-visual-st... for configuration information.

There are two different pieces of software being discussed here -- Microsoft Visual Studio and Intel Parallel Studio. For the purpose of developing and running Fortran programs, the Community edition of MS VS is sufficient; the only question is whether the user meets the licensing requirements for it. If not, the Professional edition will suffice.

Likewise, the student edition of Intel Fortran (part of Parallel Studio) is sufficient for the typical usage that a student is likely to apply it to. It is a mistake to blame installation problems on the apparently low-class status of a student edition. If one has problems with installing the student edition, the same problem is likely to exhibit itself if the student goes to the trouble of purchasing and installing a professional edition on the same computer. However, with the professional edition, there may be better options for resolving the problems through Intel Support.

In other words, if you decide that the Professional or Enterprise editions of Visual Studio will work better for some purpose that you have in mind other than supporting Intel Fortran, go for it. If not, getting those editions will probably do nothing to resolve your problems with getting Intel Fortran working.

FWIW, I've been using the VS2017 and VS2019 community editions with various versions of the Intel Compiler suite although VS2019 is only (just) supported by 2019 Update 4 of the Student license of the cluster edition (I work in a University).

I've tested the integration of these various flavours into other 3rd party software, such as ABAQUS 2019 without issue. I've settled on VS2017 community edition as the Intel Cluster edition 2019 release integrates into it better (insofar as you get the Fortran project menu items without having to hunt for them) and use VS2017/Intel Fortran Composer 2018 to support the researchers/academic staff.

Intel does not verify all solutions, including but not limited to any file transfers that may appear in this community. Accordingly, Intel disclaims all express and implied warranties, including without limitation, the implied warranties of merchantability, fitness for a particular purpose, and non-infringement, as well as any warranty arising from course of performance, course of dealing, or usage in trade.

c80f0f1006
Reply all
Reply to author
Forward
0 new messages