This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void DataFile::convertFile( int dimension[], string inName, string outName ) { | |
ifstream input( inName.c_str(), ios::in| ios::binary ); | |
ofstream outputFile; | |
char *buffer, *fileName; | |
int z = dimension[0], y = dimension[1], x = dimension[2], sliceSize = z * y; | |
float ***data = new float**[z]; | |
buffer = new char[4]; | |
fileName = new char[strlen(outName.c_str()) + 100]; | |
if( x > 0 && y > 0 && z > 0 && !input.fail() ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jeremy@T420:~/code/research/hpxMP$ LD_PRELOAD=./libopenmp.so ../dataflow/lu/omp-lu-orig 1000 10 | |
{env}: 70 entries: | |
CLUTTER_IM_MODULE=xim | |
COLORTERM=gnome-terminal | |
COMPIZ_BIN_PATH=/usr/bin/ | |
COMPIZ_CONFIG_PROFILE=ubuntu | |
CPLUS_INCLUDE_PATH=/home/jeremy/hpx/include:/home/jeremy/hpxc/include | |
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-wK7Saw29Ao | |
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path | |
DESKTOP_SESSION=ubuntu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g++ -fPIC -c hpxMP.cpp -o hpxMP.o `pkg-config --cflags --libs hpx_application` | |
hpxMP.cpp: In function ‘int __ompc_single(int)’: | |
hpxMP.cpp:154:5: error: ‘lock_guard’ is not a member of ‘hpx::lcos::local::spinlock’ | |
hpx::lcos::local::spinlock::lock_guard l(single_lock); | |
^ | |
hpxMP.cpp:154:44: error: expected ‘;’ before ‘l’ | |
hpx::lcos::local::spinlock::lock_guard l(single_lock); | |
^ | |
hpxMP.cpp: In function ‘void __ompc_end_single(int)’: | |
hpxMP.cpp:169:5: error: ‘lock_guard’ is not a member of ‘hpx::lcos::local::spinlock’ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LD_PRELOAD=~/code/research/hpxMP/libopenmp.so /opt/intel/vtune_amplifier_xe_2013/bin64/amplxe-cl -collect hotspots -knob sampling-interval=5 -knob enable-user-tasks=true -mrte-mode=managed -target-duration-type=veryshort -app-working-dir /home/jeremy/intel/amplxe/projects/hpxmp --search-dir sym:p=/home/jeremy/intel/amplxe/projects/hpxmp -- /home/jeremy/intel/amplxe/projects/hpxmp/omp-lu-orig 1000 10 | |
/opt/intel/vtune_amplifier_xe_2013/bin64/amplxe-cl: /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /home/jeremy/code/research/hpxMP/libopenmp.so) | |
/opt/intel/vtune_amplifier_xe_2013/bin64/amplxe-cl: /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libstdc++.so.6: version `GLIBCXX_3.4.13' not found (required by /home/jeremy/hpx/lib/hpx/libhpx.so.0) | |
/opt/intel/vtune_amplifier_xe_2013/bin64/amplxe-cl: /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /home/jeremy/hpx/lib/hpx/libhpx.so.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ldd --verbose $(which /opt/intel/vtune_amplifier_xe_2013/bin64/amplxe-cl) | |
linux-vdso.so.1 => (0x00007fff903fe000) | |
libamplxe_cctrl_climgr_2.30.so => /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libamplxe_cctrl_climgr_2.30.so (0x00007face17fc000) | |
libamplxe_cctrl_core_2.30.so => /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libamplxe_cctrl_core_2.30.so (0x00007face1416000) | |
libamplxe_rdmgr_2.17.so => /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libamplxe_rdmgr_2.17.so (0x00007face1191000) | |
libamplxe_dicerengine_climgr_2.14.so => /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libamplxe_dicerengine_climgr_2.14.so (0x00007face0f2e000) | |
libamplxe_dicerengine_core_2.14.so => /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libamplxe_dicerengine_core_2.14.so (0x00007face0a90000) | |
libamplxe_dataproviderinterface_core_1.12.so => /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libamplxe_dataproviderinterface_core_1.12.so (0x00007face0884000) | |
libamplxe_file_finder_core_2.14.so => /opt/intel/vtune_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ldd --verbose ./libopenmp.so | |
linux-vdso.so.1 => (0x00007fffc91fe000) | |
libhpx.so.0 => /home/jeremy/hpx/lib/hpx/libhpx.so.0 (0x00007f3f02ed7000) | |
libhpx_serialization.so.0 => /home/jeremy/hpx/lib/hpx/libhpx_serialization.so.0 (0x00007f3f02cc1000) | |
libboost_program_options.so.1.53.0 => /home/jeremy/boost/lib/libboost_program_options.so.1.53.0 (0x00007f3f02a56000) | |
libboost_serialization.so.1.53.0 => /home/jeremy/boost/lib/libboost_serialization.so.1.53.0 (0x00007f3f027e1000) | |
libboost_system.so.1.53.0 => /home/jeremy/boost/lib/libboost_system.so.1.53.0 (0x00007f3f025dc000) | |
libboost_thread.so.1.53.0 => /home/jeremy/boost/lib/libboost_thread.so.1.53.0 (0x00007f3f023c2000) | |
libtcmalloc.so.4 => /usr/lib/libtcmalloc.so.4 (0x00007f3f02132000) | |
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3f01e2d000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ldd --verbose /opt/intel/vtune_amplifier_xe_2013/bin64/amplxe-cl | |
linux-vdso.so.1 => (0x00007fff3cdfe000) | |
libamplxe_cctrl_climgr_2.30.so => /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libamplxe_cctrl_climgr_2.30.so (0x00007f88d06fa000) | |
libamplxe_cctrl_core_2.30.so => /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libamplxe_cctrl_core_2.30.so (0x00007f88d0314000) | |
libamplxe_rdmgr_2.17.so => /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libamplxe_rdmgr_2.17.so (0x00007f88d008f000) | |
libamplxe_dicerengine_climgr_2.14.so => /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libamplxe_dicerengine_climgr_2.14.so (0x00007f88cfe2c000) | |
libamplxe_dicerengine_core_2.14.so => /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libamplxe_dicerengine_core_2.14.so (0x00007f88cf98e000) | |
libamplxe_dataproviderinterface_core_1.12.so => /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libamplxe_dataproviderinterface_core_1.12.so (0x00007f88cf782000) | |
libamplxe_file_finder_core_2.14.so => /opt/intel/vtune_amplifier |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ldd --verbose /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libstdc++.so.6 | |
linux-vdso.so.1 => (0x00007fff3f3fe000) | |
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7ee8140000) | |
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7ee7d77000) | |
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f7ee7b61000) | |
/lib64/ld-linux-x86-64.so.2 (0x00007f7ee8676000) | |
Version information: | |
/opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libstdc++.so.6: | |
libm.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libm.so.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ldd --verbose /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | |
linux-vdso.so.1 => (0x00007fffd13fe000) | |
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7a04627000) | |
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7a0425e000) | |
/lib64/ld-linux-x86-64.so.2 (0x00007f7a04c56000) | |
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f7a04048000) | |
Version information: | |
/usr/lib/x86_64-linux-gnu/libstdc++.so.6: | |
ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/openUH/bin/opencc -g omp-orig.c -fopenmp -o omp-lu-orig ../../hpxMP/libopenmp.so | |
/home/jeremy/hpx/lib/hpx/libhpx.so.0: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15' | |
/home/jeremy/hpx/lib/hpx/libhpx.so.0: undefined reference to `std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15' | |
../../hpxMP/libopenmp.so: undefined reference to `std::range_error::~range_error()@GLIBCXX_3.4.15' | |
../../hpxMP/libopenmp.so: undefined reference to `std::out_of_range::~out_of_range()@GLIBCXX_3.4.15' | |
../../hpxMP/libopenmp.so: undefined reference to `std::length_error::~length_error()@GLIBCXX_3.4.15' | |
../../hpxMP/libopenmp.so: undefined reference to `std::invalid_argument::~invalid_argument()@GLIBCXX_3.4.15' | |
../../hpxMP/libopenmp.so: undefined reference to `std::domain_error::~domain_error()@GLIBCXX_3.4.15' | |
/home/jeremy/hpx/lib/hpx/libhpx.so.0: undefined reference to `std::basic_ofstream<char, std::char_traits<char> >::basic_ofstream(std::basic_string<char, std |
OlderNewer