Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

how do I Evoke the compiler?

reneeculver
Débutant
1 601 Visites
The new version of IE will not write to this board. That's a serious bug.

I am new and have just installed a Composer. What is imagename of the composer and where is it?

I knowthe compiler isifort.exe but I think the composer is very different.

How do I compile a single execurable from multiplo objects?

It makes any difference I am running version 7 SP1 of Windows and VS2010 SP1.

Renee
0 Compliments
13 Réponses
abhimodak
Nouveau contributeur I
1 601 Visites
Hi Renee

(1) The command is still "ifort". You need to start a command shell with appropriate environment. It should be there in All Programs --> Intel Parallel Studio --> Command Prompt.

(2) You would use "ifort main.obj someSub.obj anotherSub.obj" at the command line to create the executable (or using the source files as well).

Abhi
0 Compliments
reneeculver
Débutant
1 601 Visites
 
0 Compliments
reneeculver
Débutant
1 601 Visites
Ok. The enviroment variables set themselves up?

And another question. When I start it up.....is the composer "visual" or is it command line based. If it's command line based what do use for an editor?

I realize now that my original question was not the best. It should have been "How do I bring up the studio, if indeed that what I need. I am trying to create either or both a 32 and or 64 bit version ofAdventure an old DEC command line game. I usually do not mess with games at all, but this one is special. It was the first computer game of all time and as such, is a piece of hisory.

Renee
0 Compliments
mecej4
Contributeur émérite III
1 601 Visites
As far as I can tell, we can thank the marketing people at Intel for this confusion. "Composer" is a product name, and has been added as a prefix to some of the DLLs that come with IFort. This Composer is a member of the Studio, sometimes cooperating with the Inspector.

In the Start-Menu of Windows, you will find a folder entry for "Parallel Studio" or "Composer XE" or some such name depending on which version of the product you installed. If you click that entry open, you will find, among many, at least two items of interest:

(i) a short cut to a command prompt, to do command-line application building

and

(ii) a short cut to the MS Visual Studio, specifically the IDE of VisualStudio. (DEVENV.EXE).

These two items have easily recognizable icons that cannot be confused for each other.

That leaves the question, what are we "composing"? When you have finished building a 64-bit version of Adventure, you may be able to tell us.
0 Compliments
reneeculver
Débutant
1 601 Visites

That was a good answer.

Adventure is a game for "real programmers". I got sucked into it At DEC in the late 70's. I'll be happy to give you all a copy provided I am sucessful. The game is textual and there is a lot of thinking involved. Adventure currently runs on 16 bit MS fortran. I want to take it to 32 and 64 bits. At DEC on a 16 -18 bit machine, the game was overlayed to develop the virtual address space it required.

One more question. I suppose ifort.exe will take a command procedure as input? How? I did find the "getting started" help files today. I take it the Linker is built into ifort?

Renee

0 Compliments
mecej4
Contributeur émérite III
1 601 Visites
I suppose ifort.exe will take a command procedure as input?

IFort behaves just as any other command line tool on Windows and Unix/Linux. It takes options preceded by '/' or '-' es and file names as command arguments.

To find out about the several hundreds of options available, just type 'ifort /?'.

If by 'command procedure' you mean what is called a 'batch file', i.e., a sequence of known commands, the answer is 'no, it does not need to'. The command processor processes the commands in a batch file; some of these commands can be calls to IFort, others to the linker, librarian, etc. IFort will also call the linker for you if you let it.

The linker and other tools, written by Microsoft, are installed along with IFort. IFort will call the linker for you, as I stated. Technically, however, the linker (LINK.EXE) is a distinct program.

If you use the GUI, instead, you specify the desired behavior through 'options' and 'preferences' and the GUI takes care of building the application, and helps with debugging. There are many tutorials to help with these tasks.
0 Compliments
reneeculver
Débutant
1 601 Visites
thank you...

What I need is a simple example....


Renee
0 Compliments
Steven_L_Intel1
Employé
1 601 Visites
The documentation has full details on using the compiler from the command line. You can get to it from the Start menu. But simply:

ifort yourprogram.f90

compiles and links yourprogram.f90 into a yourprogram.exe

Read the documentation for more details and options.
0 Compliments
reneeculver
Débutant
1 601 Visites
I finally found the documentation. ifort [options] input files. hmmmm. Spaces are delimiters and not commas. What do you know....

Renee
0 Compliments
reneeculver
Débutant
1 601 Visites

But what does the ifort compiler have to do with VS?

Renee

0 Compliments
Steven_L_Intel1
Employé
1 601 Visites
The compiler can be used from inside VS, and that is how a majority of our customers use it. Your choice.

I suggest you watch this animated tutorial for an introduction.


0 Compliments
reneeculver
Débutant
1 601 Visites
Suddenly, probably since I've rebooted, my VS is now showing a bunch of Composer things including fortran tasks that it did not before.

Renee
0 Compliments
Steven_L_Intel1
Employé
1 601 Visites
Normally a reboot isn't required to see the integration, but I'm glad to hear that you found it. Let us know if you have further questions.
0 Compliments
Répondre