This file contains hidden or 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
(ns aws.s3 | |
(:refer-clojure :exclude [get]) | |
(:use [clojure.walk :only (keywordize-keys stringify-keys)] | |
[clojure.contrib.def :only (defonce-)] | |
[clojure.contrib.json :only (read-json write-json)]) | |
(:import [java.io PrintWriter InputStreamReader ByteArrayInputStream ByteArrayOutputStream] | |
[java.util.zip GZIPInputStream GZIPOutputStream] | |
[com.google.common.base Charsets] | |
[com.amazonaws.services.s3 AmazonS3Client] | |
[com.amazonaws.services.s3.model Region CreateBucketRequest ObjectMetadata |
This file contains hidden or 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
source /opt/intel/mkl/bin/mklvars.sh intel64 | |
export MKLROOT="/opt/intel/composer_xe_2015.2.132/mkl" | |
export MKL_LIB_PATH="$MKLROOT/lib" | |
export MKL=" -L${MKLROOT}/lib ${MKLROOT}/lib/libmkl_blas95_ilp64.a ${MKLROOT}/lib/libmkl_lapack95_ilp64.a -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm -lmkl_gf_ilp64" | |
export ICC_LIBS="$MKLROOT/mkl/lib" | |
export IFC_LIBS="$MKLROOT/../compiler/lib/intel64" | |
export CC="icc -std=c99 -arch x86_64" | |
export CFLAGS="-g -O2 -fPIC -DPIC -DMKL_ILP64 -I${MKLROOT}/include -ip -wd188" | |
export F77="ifort -arch x86_64" | |
export FFLAGS="-g -O2 -fPIC -I${MKLROOT}/include/intel64/ilp64 -I${MKLROOT}/include -ip" |