Skip to content

Instantly share code, notes, and snippets.

View johntfoster's full-sized avatar

John T. Foster johntfoster

View GitHub Profile
#!/usr/bin/env julia
#Copyright 2022 John T. Foster
#
#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:
#
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env bash
rm -rf CMakeFiles CMakeCache.txt
MPI_HOME=/home/ec2-user/anaconda3/
EXTRA_ARGS=$@
cmake -D CMAKE_INSTALL_PREFIX:PATH=/home/ec2-user/anaconda3 \
\
-D MPI_BASE_DIR:PATH=$MPI_HOME \
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@johntfoster
johntfoster / peridigm-stampede-cmake.sh
Last active December 31, 2015 17:38
Cmake build script for Stampede
#!/usr/bin/env bash
export JOHN="/home1/01809/jtfoster"
rm -f CMakeCache.txt
cmake \
-D CMAKE_INSTALL_PREFIX:PATH=$HOME/projects/Peridigm \
-D CMAKE_BUILD_TYPE:STRING=Release \
-D CMAKE_CXX_COMPILER:STRING="mpicxx" \
-D CMAKE_C_COMPILER:STRING="mpicc" \
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env bash
module load intel/15.0.2
rm -rf CMakefiles CMakeCache.txt
EXTRA_ARGS=$@
cmake -D CMAKE_INSTALL_PREFIX:PATH=$HOME/projects/trilinos/ \
\
From 6f872ba6434538944f34cb91d87a99ddc0f55f23 Mon Sep 17 00:00:00 2001
From: John Foster <jtfoster@login2.stampede.tacc.utexas.edu>
Date: Thu, 6 Aug 2015 16:38:31 -0500
Subject: [PATCH] Patch commit for missing <limits> header
---
.../libraries/ioss/src/exo_par/Iopx_DatabaseIO.C | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/packages/seacas/libraries/ioss/src/exo_par/Iopx_DatabaseIO.C b/packages/seacas/libraries/ioss/src/exo_par/Iopx_DatabaseIO.C
@johntfoster
johntfoster / sideset.ipynb
Last active August 29, 2015 14:25
Codes snippit to extract global nodes from sideset information contained in Exodus database.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.