- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello:
I just have been "given" the Visual Studio Code, and I have legacy FORTRAN programs that call IMSL math routines (in double precision) and have been developed on IV and F77.
I need to run my legacy codes and after Visual Studio Code has been installed, I can open and read my old legacy FORTRAN codes OK. No problem upto here.
Now what commands I use to run these legacy codes that were developed using FORTRAN IV and 77? Will the legacy codes with the IMSL routines run smoothly?
Partial listing of the subroutines calling IMSL legacy FORTRAN code is given below for perusal.
Please let me know how can I run these legacy codes now? Any help would be greatly appreciated.
Deb
==============================================================
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Deb.
It's confusing, I know, but there are two different Microsoft IDEs: Visual Studio and Visual Studio Code. The former is Windows-only and includes Microsoft language tools such as Visual C++, while the latter is ONLY an IDE, is available also on Linux, and has a strong ecosystem of plugins. Intel Fortran installs only into Visual Studio. If all you have is Visual Studio Code, then that's not a supported environment for Intel Fortran. (It is possible to use Visual Studio Code with Intel Fortran if you ALSO have Visual C++ installed, but it requires third-party plugins.)
So, the first thing to figure out is which Visual Studio you have. Once we know that, we can go from there.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Visual Studio Code is just an editor/IDE. You need a Fortran compiler package, and a distribution of IMSL that is compatible with that compiler package. Which versions of Intel Fortran and IMSL do you have, if any?
Until about a decade ago, Intel used to sell IMSL as an optional add-on to Intel Fortran.
For the test code that you showed, the IMSL subroutines used appear to be the Quadpack quadrature routines. The source code of Quadpack is available from Netlib.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you mecej4 for your response. The system people here at UMKC gave me a new machine and it had this Microsoft Visual Studio. It has a FORTRAN compiler and but I do not know other details. I shall let you know all the details by Monday (04/29).
Please help me mecej4! I remember you and Steve Lionel (who is retiring after 38 years) from 2016.
What I do not know is how to compile and run my old legacy FORTRAN codes on the new Microsoft Visual Studio Code.
Will keep in touch and need your blessings!
- thanks for responding,
Deb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Deb.
It's confusing, I know, but there are two different Microsoft IDEs: Visual Studio and Visual Studio Code. The former is Windows-only and includes Microsoft language tools such as Visual C++, while the latter is ONLY an IDE, is available also on Linux, and has a strong ecosystem of plugins. Intel Fortran installs only into Visual Studio. If all you have is Visual Studio Code, then that's not a supported environment for Intel Fortran. (It is possible to use Visual Studio Code with Intel Fortran if you ALSO have Visual C++ installed, but it requires third-party plugins.)
So, the first thing to figure out is which Visual Studio you have. Once we know that, we can go from there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
Thanks for your response. I have Visual Studio Code and not just Visual Studio. So, now what are my options? Can I get the FORTRAN and IMSL compiler I want ASAP? If I have to download, where is it? Also me personally downloading will not be acceptable to our university bigwigs; they remove any "unauthorized" software even if it is legit, causing enormous inconvcenience.
Can you please let me know where can I get all the jazz. (I need to get the FORTRAN + IMSL installed and running ASAP. Like earlier, I have a conference where I need to present results - and this is in July.)
Thanks a lot again, in advance.
- Deb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi FORTRAN_DEB,
You can download Visual Studio from the web at:
https://visualstudio.microsoft.com/vs/community/
You can download the Intel(r) oneAPI Base Toolkit and the HPC Toolkit (among others) at:
https://www.intel.com/content/www/us/en/developer/tools/oneapi/toolkits.html#gs.8nvmx4
These are license free for a single user. I was able to do this at LM, but I have elevated privilege (old super user).
I work in windows - not a lot of experience in Linux.
In a pinch I have learned to proceed as necessary and ask for forgiveness later :-).
Good luck. I will try to keep up with your posts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi FORTRAN_DEB,
I suggest that you download and install Visual Studio 2022 Community version - free from Microsoft.
The Community version works well on my machine here at Lockheed Martin, no problems with the latest Intel Fortran.
Attached is a PowerPoint that I put together to help me remember tricks and traps in using Visual Studio (Not Visual Studio Code).
Hope this helps.
I have not tried to link external libs yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you. I shall follow the instructions in the pdf file you have attached. One thing: Steve Lionel (to my same question) also replied that Microsoft Visual Studio Code will not accept FORTRAN, but Microsoft Visual Studio will. My question is: will FORTRAN and IMSL both come together if I can download Microsoft Visual Studio and get rid of my existing Microsoft Visual Studio Code? These changes are to be done in consent with the I-T people out here and I am just seeking as much as correct information to avoid any further intricacies that can put me in a difficult situation, since I am not a I-T person.
Thanks a lot for the information.
- Deb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
`El_Zorro_Oro;
My system admin just downloaded and installed the Visual Studio 2022 Community Version. And the Visual Studio Code has been removed (Uninstalled). But it does not have the FORTRAN compiler and the IMSL to run my FORTRAN legacy codes. And yes it is free. My system admin says that the community version may not be suitable for the computations I require with FORTRAN.
What are my options now that I am still back in square one? Any pointers from anyone kind soul reading this post?
- Deb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Community it totally suitable for Intel Fortran but after you install VS2022 you need to install Fortran it is a separate FREE product. There is a stick thread on installation above. IMSL is also separate and is NOT FREE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
IMSL is a separate product if you want to use that it needs to be purchased. MECEJ4 noted up-thread that "For the test code that you showed, the IMSL subroutines used appear to be the Quadpack quadrature routines. The source code of Quadpack is available from Netlib."
You could also consider minor rewriting to use Intel MKL if that has similar functions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Andrew,
It appears that IMSL costs (for a single seat) about $2700 (approx) from a reseller known as PERFORCE. Roguewave has sold it. I had Intel Visual FORTRAN that came in with IMSL and our system admin in their infinite wisdom just deleted that software and got Microsoft Visual Studio Code. I had earlier Microsoft Visual Studio. The system admins at the university deletes any software that maybe running which they consider as "illegitimate" - by their definitions.
I have Microsoft Visual Studio Code whoch does not take FORTRAN plus IMSL (F77). My headache is how to access the IMSL FORTRAN that can run my legacy FORTRAN codes written in F77. (Rewriting is a valid option but not when I have a time crunch.)
El_Zorro_Orro has sent me a pdf notes which should be helpful. I am going through it. Hopefully I can get all your help and suggestions to have the original version of IMSL FORTRAN re-installed on my windows.
Will bug all you guys very frequently.
- Deb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi FORTRAN_DEB,
Just to be clear, Visual Studio and Visual Studio Code are just fancy editors. The underlying source code is plain text.
If you have time the best is to get the source code and compile the routines that you need.
Be sure to use the Static option - see my notes - if you want to run the .exe on another computer.
I use both since I want to see different sections of Code at the same time; VS Code has a protected mode where you can look but not touch, very convenient.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Will bug you Zorro, when I run into problems with re-installation.
- Deb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Visual Studio (not Code) is much more than a fancy editor - it is also a build system and a debugger - the latter is very important! It also provides critical libraries and tools (from Visual C++) that Intel Fortran requires. You do not get Fortran debugging with VS Code.
Many years ago, Intel was able to sell IMSL bundled with Fortran, but the agreement between Intel and Rogue Wave was discontinued.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page