Skip to content

Instantly share code, notes, and snippets.

View soichih's full-sized avatar
💭
disengaged

Soichi Hayashi soichih

💭
disengaged
View GitHub Profile
@soichih
soichih / gist:051bdec5717ef9e2ba53d5d7fdd02233
Created November 4, 2016 00:22
Failed changing directory to: /N/dc2/scratch/hayashis/tmp/python36
hayashis@h1(karst):/N/dc2/scratch/hayashis/tmp/python36 $ ./run.sh
enabling debugging
ending argument loop
Exec'ing: /N/soft/rhel6/singularity/2.2/libexec/singularity/cli/exec.exec /N/u/hayashis/Karst/download/python_3.6-2016-11-01-156ca2b5b15f.imgVERBOSE [U=740536,P=13639] message.c:52:init() : Set messagelevel to: 5
DEBUG [U=740536,P=13639] privilege.c:66:singularity_priv_init() : Called singularity_priv_init(void)
DEBUG [U=740536,P=13639] privilege.c:131:singularity_priv_init() : Returning singularity_priv_init(void)
DEBUG [U=740536,P=13639] privilege.c:179:singularity_priv_drop() : Dropping privileges to UID=740536, GID=236
DEBUG [U=740536,P=13639] privilege.c:191:singularity_priv_drop() : Confirming we have correct UID/GID
VERBOSE [U=740536,P=13639] sexec.c:73:main() : Running NON-SUID program workflow
DEBUG [U=740536,P=13639] sexec.c:75:main() : Checking program has appropriate permissions
@soichih
soichih / gist:8a1151e43d54f6db86787094e36f6ab1
Created October 27, 2016 15:12
strace from singularity
hayashis@aprun4(br2):~/test/singularity $ strace -ff singularity exec -vv tensorflow_latest-gpu-2016-09-29-4ca8cbd91fe3.img uname -a
execve("/N/soft/cle5/singularity/2.2/bin/singularity", ["singularity", "exec", "-vv", "tensorflow_latest-gpu-2016-09-29"..., "uname", "-a"], [/* 439 vars */]) = 0
brk(0) = 0x698000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3201105000
access("/etc/ld.so.preload", R_OK) = 0
open("/etc/ld.so.preload", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
close(3) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=672061, ...}) = 0
@soichih
soichih / gist:8053e8ed4fed0ef34119
Last active August 29, 2015 14:12
Download VO Summary URL
#!/usr/bin/python
import urllib2
import libxml2
vo_summary_oasis_url = "http://myosg.grid.iu.edu/vosummary/xml?summary_attrs_showoasis=on&start_type=7daysago&start_date=12%2F24%2F2014&end_type=now&end_date=12%2F24%2F2014&all_vos=on&active=on&active_value=1&oasis=on&oasis_value=1&sort_key=name"
#download vosummary (for oasis enabled)
response = urllib2.urlopen(vo_summary_oasis_url)
@soichih
soichih / osg-blast.config.json
Created August 19, 2014 00:08
OSG Blast sample json
{
"service": "blast",
"input": "input.2000.fasta",
"db": "oasis:dmel-all-chromosome-r5.55",
"blast": "blastn",
"blast_opts": "-evalue 0.001 -best_hit_score_edge 0.05 -best_hit_overhang 0.25 -perc_identity 98.0"
}
{
"tests" : [
{
"members" : {
"members" : [
"lhcmon.bnl.gov",
"psum02.aglt2.org",
"psmsu02.aglt2.org",
"iut2-net2.iu.edu",
"mwt2-ps02.campuscluster.illinois.edu",
@soichih
soichih / map.geojson
Last active August 29, 2015 14:05
geojson test for koop
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.