Skip to content

Instantly share code, notes, and snippets.

Michael Hirsch, Ph.D. scivision

Block or report user

Report or block scivision

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@scivision
scivision / HDF5config.cmake
Last active Oct 2, 2019
HDF5 Windows Intel 2019 compiler (including Fortran)
View HDF5config.cmake
#
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
@scivision
scivision / cmake_build_macos.log
Created Aug 16, 2019
Gemini build and test: MacOS with CMake
View cmake_build_macos.log
# MacOS 10.14.6
$ cmake --version
cmake version 3.15.2
$ git rev-parse --short HEAD
bf39419
$ cmake -B build_cmake
-- The C compiler identification is AppleClang 10.0.1.10010046
@scivision
scivision / CMakeError.log
Last active Jul 30, 2019
Gemini GLOW errors on git rev 99c41d18
View CMakeError.log
$ ctest --output-on-failure
Test project /home/box/code/gemini/build
Start 7: MPIexist
1/13 Test #7: MPIexist ......................... Passed 0.61 sec
Start 8: MUMPS
2/13 Test #8: MUMPS ............................ Passed 1.02 sec
Start 11: DateFormats
3/13 Test #11: DateFormats ...................... Passed 0.04 sec
Start 1: GeminiGlow2D-NP2
4/13 Test #1: GeminiGlow2D-NP2 ................. Passed 77.08 sec
@scivision
scivision / common_failures.log
Last active Aug 21, 2019
Meson PGI debugging
View common_failures.log
# These were probably broken since I added PGI to Meson. I did not run the project tests as I should have back then, just that PGI worked with my projects and Meson.
# Here is a result on CentOS 7 from:
$ FC=pgfortran CC=pgcc CXX=pgc++ python run_project_tests.py --only common
Succeeded test: test cases/common/1 trivial
Succeeded test: test cases/common/2 cpp
Succeeded test: test cases/common/3 static
Succeeded test: test cases/common/4 shared
Succeeded test: test cases/common/5 linkstatic
@scivision
scivision / .gitattributes
Last active Aug 30, 2019
End CRLF line ending hell for Windows + Cygwin or WSL and any other OS https://www.scivision.dev/git-line-endings-windows-cygwin-wsl/
View .gitattributes
.gitattributes text eol=lf
.gitignore text eol=lf
*.build text eol=lf
*.c text eol=lf
*.cmake text eol=lf
*.cpp text eol=lf
*.csv text eol=lf
*.f text eol=lf
*.f90 text eol=lf
*.for text eol=lf
@scivision
scivision / 2d_single.log
Created Dec 17, 2018
Gemini failures Intel compiler
View 2d_single.log
$ ./gemini initialize/test2d/config.ini /tmp/2dt
Process: 0 of: 0 online...
initialize/test2d/config.ini: simulation ymd is: 2013/02/20
start time is: 18000.000
duration is: 300.000
output every: 60.000
...using input data files:
../simulations/zenodo2d/inputs/simsize.dat
../simulations/zenodo2d/inputs/simgrid.dat
../simulations/zenodo2d/inputs/2Dtest_lowres_ICs.dat
@scivision
scivision / out-single-thread-2d.log
Last active Dec 17, 2018
Gemini failures GNU+MKL
View out-single-thread-2d.log
$ ./gemini initialize/test2d/config.ini /tmp/2dt
Process: 0 of: 0 online...
initialize/test2d/config.ini: simulation ymd is: 2013/02/20
start time is: 18000.000
duration is: 300.000
output every: 60.000
...using input data files:
../simulations/zenodo2d/inputs/simsize.dat
../simulations/zenodo2d/inputs/simgrid.dat
../simulations/zenodo2d/inputs/2Dtest_lowres_ICs.dat
View octave3.8.2_configure.log
Octave is now configured for x86_64-unknown-linux-gnu
Source directory: .
Installation prefix: /home/thin/.local/octave38
C compiler: gcc -Wall -W -Wshadow -Wformat -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread
C++ compiler: g++ -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread
Fortran compiler: gfortran -O
Fortran libraries: -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L. -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lgfortran -lm -lquadmath
Lex libraries:
LIBS: -lm
View octave4.4.1_configure.log
configure:
Octave is now configured for x86_64-pc-linux-gnu
Source directory: .
Installation prefix: ~/.local/octave
C compiler: gcc -pthread -fopenmp -Wall -W -Wshadow -Wformat -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual -g -O2
C++ compiler: g++ -pthread -fopenmp -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2
Fortran compiler: gfortran -g -O2
Fortran libraries: -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. -lgfortran -lm -lquadmath
@scivision
scivision / matmul.log
Last active Apr 17, 2018
Python-Performance reuslts
View matmul.log
/RunMatmul.py
Fortran -->
GCC version 6.2.0
--param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=35840 -mtune=broadwell -march=x86-64 -auxbase-strip CMakeFiles/matmul.dir/matmul.f90.o -g -O3 -Wall -Werror=array-bounds -Wextra -Wpedantic
double DGEMM (sec): 0.753308
single SGEMM (sec): 25.260954
double intrinsic (sec): 0.411206
single intrinsic (sec): 0.206234
--> Julia 0.6.2
You can’t perform that action at this time.