Skip to content

Instantly share code, notes, and snippets.

diff --git a/Applications/CLI/ogs.cpp b/Applications/CLI/ogs.cpp
index 209d72cc9..dbde5058a 100644
--- a/Applications/CLI/ogs.cpp
+++ b/Applications/CLI/ogs.cpp
@@ -101,6 +101,11 @@ int main(int argc, char* argv[])
"LOG_LEVEL");
cmd.add(log_level_arg);
+#ifdef OGS_USE_PDAF
+ int a = 5;
@bilke
bilke / gist:deaa8222b1995f37404d334c38b3f5e5
Created April 24, 2019 13:41
Singularity Nomad error output
Apr 24 15:40:15 singularity1 nomad[789]: 2019-04-24T15:40:15.196+0200 [INFO ] client.alloc_runner.task_runner.task_hook.logmon.nomad: opening fifo: alloc_id=f9bd314e-57d3-56bb-bbb8-8eb9ff6f87e5 task="moo moo" @module=logmon path="/var/nomad/alloc/f9bd314e-57d3-56bb-bbb8-8eb9ff6f87e5/alloc/logs/.moo moo.stdout.fifo" timestamp=2019-04-24T15:40:15.195+0200
Apr 24 15:40:15 singularity1 nomad[789]: 2019-04-24T15:40:15.196+0200 [INFO ] client.alloc_runner.task_runner.task_hook.logmon.nomad: opening fifo: alloc_id=f9bd314e-57d3-56bb-bbb8-8eb9ff6f87e5 task="moo moo" @module=logmon path="/var/nomad/alloc/f9bd314e-57d3-56bb-bbb8-8eb9ff6f87e5/alloc/logs/.moo moo.stderr.fifo" timestamp=2019-04-24T15:40:15.196+0200
Apr 24 15:40:15 singularity1 nomad[789]: 2019-04-24T15:40:15.210+0200 [INFO ] client.driver_mgr.nomad-driver-singularity: starting singularity task: driver=singularity driver_cfg="{Image:library://sylabsed/examples/lolcow:latest Args:[] Command:run Debug:true Verbose:true Binds:[] Security:[] KeepPr
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin('~/.local/share/nvim/plugged')
Plug 'neomake/neomake'
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
$ python build.py --help
usage: build.py [-h] [--recipe RECIPE] [--out OUT] [--print]
[--format [{docker,singularity} [{docker,singularity} ...]]]
[--pm [{system,conan} [{system,conan} ...]]]
[--ompi [OMPI [OMPI ...]]] [--ogs [OGS [OGS ...]]]
[--cmake_args [CMAKE_ARGS [CMAKE_ARGS ...]]] [--build]
[--upload] [--registry REGISTRY] [--convert] [--runtime-only]
[--base_image BASE_IMAGE] [--clang] [--gui] [--docs]
Generate container image definitions.
packages:
openmpi:
paths:
openmpi@2.1.1%gcc@4.9 arch=linux-x86_64-debian7: /usr/local/openmpi
buildable: False
eigen:
variants: -fftw -mpfr -scotch -suitesparse
opengl:
paths:
opengl@4.5.0: /usr
message_size bandwidth_mb_s
100000 3434.24
200000 4394.96
300000 4742.17
400000 4907.89
500000 5103.34
600000 5147.98
700000 5159.51
800000 5220.43
900000 5254.96
[
{"type": "native", "size": 100000, "avg": 3562.78},
{"type": "native", "size": 200000, "avg": 4314.33},
{"type": "native", "size": 300000, "avg": 4118.79},
{"type": "native", "size": 400000, "avg": 4943.27},
{"type": "native", "size": 500000, "avg": 5143.23},
{"type": "native", "size": 600000, "avg": 5329.03},
{"type": "native", "size": 700000, "avg": 5435.75},
{"type": "native", "size": 800000, "avg": 5546.97},
{"type": "native", "size": 900000, "avg": 5607.53},
#include <stdio.h>
#include "mpi.h"
#define ONE_MIL (1000000)
#define MAX_SIZE_LOG (22)
#define MAX_SIZE (1<<MAX_SIZE_LOG)
char sdata[MAX_SIZE];
char rdata[MAX_SIZE];
diff --git a/Applications/CLI/ogs.cpp b/Applications/CLI/ogs.cpp
index 7fe7214fc..7468e2355 100644
--- a/Applications/CLI/ogs.cpp
+++ b/Applications/CLI/ogs.cpp
@@ -119,11 +119,9 @@ int main(int argc, char *argv[])
outdir_arg.getValue());
#ifdef USE_INSITU
- auto isInsituConfigured = false;
if (auto t = project_config->getConfigSubtreeOptional("insitu"))
{
name: "viscenter",
host: "localhost",
port: 9090,
index_port: 9292,
background: {
color: "#ff3333"
},
ui: {
clock: 24,