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
node_modules/ | |
theme/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# title |
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
# for gist naming purposes |
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
#! /home/mdavezac/usr/src/julia-cb9bcae93a/bin/julia | |
packages = ["Gadfly", "IJulia", "ZMQ", "Winston", "Tk", "Cairo", | |
"ProfileView", "ImageView"] | |
syspath = joinpath(expanduser("~"), ENV["VIRTUAL_ENV"], "share", "julia") | |
ispath(syspath) || mkdir(syspath) | |
isdir(syspath) || error(syspath, " is not a directory") | |
include(joinpath(JULIA_HOME, Base.DATAROOTDIR, "julia", "build_sysimg.jl")) | |
Pkg.update() |
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
const openmpi = find_library(["libmpi.so", "libmpi.dylib"]) | |
const mpich = find_library(["libmpich.so", "libmpich.dylib"]) | |
if openmpi != "" | |
function init_openmpi() | |
l = Cint[0] | |
handle = dlopen(openmpi, RTLD_GLOBAL) | |
mpi_init = dlsym(handle, :MPI_Init) | |
mpi_finalize_symbol = dlsym(handle, :MPI_Finalize) | |
a = ccall(mpi_init, Int, (Ptr{Cint}, Ptr{Cint}), l, l) |