This file contains hidden or 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
| #!/bin/bash | |
| set -x | |
| _RDIR_=$PWD | |
| mkdir blaze | |
| pushd blaze | |
| git clone --depth=1 https://bitbucket.org/blaze-lib/blaze.git repo | |
| mkdir -p {build,install} | |
| pushd build | |
| cmake -DCMAKE_INSTALL_PREFIX=$_RDIR_/install -DBOOST_ROOT=/opt/boost/1.65-gcc-7.2.0/ -DBLAZE_SMP_THREADS=C++11 ../repo | |
| make -j |
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 hidden or 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
| /usr/bin/ld: cannot find -lhpx_init | |
| /usr/bin/ld: cannot find -lhpx | |
| collect2: error: ld returned 1 exit status | |
| make[2]: *** [CMakeFiles/driver.dir/build.make:126: driver] Error 1 | |
| make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/driver.dir/all] Error 2 | |
| make: *** [Makefile:130: all] Error 2 | |
| /usr/bin/ld: cannot find -lhpx_init | |
| /usr/bin/ld: cannot find -lhpx | |
| collect2: error: ld returned 1 exit status | |
| make[2]: *** [CMakeFiles/driver.dir/build.make:126: driver] Error 1 |
This file contains hidden or 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
| cmake \ | |
| -DBUILD_SHARED_LIBS=ON \ | |
| -DCMAKE_BUILD_TYPE=Debug \ | |
| -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH \ | |
| -DENABLE_CALIPER=ON \ | |
| -DENABLE_CINCH_UTILS=ON \ | |
| -DENABLE_EXODUS=OFF \ | |
| -DENABLE_GASNET=ON \ | |
| -DENABLE_HDF5=ON \ | |
| -DENABLE_HPX=ON \ |
This file contains hidden or 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
| cmake \ | |
| -DCMAKE_BUILD_TYPE=Debug \ | |
| -DCMAKE_PREFIX_PATH=/.../install/flecsi-third-party \ | |
| -DENABLE_UNIT_TESTS=On \ | |
| -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH \ | |
| -DENABLE_PARMETIS=On \ | |
| -DENABLE_METIS=On \ | |
| -DENABLE_COLORING=On \ | |
| -DFLECSI_RUNTIME_MODEL=hpx \ | |
| -DENABLE_DEVEL_TARGETS=On \ |
This file contains hidden or 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
| #------------------------------------------------------------------------------# | |
| # Copyright (c) 2014 Los Alamos National Security, LLC | |
| # All rights reserved. | |
| #------------------------------------------------------------------------------# | |
| cmake_minimum_required(VERSION 2.8) | |
| project(flecsit_compile_driver) | |
| find_package(FleCSI REQUIRED) |
This file contains hidden or 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
| ; ModuleID = 'sum' | |
| source_filename = "<string>" | |
| target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" | |
| target triple = "x86_64-unknown-linux-gnu" | |
| @"_ZN08NumbaEnv8__main__7sum$241Eii" = common local_unnamed_addr global i8* null | |
| @.const.sum = internal constant [4 x i8] c"sum\00" | |
| @PyExc_RuntimeError = external global i8 | |
| @".const.missing Environment" = internal constant [20 x i8] c"missing Environment\00" |
This file contains hidden or 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 numba import jit, int32 | |
| @jit(int32(int32, int32)) | |
| def sum(x, y): | |
| return x + y |
This file contains hidden or 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
| # Phylanx: 132f51b699eb1851725d02b4ce6e1cee570a09e5 | |
| # HPX: 3418d96f1e811b336cfe1bbfc68c95764cd0e14a | |
| _error = "Segmentation fault (core dumped)" | |
| import numpy as np | |
| from phylanx import Phylanx | |
| @Phylanx(debug=1) |
This file contains hidden or 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 phylanx import Phylanx | |
| # import tensorflow as tf | |
| # @tf.function | |
| # def foo(): | |
| # a = 2 | |
| # print(tf.autograph.to_code(foo.python_function)) |
OlderNewer