Skip to content

Instantly share code, notes, and snippets.

cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_UNIT_TESTS=ON -DFLECSI_RUNTIME_MODEL=hpx
-DHPX_DIR=/home/sshirzad/lib/hpx/hpx_release_gcc_medusa/lib64/cmake/HPX/ ..
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
project(ProjectName)
near the top of the file, but after cmake_minimum_required().
LD_LIBRARY_PATH
/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/lua-5.3.5-ldit3ycm47ukte2bs66um7ilm4sggirk/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/readline-8.0-gxm73v6ac2dbmf36mkprqanu7s35i7xs/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/ncurses-6.2-2jk2bfrccnwotzqgsubqe7wo5qjdiygd/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/seacas-2020-08-13-dkoa6jb6mlvbzw3xowvcx7vwh2rs736u/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/netcdf-c-4.7.4-xq3ewx237rxkndqy27sqy5vpcbdv6e7s/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/matio-1.5.17-yhbewohwvkymsb2aqzvs54uuaepsh5ql/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/cgns-develop-swd3d5trthstmnsmupmjjpwvmtqnwqj2/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/hdf5-1.10.7-mxofwkfecs6dbinj4r4nn4umwefntqa5/lib:/home/
LD_LIBRARY_PATH
/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/lua-5.3.5-ldit3ycm47ukte2bs66um7ilm4sggirk/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/readline-8.0-gxm73v6ac2dbmf36mkprqanu7s35i7xs/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/ncurses-6.2-2jk2bfrccnwotzqgsubqe7wo5qjdiygd/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/seacas-2020-08-13-dkoa6jb6mlvbzw3xowvcx7vwh2rs736u/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/netcdf-c-4.7.4-xq3ewx237rxkndqy27sqy5vpcbdv6e7s/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/matio-1.5.17-yhbewohwvkymsb2aqzvs54uuaepsh5ql/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/cgns-develop-swd3d5trthstmnsmupmjjpwvmtqnwqj2/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/hdf5-1.10.7-mxofwkfecs6dbinj4r4nn4umwefntqa5/lib:/home/
LD_LIBRARY_PATH
/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/lua-5.3.5-ldit3ycm47ukte2bs66um7ilm4sggirk/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/readline-8.0-gxm73v6ac2dbmf36mkprqanu7s35i7xs/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/ncurses-6.2-2jk2bfrccnwotzqgsubqe7wo5qjdiygd/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/seacas-2020-08-13-dkoa6jb6mlvbzw3xowvcx7vwh2rs736u/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/netcdf-c-4.7.4-xq3ewx237rxkndqy27sqy5vpcbdv6e7s/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/matio-1.5.17-yhbewohwvkymsb2aqzvs54uuaepsh5ql/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/cgns-develop-swd3d5trthstmnsmupmjjpwvmtqnwqj2/lib:/home/sshirzad/src/spack/opt/spack/linux-centos8-skylake_avx512/gcc-10.2.0/hdf5-1.10.7-mxofwkfecs6dbinj4r4nn4umwefntqa5/lib:/home/
* thread #1, name = 'scratchpad', stop reason = signal SIGSEGV: invalid address (fault address: 0x30)
frame #0: 0x00007ffff7d0662c libtiramisu.so`std::__1::__vector_base<tiramisu::buffer*, std::__1::allocator<tiramisu::buffer*> >::capacity(this=0x0000000000000020) const at vector:374:40
371 void clear() _NOEXCEPT {__destruct_at_end(__begin_);}
372 _LIBCPP_INLINE_VISIBILITY
373 size_type capacity() const _NOEXCEPT
-> 374 {return static_cast<size_type>(__end_cap() - __begin_);}
375
376 _LIBCPP_INLINE_VISIBILITY
377 void __destruct_at_end(pointer __new_last) _NOEXCEPT;
from pytiramisu import init_physl, var, expr, function, primitive_t, argument_t, buffer, computation, codegen_physl, p_uint8, a_output, p_float32, p_int32, constant, function, a_input
if __name__ == "__main__":
'''
'''
init_physl("function0")
f=function("function0")
N = constant("N", expr(20), p_int32, True, None, 0, f)
i = var("i")
#!/bin/bash
lib="blaze_tensor"
SRC_DIR=$HOME/src/"${lib}"
BUILD_DIR=$HOME/src/"${lib}"/build
INSTALL_DIR=$HOME/install/"${lib}"
rm -rf "${BUILD_DIR}"
rm -rf "${INSTALL_DIR}"
@shahrzad
shahrzad / blaze.sh
Last active February 4, 2021 16:06
#!/bin/bash
lib="blaze"
SRC_DIR=$HOME/src/"${lib}"
BUILD_DIR=$HOME/src/"${lib}"/build
INSTALL_DIR=$HOME/install/"${lib}"
rm -rf "${BUILD_DIR}"
rm -rf "${INSTALL_DIR}"
#!/bin/bash
build_type=$1
lib="phylanx"
SRC_DIR=$HOME/src/"${lib}"
BUILD_DIR=$HOME/src/"${lib}"/build_"{build_type}"
INSTALL_DIR=$HOME/install/"${lib}"/"{build_type}"
rm -rf "${BUILD_DIR}"
rm -rf "${INSTALL_DIR}"
@shahrzad
shahrzad / hpx.sh
Last active February 4, 2021 16:09
#!/bin/bash
build_type=$1
lib="hpx"
SRC_DIR=$HOME/src/"${lib}"
BUILD_DIR=$HOME/src/"${lib}"/build_"{build_type}"
INSTALL_DIR=$HOME/install/"${lib}"/"{build_type}"
rm -rf "${BUILD_DIR}"
rm -rf "${INSTALL_DIR}"