oneAPI Registration, Download, Licensing and Installation
Support for Getting Started questions related to download, Installation and licensing for Intel oneAPI Toolkits and software development tools.

Old Fortran version on new PC

GWats1
New Contributor I
5,286 Views

I got a new PC and am trying to install the Latest Visual Studio and latest Fortran compiler. I got VS 2022 installed but was not sure what options I needed. I D/L intel-oneapi-hpc-toolkit-2025.0.1.48_offline.exe and installed it. I opened the VS2022 and tried to load an old .SLN project and it came up. I went to build and it tells me I am missing Win32. 

My old PC has Parallel Studio XE 2020 Composer Edition for Fortran Windows and VS2017.

I'm trying to figure out how to get the Win32 for the newer VS2022 so I can compile my ancient Fortran code.

I think I can find the install EXE's on my old PC and install what I had, but wanted to try to get the newer versions working. 

TIA 

Labels (1)
0 Kudos
28 Replies
GWats1
New Contributor I
833 Views

Well the plot thickens. I took the VS2017 installer and  parallel_studio_xe_2020_update4_composer_edition_for_fortran_setup.exe installer home. The VS 2017 install went fine but the XE install did the same as at work. It extracts the temp files and starts the splash screen which runs for about 10 seconds and then goes away.

 

I thought maybe I should have VS 2017 running but it does not matter. I also unchecked the box to erase the temp files and ran the install.exe and the same thing happens.  I rebooted and got the same result. 

 

IIRC, the splash screen took a long time to start up, so I will fire it up and wait an hour or 3.

0 Kudos
garraleta_fortran
807 Views

At the company I worked for, we purchased a huge number of licenses (approximately 400) for:
a) Intel Visual Fortran Composer XE-2013
b) Visual Studio 2008
They're no longer used.

The question is:
Is it legal to send them privately to GWats1?

0 Kudos
GWats1
New Contributor I
784 Views

We do have a legal copy of the XE and I believe we pay for annual support although when I tried to login to the support webpage, it says something about no support. I'll have to dig into that aspect.

 

AFA installing the latest, I tried that and am getting an error in the install about a parent process in the registry. Since I was getting an error and could not add the Fortran Compiler to oneAPI , I was going to try to revert back to the VS2017 version that was working on my old laptop.

 

I may have to bite the bullet and try reinstalling oneAPI again and then try to learn how to create a new solution from my old FOR and F90 code. I was barely able to use VS2017 to maintain my old code. I'm a Structural Engineer and certainly not a programmer. I wrote Fortran programs in the 1980's to analyze tapered steel poles and still use parts of that code today. Debugging was adding Write statements to print out the values of variables on green and white tractor feed line printer paper.    

0 Kudos
andrew_4619
Honored Contributor III
797 Views

It seems to me that you are having a world of pain trying to create an old VS and old Fortran setup that was OK at some point in the past on a windows that is or soon will be obsolete.  Surely it is better  invest that pain in using the latest software which is free anyway and fixing and 32 to 64 bit problems that you might have? 

0 Kudos
GWats1
New Contributor I
741 Views

OK, I finally got VS 2022 installed with the Fortran compiler. Now the learning must begin. I have four programs that I need to add to a solution and create an EXE that will be called as a post processor to another commercial program. There are a couple of F90 programs that read an XML file and a couple of FOR programs that manipulate the input variables to design several baseplates for steel poles and a Fortran_Winprint.F90 that prints out results.

The initial Create a new project window asks what template I want to use. I selected Fortran and Windows and Desktop. I'm not sure which of the 5 option templates to pick. The final EXE is not a Windows application because it is called from another program as a post processor when that program is done. I don't see an option as a Console unless I pick that instead of desktop. I'm thinking the Empty Project might work. 

 

I did a test, and it opens a window but I'm not sure how to put the FOR and F90 programs in the right-side solution.  I mostly muddled through the VS2017 to do it.

 

Sorry for being a very old novice and PITA.  As I've said before, I learned Fortran IV in 1967 and have not progressed much since then.  

0 Kudos
jimdempseyatthecove
Honored Contributor III
738 Views

Create this way:

jimdempseyatthecove_0-1744310147708.png

 

GWats1
New Contributor I
728 Views

Hi Jim,

Thanks for the tip and screen shot. I tried the Empty Project and got it to compile (while on a Teams meeting). I added my FOR and F90 files and hit the build button. It worked and I was able to run the program on some test data I had.  I attached the output from the program for those interested on how to design a base plate on a 12 sided steel tapered column in an electric substation in Texas.

I'm sure there are more elegant ways to code this stuff, but it works for me.   Many thanks to all that helped. I will need to install VS 2022 at home and play with it there.

 

 

GWats1_0-1744312128498.png

 

0 Kudos
andrew_4619
Honored Contributor III
690 Views

Glad you had success!

0 Kudos
Reply