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
pyver="3.4" | |
pypath="/usr/bin/python3.4" | |
pyver="3.5" | |
pypath="/home/raymond/.pyenv/versions/3.5.2/bin/python3.5" | |
libs_list="boost ref_blas_lapack umfpack idas superlu superlu_mt bonmin nlopt trilinos deal.ii" | |
builds_list="dae superlu superlu_mt trilinos ipopt bonmin nlopt deal.ii" | |
#libs_list="boost" | |
#builds_list="" | |
for lib in ${libs_list}; do |
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
>>> This driver now uses DRI3 as the default Direct Rendering | |
Infrastructure. You can try falling back to DRI2 if you run | |
into trouble. To do so, save a file with the following | |
content as /etc/X11/xorg.conf.d/20-intel.conf : | |
Section "Device" | |
Identifier "Intel Graphics" | |
Driver "intel" | |
Option "DRI" "2" # DRI3 is now default | |
#Option "AccelMethod" "sna" # default | |
#Option "AccelMethod" "uxa" # fallback |
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
==> Making package: cgns 3.3.0-1 (Tue Sep 20 09:07:31 PDT 2016) | |
==> Checking runtime dependencies... | |
==> Checking buildtime dependencies... | |
==> Retrieving sources... | |
-> Found cgns-3.3.0.tar.gz | |
==> Validating source files with sha256sums... | |
cgns-3.3.0.tar.gz ... Passed | |
==> Extracting sources... | |
-> Extracting cgns-3.3.0.tar.gz with bsdtar | |
==> Starting prepare()... |
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
==> Making package: silo 4.10.2-5 (Mon Sep 19 12:54:11 PDT 2016) | |
==> Checking runtime dependencies... | |
==> Checking buildtime dependencies... | |
==> Retrieving sources... | |
-> Found silo-4.10.2.tar.gz | |
-> Found silo-4.10.2-rocket-test.patch | |
-> Found silo-4.10.2-skip-test.patch | |
-> Found silo-4.10.2-remove-mpiposix.patch | |
==> Validating source files with sha256sums... | |
silo-4.10.2.tar.gz ... Passed |
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
from __future__ import division, print_function, absolute_import | |
import fipy as fp | |
import matplotlib as mpl | |
import matplotlib.pyplot as plt | |
import numpy as np | |
axtickfsize = 18 | |
labelfsize = 20 | |
legfsize = labelfsize - 2 | |
txtfsize = labelfsize - 2 |
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
from __future__ import division, print_function, absolute_import | |
import fipy as fp | |
import matplotlib as mpl | |
import matplotlib.pyplot as plt | |
import numpy as np | |
axtickfsize = 18 | |
labelfsize = 20 | |
legfsize = labelfsize - 2 | |
txtfsize = labelfsize - 2 |
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
import time | |
def is_prime(val, primes_smaller): | |
"""Determine if a number is prime given a list of all primes less than it.""" | |
cutoff = int(val**(0.5)) | |
val_primeness = True | |
for testval in primes_smaller: | |
if val - (val // testval)*testval == 0: | |
val_primeness = False |
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
raymond@arch:~$ export "PATH=~/docs/bazantgroup/mpetwork/mpet:$PATH" | |
raymond@arch:~$ echo $PATH | |
~/docs/bazantgroup/mpetwork/mpet:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/opt/opencascade/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/raymond/bin:/home/raymond/MATLAB/R2013a/bin | |
raymond@arch:~$ python | |
Python 3.5.2 (default, Jun 28 2016, 08:46:01) | |
[GCC 6.1.1 20160602] on linux | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import mpet | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> |
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
[flake8] | |
ignore = W503,E226,E123,E301,E402,E302,E265,E231 | |
max-line-length = 99 |
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
[*] Building trilinos... | |
Scanning dependencies of target epetra | |
Scanning dependencies of target teuchos | |
[ 0%] Building CXX object packages/epetra/src/CMakeFiles/epetra.dir/Epetra_BLAS.cpp.o | |
[ 1%] Building CXX object packages/epetra/src/CMakeFiles/epetra.dir/Epetra_BasicDirectory.cpp.o | |
[ 1%] Building CXX object packages/epetra/src/CMakeFiles/epetra.dir/Epetra_BasicRowMatrix.cpp.o | |
[ 1%] Building CXX object packages/epetra/src/CMakeFiles/epetra.dir/Epetra_BlockMap.cpp.o | |
[ 2%] Building CXX object packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_BLAS.cpp.o | |
[ 2%] Building CXX object packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_CTimeMonitor.cpp.o | |
[ 2%] Building CXX object packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_CommandLineProcessor.cpp.o |
NewerOlder