- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm trying to profile mlpack(http://www.mlpack.org/index.html), a machine learning library. I'm currently running VTune Amplifier on a Ubuntu system. I'm running into the following issue:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/opt/intel/vtune_amplifier_2018.0.2.525261/bin64/amplxe-cl -collect hotspots -app-working-dir Documents/iris -- /usr/local/bin/mlpack_linear_regression --training_file Downloads/iris.txt -M out.txt -v amplxe: Collection started. To stop the collection, either press CTRL-C or enter from another console window: amplxe-cl -r /home/sandeep/r007hs -command stop. [DEBUG] Compiled with debugging symbols. [FATAL] Cannot open file 'Downloads/iris.txt'. terminate called after throwing an instance of 'std::runtime_error' what(): fatal error; see Log::Fatal output amplxe: Collection stopped. amplxe: Using result path `/home/sandeep/r007hs' amplxe: Executing actions 19 % Resolving information for `libgcc_s.so.1' amplxe: Warning: Cannot locate debugging symbols for file `/lib/x86_64-linux-gnu/libgcc_s.so.1'. amplxe: Executing actions 19 % Resolving information for `libstdc++.so.6' amplxe: Warning: Cannot match the module with the symbol file `/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21': checksum is different. Make sure to specify the correct path to the symbol file in the Binary/Symbol Search list of directories. amplxe: Warning: Cannot locate debugging symbols for file `/usr/lib/x86_64-linux-gnu/libstdc++.so.6'. amplxe: Executing actions 75 % Generating a report Collection and Platform Info ---------------------------- Parameter r007hs ------------------------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Application Command Line /usr/local/bin/mlpack_linear_regression "--training_file" "Downloads/iris.txt" "-M" "out.txt" "-v" Operating System 4.10.0-37-generic NAME="Ubuntu" VERSION="16.04.3 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.3 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" VERSION_CODENAME=xenial UBUNTU_CODENAME=xenial Computer Name Sandeep Result Size 2605665 Collection start time 19:51:47 12/10/2017 UTC Collection stop time 19:51:48 12/10/2017 UTC CPU --- Parameter r007hs ----------------- ------------------------------------------------ Name Intel(R) Core(TM) Processor code named Broadwell Frequency 2194918899 Logical CPU Count 4 Summary ------- Elapsed Time: 0.022 Paused Time: 0.0 CPU Time: 0.020 Average CPU Usage: 0.920 amplxe: Executing actions 100 % done
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
However, if I try running just the executable itself using the below command I'm getting the expected output without any errors.
/usr/local/bin/mlpack_linear_regression "--training_file" "Downloads/iris.txt" "-M" "out.txt" "-v"
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Note that the above command is replica of the application command from the first execution log. So, I'm not sure what I'm missing while running it with VTune Amplifier. Kindly help me resolve this issue.
Regards,
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
seems that you set incorrect working directory "-app-working-
dir
Documents/iris
". Please try to set the full path to the place where you were when made the successful launch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. Mentioning the entire paths for both the working directory and initialization files seem to run error free.
Regards,

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page