Skip to content

Instantly share code, notes, and snippets.

View mducle's full-sized avatar

Duc Le mducle

View GitHub Profile
@mducle
mducle / marireduction_output.txt
Created May 17, 2021 15:58
MARI Reduction error message
# mantidpythonnightly reduce_mari.py >& marireduction_output.txt
FrameworkManager-[Notice] Welcome to Mantid 6.0.20210514.1256
FrameworkManager-[Notice] Please cite: http://dx.doi.org/10.1016/j.nima.2014.07.029 and this release: http://dx.doi.org/10.5286/Software/Mantid
DownloadInstrument-[Notice] All instrument definitions up to date
LoadEmptyInstrument-[Notice] LoadEmptyInstrument started
LoadEmptyInstrument-[Notice] LoadEmptyInstrument successful, Duration 0.02 seconds
Load-[Notice] Load started
Load-[Notice] Load successful, Duration 2.99 seconds
Load-[Notice] Load started
Load-[Notice] Load successful, Duration 0.81 seconds
@mducle
mducle / gist:152a463fe49319215bc607d74e4b34d3
Created May 6, 2021 14:39
FindPython3 example output
-- The C compiler identification is GNU 8.3.1
-- The CXX compiler identification is GNU 8.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/rh/devtoolset-8/root/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/rh/devtoolset-8/root/usr/bin/c++ - skipped
@mducle
mducle / vagrant_error_debug
Last active April 5, 2021 19:48
Error creating linux OpenStack instance with Vagrant 2.2.15
user@host:~/vagrant$ vagrant up linux
2021-04-05 19:36 | INFO | Authenticating on Keystone
2021-04-05 19:36 | INFO | Authentication on project with user username
2021-04-05 19:36 | DEBUG | request => method : POST
2021-04-05 19:36 | DEBUG | request => url : https://<openstackserver>:5000/v3/auth/tokens
2021-04-05 19:36 | DEBUG | request => headers : {:content_type=>:json, :accept=>:json}
2021-04-05 19:36 | DEBUG | request => body : {"auth":{"identity":{"methods":["password"],"password":{"user":{"name":"username","domain":{"name":"domain"},"password":"****"}}},"scope":{"project":{"name":"project","domain":{"name":"default"}}}}}
2021-04-05 19:36 | DEBUG | response => code : 201
2021-04-05 19:36 | DEBUG | response => headers : {:date=>"Mon, 05 Apr 2021 19:36:18 GMT", :server=>"Apache/2.4.6 (Scientific Linux) OpenSSL/1.0.2k-fips mod_wsgi/3.4 Python/2.7.5", :x_subject_token=>"gAAAAABga2ayj-ceA6Q-s8JG18nIIZSdyw6Xd0hQIvIVS_BlrSQjvh9JXD9bXE7ut2N_7iPJ73By1O75Sc7S68Hp7gVyOiYb43wG7Y1pR7ATN_bBTsNpqSA6ao
>> aa = rand(1000); [usr, sys] = memory; usr.MemUsedMATLAB
ans =
2900811776
>> bb = aa; [usr, sys] = memory; usr.MemUsedMATLAB
ans =