Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Mahesh Kale git-kale

🏠
Working from home
View GitHub Profile
View phylanx_install_error
git clone https://github.com/STEllAR-GROUP/blaze_tensor.git --depth=1 /blaze_tensor
cmake -H/blaze_tensor -B/blaze_tensor/build
cmake --build /blaze_tensor/build --target install
git clone https://github.com/STEllAR-GROUP/phylanx /phylanx_src
git clone https://github.com/git-kale/phylanx_wheel /wheel_src
cd /phylanx_src
git apply /wheel_src/phylanx-wheel-output.patch
cmake -H/phylanx_src -B/phylanx_src/build -DCMAKE_BUILD_TYPE=Debug -DHPX_DIR=/usr/local/lib/cmake/HPX/ -Dblaze_DIR=/usr/local/share/blaze/cmake/ -Dpybind11_DIR=/usr/local/share/cmake/pybind11/
View debug.txt
(T00000000/----------------.----/----------------) P--------/----------------.---- 17:48.01.340 [0000000000000001] <info> [RT] cmd_line: python3 test.py
(T00000000/----------------.----/----------------) P--------/----------------.---- 17:48.01.340 [0000000000000002] <info> [BT] (1st stage) runtime_distributed::start: booting locality
(T00000000/----------------.----/----------------) P--------/----------------.---- 17:48.01.340 [0000000000000003] <info> [BT] [ ]
(T00000000/----------------.----/----------------) P--------/----------------.---- 17:48.01.340 [0000000000000004] <info> [BT] (1st stage) runtime_distributed::start: started runtime_support component
(T00000000/----------------.----/----------------) P--------/----------------.---- 17:48.01.341 [0000000000000005] <info> [BT] (1st stage) runtime_distributed::start: started the application I/O service pool
(T00000000/----------------.----/----------------) P--------/----------------.---- 17:48.01.341 [0000000000000006] <info>
View error.txt
root@e406e62e4acc:~# python3 test.py
{what}: Segmentation fault
root@e406e62e4acc:~# gdb python3
............
(gdb) run test.py
Starting program: /usr/bin/python3 test.py
warning: Error disabling address space randomization: Operation not permitted
[Thread debugging using libthread_db enabled]
View gist:da9baeadc58ac2c36b25edf7c86f1141
git clone https://github.com/STEllAR-GROUP/phylanx.git
cd phylanx
mkdir build && cd build
cmake -DBlazeTensor_DIR=/usr/local/share/BlazeIterative/cmake/ -DCMAKE_BUILD_TYPE=Debug -DHPX_DIR=/usr/local/lib/cmake/HPX/ -Dblaze_DIR=/usr/local/share/blaze/cmake/ -Dpybind11_DIR=/usr/local/share/cmake/pybind11/ ..
-- CMake version: 3.13.4
-- Phylanx version: 0.0.1
-- Using system allocator.
-- Boost version: 1.67.0
-- Boost version: 1.67.0
View setup.sh
apt install git && vim && curl && gnome-tweaks && htop && python3-pip && qbittorrent && fish && fonts-powerline && fortune-mod && hexchat && fonts-firacode && tree && golang &&
chsh -s /usr/bin/fish
curl -L https://get.oh-my.fish | fish
omf install agnoster
gsettings set org.gnome.shell.extensions.dash-to-dock dock-fixed false
gsettings set org.gnome.shell.extensions.dash-to-dock autohide true
gsettings set org.gnome.shell.extensions.dash-to-dock intellihide true
function fish_greeting
fortune -a
end
View HPX static build
cmake -DHPX_WITH_MALLOC=jemalloc -DHPX_WITH_PARCELPORT_MPI=On -DHPX_WITH_PARCELPORT_TCP=Off -DHPX_WITH_STATIC_LINKING=On ..
-- The CXX compiler identification is GNU 9.3.0
-- The C compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
View file.txt
#include <iostream>
#include "../program.hpp"
const char *ptr;
const char = "/*";
char a = 12; /* this is iostream
*/
// there it is /*
int a = '\''
int b = '\\'
View my_rsa
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6Y3qetcnzj0PI60TstvQ+l5nsl9ToHtZUz+OS/V9CfgaLwui8K1+Dj+Cdpdk9TsnrJqvOPOECm07rt50qm9MHu8Mq3d9BgAFgZQgk0c5fPD0T6CV2fRW5Miz/yyx8qSm7prcK2rxolDxXEDixAqPG5fj97zhY/bPOOJPETQEtlQKn7BtEu2m01tMgGfoLACmfLiRKfC66JetWRn+OHIzUzlSrNOiDJWNBRUdrAih8NKCqe73c9iLaRL/vGeX4gX0AwDcRE4FkT+xOcOTZaOhC/es7yGdSPzkghfuycvS8cfP4H1NvocLFQzq6gxsLpeFvqjwSKWSETNxHiXk/XI9B vip3r@parrot