-
名前(任意)
- Keisuke Fukuda (福田圭祐)
-
Twitter or Facebookのアカウント or HN等
-
@keisukefukuda / @freakda_
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -uprN ../Python-3.5.0/Modules/Setup.dist ./Modules/Setup.dist | |
--- ../Python-3.5.0/Modules/Setup.dist 2015-09-13 20:41:24.000000000 +0900 | |
+++ ./Modules/Setup.dist 2015-11-16 15:14:40.014701000 +0900 | |
@@ -204,10 +204,10 @@ _symtable symtablemodule.c | |
# Socket module helper for SSL support; you must comment out the other | |
# socket line above, and possibly edit the SSL variable: | |
-#SSL=/usr/local/ssl | |
-#_ssl _ssl.c \ | |
-# -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# slogin.sh - Allocate nodes in X-queue for S-queue login technique | |
# | |
# Copyright (c) 2015 Keisuke Fukuda | |
# Distributed under the MIT license. | |
# | |
# Configuration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys,os | |
START = 0 | |
WALL = 1 | |
GOAL = 2 | |
OPEN = 3 | |
class Maze(object): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <map> | |
#include <string> | |
using namespace std; | |
// This is OK. | |
void func(map<string,string> a=map<string,string>()) { | |
return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// $ icpc -tbb tbb_minimal.cpp | |
#include <tbb/task_scheduler_init.h> | |
int main() { | |
tbb::task_scheduler_init init; | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// non-SIMD P2P kernel model | |
model exaFMM_P2P { | |
// Double precision | |
param wordSize = 8 | |
param Ni = 20 | |
param Nj = 20 | |
param mutual = 1 | |
data trgBodies[Ni * 3 * wordSize] | |
data srcBodies[Nj * 3 * wordSize] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* measure_sqrt_flops.cpp | |
* Copyright (C) 2013 Keisuke Fukuda | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is | |
* furnished to do so, subject to the following conditions: | |
* |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execve("./measure_create", ["./measure_create"], [/* 131 vars */]) = 0 | |
brk(0) = 0x618000 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b844be4a000 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b844be4b000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/usr/apps.sp3/isv/intel/2015.2.164/composer_xe_2015.2.164/compiler/lib/intel64/tls/x86_64/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) | |
stat("/usr/apps.sp3/isv/intel/2015.2.164/composer_xe_2015.2.164/compiler/lib/intel64/tls/x86_64", 0x7fffb24c01c0) = -1 ENOENT (No such file or directory) | |
open("/usr/apps.sp3/isv/intel/2015.2.164/composer_xe_2015.2.164/compiler/lib/intel64/tls/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) | |
stat("/usr/apps.sp3/isv/intel/2015.2.164/composer_xe_2015.2.164/compiler/lib/intel64/tls", 0x7fffb24c01c0) = -1 ENOENT (No such file or directory) | |
open("/usr/apps.sp3/isv/intel/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <assert.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <myth/myth.h> | |
#ifdef MPI | |
#include <mpi.h> |