- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Message Edited by Judy on 02-23-2005 03:37 PM
Message Edited by Judy on 02-23-2005 03:37 PM
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Vtune: VTune30beta
The software gets installed fine, there is no GUI support, ie. no vtlec.
Question: How do we create a project on the command line?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Message Edited by jdgallag on 11-22-2004 03:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know about Altix, but a common work-around is to mv /opt to /usr and replace with a symlink, so that it still appears as /opt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you run "vtl", it checks for space on the global data directory. The way it does this is with a shell script and parsing the output of a "df -k".
My Altix has a df -k that looks like this....
pkerney@pkaltix: 58 % df -k /opt/intel/vtune/global_data
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xscsi/pci01.03.0-1/target1/lun0/part3
9568000 7601920 1966080 80% /
pkerney@pkaltix: 59 %
The /dev entry makes it go over a line which breaks the parsing.
Edit file file /opt/intel/vtune/bin/clscripts.common and in the routine "check_minimum_space" add another "getline" to make 3, and change the $2 to $1 just below it.
You should now be operational !!!!!
Now a cheat sheet for running it just to help your learning curve.
Compile your program with an added "-g". Note the "-g" does not disable optimisations, it simply adds symbol information to the executable. ie. "-O3 -g" is a valid set of flags. You are VTuning an optimised binary !!!
Run the app just to make sure it works. (My app was pom3d)Then :-
vtl activity -c sampling -app pom3d run # sampling finds the hotspots
vtl show # find out the results to use
vtl view a1::r1 -processes > aaa.txt # output to a file to make it easier to read
vtl view a1::r1 -modules > aaa.txt
vtl view a1::r1 -hf -mn pom3d > aaa.txt
vtl view a1::r1 -code -fn MAIN__ -mn pom3d > aaa.txt
vtl view a1::r1 -gui # use the little icons in the top left to switch views
vtl activity -c callgraph -app pom3d -moi pom3d run # callgraph show the function paths
vtl view a2::r1 -gui
Message Edited by pkerney on 11-25-2004 08:11 PM
Message Edited by pkerney on 11-25-2004 08:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am new to vtune and have been successful to use the tool
to generate call graph and sampling data for our applications running on x86. I have been using vtune 3.0.
Is there a way to profile the linux kernel code? I am interested to profile for kernel code, especially the functions in kernel when our application runs.
Thanks,
Kallol
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. The option to proceed if the installation platform is not supported is only available in the "custom" menu.
2. Get the following errors while installing:
---
The VTune Performance Analyzer 3.0 for Linux* is being installed...
The install destination has been set to /opt/intel/vtune
Registering VTune Performance Analyzer files, please wait...
It may take several minutes.
Registration is done.
Note: Performance tuning, by its nature, collects large amounts of data and
hence the product requires creating a common directory for global data.
The default directory will be /opt/intel/vtune/global_data. If this is
acceptable please just hit enter or type in the full path of the
directory at the prompt. Ensure that the chosen path on disk has
adequate space for all users. Where do you want to create directory
for global data?
Specify directory starting with '/'. [ /opt/intel/vtune/global_data ]:
install.sh: line 2196: [: /home/marcus/Intel/vtune: binary operator expected
install.sh: line 2196: [: /home/marcus/Intel/vtune: binary operator expected
install.sh: line 2196: [: /home/marcus/Intel/vtune: binary operator expected
install.sh: line 2196: [: /home/marcus/Intel/vtune: binary operator expected
install.sh: line 2196: [: /home/marcus/Intel/vtune: binary operator expected
Note: The VTune Performance Analyzer 3.0 for Linux* requires a user to be a member of
the "vtune" group. If users and groups on this system are
------
This is due to the installer being in a path with spaces. The correct path mentioned should be "/home/marcus/Intel/vtune files/..."
3. The following issue happens if installing Eclipse:
------
Where would you like to install Eclipse* Platform RunTime Binary, Version 2.1.3 for GTK* [/opt/intel]? : /opt/eclipse/rtl
Location "/ opt/eclipse/rtl" provided by you does not exist.
Would you like this folder to be created (Yes/No)? [Yes]
Press ENTER key to accept default choice, or input a valid choice : /opt/eclipse/rtl
------
The directory is not created because it does not chain the creation with mkdir -p (neither eclipse or rtl exists at this moment).
4. Also:
------
Which of the following would you like to install?
1. Eclipse* Platform RunTime Binary, Version 2.1.3 for GTK* (Recommended). (Installed)
2. Eclipse* Platform RunTime Binary, Version 2.1.3 for Motif*.
3. WebLogic* JRockit* 1.4.2 JRE for Linux* (Recommended).
b. Return to the main menu.
Please type a selection: b
sh: line 1: cd: /home/marcus/Intel/vtune: No such file or directory
Exiting...
-------
This has also to do with the spaces in the name of the directory.
5. Eclipse script vtlec is not updated.
If you run the eclipse installation again and change the execution package, the vtlec script is not updated to point to the selected option.
Cheers,
GM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tryed to install on Gentoo, the installer gives the following error after the Licenses (all 4) acceptance:
---
Enter 'accept' to continue, 'reject' to exit: accept
ERROR: unable to find command $c
Please add the location to the above commands to your PATH and re-run the script
Please press Enter to continue
-----
Cheers,
GM.
- 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
A feature request for the View Source Code of VTL3.0: a Fortran language color parser.
Cheers,
GM.
- 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
I don't have a particular tool as an example, but gedit for Linux with the optional fortran.lang file, may be a starting point.
For me, it is just a little annoying going to a source code view of a function on VTL3, and find it colored in C/C++ keywords when it is a Fortran file. (Is there a way to turn it off?). It is just a visual aid, but a nice one.
Of course, to implement a Fortran Parser for the Eclipse environment would be the best, as the one that exists for C/C++ development (I think the same one can be easily extended for it). Then, everything from coding to profiling can be done on the same environment.
Cheers,
GM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cheers
PU
- 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
First of all, sorry for the delay. I am using *.F extension (capital F), so that may be the reason. Currently the beta has expired, so I have to wait until the official release.
Cheers,
GM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was not able to locate the option you mention. The closest is at:
Window -> Preferences -> VTtune -> Source View, but there is no option there to select syntax highlight mode or association.
Cheers,
GM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page