Skip to content

Instantly share code, notes, and snippets.

View JLTastet's full-sized avatar

Jean-Loup Tastet JLTastet

View GitHub Profile
@JLTastet
JLTastet / regression.py
Last active September 3, 2019 00:01
Check physics models in FairShip for numerical regressions
from __future__ import print_function
import os
import sys
import six
import uuid
import hashlib
import traceback
import subprocess
@JLTastet
JLTastet / Bar build log (succesful)
Last active July 18, 2017 16:32
HPX minimal failing example
$ g++ -o libhpx_Bar.so Bar.cpp `pkg-config --cflags --libs hpx_component` -lhpx_iostreams -D HPX_COMPONENT_NAME=hpx_Bar
-----------------------------------------------------------------------------------------------------------------------
In file included from /home/jtastet/.local/stow/hpx/include/hpx/config.hpp:17:0,
from /home/jtastet/.local/stow/hpx/include/hpx/exception.hpp:12,
from /home/jtastet/.local/stow/hpx/include/hpx/hpx.hpp:9,
from Bar.hpp:1,
from Bar.cpp:1:
/home/jtastet/.local/stow/hpx/include/hpx/util/jenkins_hash.hpp: In member function 'hpx::util::jenkins_hash::size_type hpx::util::jenkins_hash::hash(const char*, std::size_t) const':
/home/jtastet/.local/stow/hpx/include/hpx/config/attributes.hpp:12:28: warning: attributes at the beginning of statement are ignored [-Wattributes]
@JLTastet
JLTastet / Adder.cpp
Created July 18, 2017 13:19
HPX component migration attempt
#include "Adder.hpp"
HPX_REGISTER_COMPONENT_MODULE();
using Adder_type = hpx::components::component<Adder>;
HPX_REGISTER_COMPONENT(Adder_type);
HPX_REGISTER_ACTION(Adder::sum_action);