Provided that FUSE is installed and loaded on your kernel, which is easily checked running:
~ $ sudo modprobe --first-time fuse
modprobe: ERROR: could not insert 'fuse': Module already in kernel
Provided that FUSE is installed and loaded on your kernel, which is easily checked running:
~ $ sudo modprobe --first-time fuse
modprobe: ERROR: could not insert 'fuse': Module already in kernel
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import time, sys, signal, os | |
def signal_handler(signal, frame): | |
print("\nEh no, ora te li leggi tutti!\n") | |
# main-agioia | |
try: |
# Telegraf Configuration | |
# | |
# Telegraf is entirely plugin driven. All metrics are gathered from the | |
# declared inputs, and sent to the declared outputs. | |
# | |
# Plugins must be declared in here to be active. | |
# To deactivate a plugin, comment out the name and any variables. | |
# | |
# Use 'telegraf -config telegraf.conf -test' to see what metrics a config | |
# file would generate. |
+ case $ARCHITECTURE in | |
+ cmake /home/concas/alice/sw/SOURCES/Configuration/v1.2.0/v1.2.0 -DCMAKE_INSTALL_PREFIX=/home/concas/alice/sw/INSTALLROOT/8c3464c0c318b13c97636e9296872b25e7ac21e5/slc7_x86-64/Configuration/v1.2.0-1 -DCommon_ROOT=/home/concas/alice/sw/slc7_x86-64/Common-O2/v1.2.0-1 -DPROTOBUF_INCLUDE_DIR=/include -DPROTOBUF_LIBRARY=/lib/libprotobuf.so -DRAPIDJSON_INCLUDEDIR=/home/concas/alice/sw/slc7_x86-64/RapidJSON/1.1.0-1/include -DPPCONSUL_INCLUDE_DIRS=/include -DPPCONSUL_LIBRARY_DIRS=/lib -DCMAKE_EXPORT_COMPILE_COMMANDS=ON | |
-- The C compiler identification is GNU 6.3.1 | |
-- The CXX compiler identification is GNU 6.3.1 | |
-- Check for working C compiler: /opt/rh/devtoolset-6/root/usr/bin/cc | |
-- Check for working C compiler: /opt/rh/devtoolset-6/root/usr/bin/cc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Detecting C compile features | |
-- Detecting C compile features - done |
root [1] using o2::ITS::CA::Layer; | |
root [2] Layer layer(2) | |
(o2::ITS::CA::Layer &) @0x7fe459098020 | |
root [3] layer.addCluster(80103, 39.336300, -2.570910, 71.787003, 8935) | |
*** Break *** segmentation violation | |
=========================================================== |
=========================================================== | |
There was a crash. | |
This is the entire stack trace of all threads: | |
=========================================================== | |
#0 0x00007fa2dd025dbc in waitpid () from /lib64/libc.so.6 | |
#1 0x00007fa2dcfa8cc2 in do_system () from /lib64/libc.so.6 | |
#2 0x00007fa2de050a22 in TUnixSystem::Exec (shellcmd=<optimized out>, this=0xe588e0) at /home/concas/alice/sw/SOURCES/ROOT/v6-10-08/v6-10-08/core/unix/src/TUnixSystem.cxx:2118 | |
#3 TUnixSystem::StackTrace (this=0xe588e0) at /home/concas/alice/sw/SOURCES/ROOT/v6-10-08/v6-10-08/core/unix/src/TUnixSystem.cxx:2412 | |
#4 0x00007fa2de052e8c in TUnixSystem::DispatchSignals (this=0xe588e0, sig=kSigSegmentationViolation) at /home/concas/alice/sw/SOURCES/ROOT/v6-10-08/v6-10-08/core/unix/src/TUnixSystem.cxx:3643 | |
#5 <signal handler called> |
print(__doc__) | |
import numpy as np | |
from sklearn.cluster import DBSCAN | |
from sklearn import metrics | |
from sklearn.datasets.samples_generator import make_blobs | |
from sklearn.preprocessing import StandardScaler | |
print(__doc__) | |
import numpy as np | |
from sklearn.cluster import DBSCAN | |
from sklearn import metrics | |
from sklearn.datasets.samples_generator import make_blobs | |
from sklearn.preprocessing import StandardScaler | |
print(__doc__) | |
import numpy as np | |
from sklearn.cluster import DBSCAN | |
from sklearn import metrics | |
from sklearn.datasets.samples_generator import make_blobs | |
from sklearn.preprocessing import StandardScaler | |
#! /usr/bin/env python | |
import numpy as np | |
import sys | |
import pprint | |
from sklearn.cluster import dbscan | |
pars = sys.argv | |
if len(pars) != 5: | |
print("\tUsage: ./clusterer.py [filename] [epsilon] [min_samples] [output]") |