Skip to content

Instantly share code, notes, and snippets.

View dmarce1's full-sized avatar

Dominic Marcello dmarce1

View GitHub Profile
@dmarce1
dmarce1 / gist:5a2036679bf61f136155
Created September 30, 2014 16:18
configuration log
-- The Fortran compiler identification is GNU
-- Enabling Fortran support
-- Native TLS is enabled.
-- Stack traces are enabled.
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- chrono
-- date_time
-- filesystem
-- program_options
@dmarce1
dmarce1 / gist:2fb723e3af9bccfc5a94
Created September 30, 2014 19:02
config script
if [ -f CMakeCache.txt ]; then
rm -rf CMakeCache.txt
fi
SOURCE=/work/dmarce1/builds/hpx
INSTALL=/home/dmarce1
LOG=config_$(date "+%Y.%m.%d_%H.%M.%S").log
LOGLEVEL="WARN"
-- The Fortran compiler identification is Intel
-- Enabling Fortran support
-- Native TLS is enabled.
-- Stack traces are enabled.
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- chrono
-- date_time
-- filesystem
-- program_options
(T00000000/----------------.----/----------------) P--------/----------------.---- 13:11.57.570 [0000000000000002] <error> [ERR] created exception: failed to set thread affinity mask (0b0000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101111) for cpuset 0x000fffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffef: HPX(kernel_error)
(T00000000/----------------.----/----------------) P--------/----------------.---- 13:11.57.570 [0000000000000001] <error> [ERR] created exception: HPX(success)
(T00000000/----------------.----/----------------) P--------/----------------.---- 13:11.57.588 [0000000000000003] <error> [ERR] created exception: HPX(success)
(T00000000/----------------.----/----------------) P--------/----------------.---- 13:11.57.596 [0000000000000004] <info> [RT] cmd
{stack-trace}: 47 frames:
0x2af74b3c3783 : hpx::termination_handler(int) + 0xa3 in /home/dmarce1/packages/intel64/lib/libhpx.so.0
0x309ce0f500 : ??? + 0x309ce0f500 in /lib64/libpthread.so.0
0x2af74a9fb848 : __I_MPI___intel_ssse3_rep_memcpy + 0xc8 in /usr/local/compilers/Intel/cluster_studio_xe_2013.1.046/impi/4.1.3.048/intel64/lib/libmpi.so.4
0x2af74a9b7b36 : __I_MPI__intel_fast_memcpy.P + 0x6 in /usr/local/compilers/Intel/cluster_studio_xe_2013.1.046/impi/4.1.3.048/intel64/lib/libmpi.so.4
0x2af74aa5b1f0 : MPIDI_nem_gen2_Eager_send + 0x200 in /usr/local/compilers/Intel/cluster_studio_xe_2013.1.046/impi/4.1.3.048/intel64/lib/libmpi.so.4
0x2af74aa5a801 : MPID_nem_gen2_module_send_imm + 0xd1 in /usr/local/compilers/Intel/cluster_studio_xe_2013.1.046/impi/4.1.3.048/intel64/lib/libmpi.so.4
0x2af74aa5a717 : MPID_nem_gen2_module_iSendContig + 0x107 in /usr/local/compilers/Intel/cluster_studio_xe_2013.1.046/impi/4.1.3.048/intel64/lib/libmpi.so.4
0x2af74a8e10f2 : MPIDI_CH3_iSendv + 0x122 in /usr/local/compil
@dmarce1
dmarce1 / test.
Created September 14, 2015 21:53
future::wait_for test
#include <hpx/hpx.hpp>
#include <boost/chrono.hpp>
#include <boost/thread/thread.hpp>
int hpx_main() {
const auto timeout_time = boost::posix_time::time_duration(boost::posix_time::seconds(1));
@dmarce1
dmarce1 / gist:b25f80106be451972158
Created September 16, 2015 13:57
agas seg fault
{stack-trace}: 4 frames:
0x2ae2d315921f : hpx::detail::backtrace(unsigned long) + 0x7f in /home/dmarce1/lib/libhpx.so.0
0x2ae2d315a79d : boost::exception_ptr hpx::detail::get_exception<hpx::exception>(hpx::exception const&, std::string const&, std::string const&, long, std::string const&) + 0x23d in /home/dmarce1/lib/libhpx.so.0
0x2ae2d315a36c : void hpx::detail::throw_exception<hpx::exception>(hpx::exception const&, std::string const&, std::string const&, long) + 0x10c in /home/dmarce1/lib/libhpx.so.0
0x2ae2d392bd36 : hpx::agas::server::primary_namespace::resolve_free_list(boost::unique_lock<hpx::lcos::local::spinlock>&, std::list<std::_Rb_tree_iterator<std::pair<hpx::naming::gid_type const, long> >, std::allocator<std::_Rb_tree_iterator<std::pair<hpx::naming::gid_type const, long> > > > const&, std::list<hpx::agas::server::primary_namespace::free_entry, std::allocator<hpx::agas::server::primary_namespace::free_entry> >&, hpx::naming::gid_type const&, hpx::naming::gid_type const&, hpx::error_code&) + 0x1
pbsdsh -u /work/dmarce1/octotiger/release/env.sh /work/dmarce1/octotiger/release/octotiger --hpx:nodes=`uniq $PBS_NODEFILE` --hpx:endnodes -Ihpx.stacks.use_guard_pages=0 -Ihpx.parcel.mpi.enable=0 -t20
*** glibc detected *** /work/dmarce1/octotiger/release/octotiger: free(): invalid pointer: 0x0000000000a18fe0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x37ac475e66]
/usr/local/compilers/Intel/parallel_studio-2015u3/composer_xe_2015.3.187/tbb/lib/intel64/gcc4.4/libtbbmalloc_proxy.so.2(_ZdlPv+0xb6)[0x2abb8f15d826]
/work/dmarce1/octotiger/release/octotiger(_ZN3hpx9exceptionC1ENS_5errorEPKcNS_9throwmodeE+0xc22)[0x4d6592]
/home/dmarce1/lib/libhpx.so.0(_ZN3hpx9exceptionC1ENS_5errorE+0x9e)[0x2abb8f906d9e]
/home/dmarce1/lib/libhpx.so.0(_ZN3hpx14exception_list3addERKN5boost13exception_ptrE+0x149)[0x2abb8f903b69]
/home/dmarce1/lib/libhpx.so.0(_ZN3hpx9parcelset8policies3tcp18connection_handler6do_runEv+0x768)[0x2abb905e86a8]
/home/dmarce1/lib/libhpx.so.0(_ZN3hpx9parcelset15parcelport_implINS0_8policies3tcp18conne
@dmarce1
dmarce1 / gist:bb074097594fdc6b86bb
Created September 17, 2015 18:58
different parcelport error
+ cd /work/dmarce1/octotiger/release
+ make -k all -j21
make: Nothing to be done for `all'.
+ mkdir 49309.smic3
mkdir: cannot create directory `49309.smic3': File exists
+ cp ./octotiger ./49309.smic3
+ cd 49309.smic3
+ uniq /var/spool/torque/aux//49309.smic3
+ export HPX_NODEFILE=actual.nodes.49309.smic3
+ HPX_NODEFILE=actual.nodes.49309.smic3
@dmarce1
dmarce1 / gist:ac22dbf4d651b1764ec2
Created September 17, 2015 19:07
Seg fault in parcelport
[dmarce1@smic027 release]$ ./job
+ cd /work/dmarce1/octotiger/release
+ make -k all -j21
make: Nothing to be done for `all'.
+ mkdir 49309.smic3
mkdir: cannot create directory `49309.smic3': File exists
+ cp ./octotiger ./49309.smic3
+ cd 49309.smic3
+ uniq /var/spool/torque/aux//49309.smic3
+ export HPX_NODEFILE=actual.nodes.49309.smic3