- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not sure if that's what you asked, but the simplest you can do is:
ifort a.for b.for
Obviously Fortran's directory must be in the path and you execute the above command while you are in the ab directory.
Kostas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I suggest you read the chapter on using command line tools in the Intel Fortran Building Applications manual, part of the on-disk documentation. You can also get a feel for things by viewing the build log when you build a Visual Studio project. Keep in mind that it adds things you might not want, such as putting objects and module files in a subdirectory, but if you cross-reference the displayed command with the descriptions in the compiler options reference, you'll get the idea.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you trying to use Intel Fortran with Visual Studio 2005? What is the exact version of Intel Fortran you have? (From the command line, type "ifort -V" and look for a "Package ID" of the form w_fc_x.x.xxx)
If you are using a supported combination of Intel Fortran and Visual Studio, you need to make sure that the command environment is set up properly. The best way to do that is to use Start..Programs..Intel Software Development Tools..Intel Fortran Compiler 9.0..Build Environment for IA-32 Applications.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve:
I also meant to say thank you for the help, you must get sick of answering the same questions week after week.
Do you ever go home and sleep?
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The build environment should have worked. What is the contents of ifortvars.bat and show me the output of an attempt to link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Rem Intel Visual Fortran Compiler Build Environment for 32-bit applications
echo Intel Visual Fortran Compiler 9.0.030 Build Environment for 32-bit applications
echo Copyright (C) 1985-2006 Intel Corporation. All rights reserved.
echo.
title Intel Visual Fortran Compiler 9.0.030 Build Environment for 32-bit applications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Of course all I really did was hit it on the head with a hammer and it worked.
Reminds me of the old days with Fortran MS 3.03 and the old Compaq Portable with a 100 mm green screen and 2 360 k floppy drives. Did you know you can run fortran and the programs in 720 k.
One can run the IFORT inside the MS IDE - but only as a tool or macro - cludgy but it works.
JMN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How should it have run?
And how do I call a Fortran subroutine from a C# program? Or is that not in your area?
JMN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To call Fortran from C# requires that you create a DLL and add code to call an "unmanaged" DLL. I've attached an example that does it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve:
Excellent service. Thanks a lot.
If I knew who your boss was I would send the boss a note and say you were worth more money. Perhaps you could pass this along.
And now I am away to my daughter's baptism. She is one and cute. Not into Fortran yet but her life is young.
John Nichols
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I expect your daughter will be into Fortran before the next Fortran standard gets approved...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve:
She will be dead and buried by then.
I just remembered by Brother in Law works for Intel.
How did Microsoft - Digital - Compaq Fortran end up at Intel?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here's my version of our history which I posted to the CVF migration forum (now closed), with some added words.
In 1997, Digital Equipment Corporation (DEC) released Digital Visual Fortran 5.0, popularly known as DVF. DVF was created by the DEC Fortran engineering team, based on their existing DEC Fortran 90 compiler for OpenVMS* and DEC OSF/1 (later Tru64 UNIX) Alpha processor-based systems. DEC had licensed the Developer Studio IDE from Microsoft, and Microsoft cooperated with DEC to ensure that DVF was compatible with Microsoft Fortran PowerStation. Microsoft, which felt it could no longer do justice to the Fortran market, withdrew their product and was happy to have DEC welcome current PowerStation users.
DVF rapidly grew to be the best-selling Fortran compiler on the Windows platform. In 1999, Compaq purchased DEC, and the product was renamed Compaq Visual Fortran (CVF).
Meanwhile, Intel had developed a Fortran compiler of their own, known as Intel Fortran Compiler (IFC), which had met with some success. IFC was also available on Linux and supported the Intel Itanium processor as well as the latest IA-32 processors.
In August 2001, Compaq and Intel forged a deal which resulted in the Compaq Fortran engineering team (and many other compiler engineers) being hired by Intel. Intel acquired the rights to the CVF compiler sources and the right to use the Visual Fortran name. The plan was to merge the best of the Compaq and Intel technologies to produce an industry-leading set of compilers, to be called Intel Visual Fortran on Windows, and Intel Fortran Compiler on Linux. The last release of Compaq Visual Fortran was 6.6 in October 2001, with bug-fix updates ending in January 2004.
The initial release of Intel Visual Fortran, version 8.0, came out in September 2003, followed by version 8.1 in September 2004. Intel Visual Fortran combines the part of CVF that understands the Fortran language, with Intel code generation and optimization technology. The product contains other cross-pollinated features such as the Intel Debugger (a command line and GUI debugger derived from Compaq debugging technology), Intel automatic parallelization and vectorization technology, Intel OpenMP technology, and much more.
In the years since, the Intel Fortran team has continued to refine and expand the product, adding features, improving performance and fixing bugs. Intel Fortran will soon expand onto the Intel-based Apple Mac systems, raising to seven the number of platforms served by the Intel Fortran compiler family.
(A bit of humor - if you look in the Intel Fortran Language Reference chapter on directives, it will say that "DEC" in !DEC$ stands for "Directive Enhanced Compilation". But we know what it really means...)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page