ctopcsutahedu / bricklib Goto Github PK
View Code? Open in Web Editor NEWDistributed Performance-portable Stencil Compuitation
License: MIT License
Distributed Performance-portable Stencil Compuitation
License: MIT License
Line 27 in d817250
Lines 105 to 118 in d817250
In commit 4849707 (by @Sam3077), two images were added that should be stored in LFS, but they are not available on the Github repository. This causes failures to build in Spack when using Git. FWIW, it was merged via commit 4849707.
Wherever these files live, git lfs push --all $remote_for_github
(guessing because the commit messages reference issue/PR ids that don't exist here, so I assume there is some other development platform in use) should be able to resolve it.
When I try to generate cuda code using vecscatter, I am facing the following error.
I run the command # vecscatter 3axis.cu out.cu
in bricklib/stencils/
In file included from /usr/include/c++/5/type_traits:35:0,
from /home/bricklib/include/brick.h:10,
from /home/bricklib/include/brick-cuda.h:9,
from stencils_cu.h:8,
from 3axis.cu:5:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support \
^
3axis.cu 226
Traceback (most recent call last):
File "/root/miniconda3/bin/vecscatter", line 4, in <module>
__import__('pkg_resources').run_script('st==0.1', 'vecscatter')
File "/root/miniconda3/lib/python3.8/site-packages/pkg_resources/__init__.py", line 650, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/root/miniconda3/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1446, in run_script
exec(code, namespace, namespace)
File "/root/miniconda3/lib/python3.8/site-packages/st-0.1-py3.8.egg/EGG-INFO/scripts/vecscatter", line 184, in <module>
eval(call)
File "<string>", line 1, in <module>
File "/root/miniconda3/lib/python3.8/site-packages/st-0.1-py3.8.egg/EGG-INFO/scripts/vecscatter", line 150, in Brick
backend = get_backend(vec)
File "/root/miniconda3/lib/python3.8/site-packages/st-0.1-py3.8.egg/EGG-INFO/scripts/vecscatter", line 83, in get_backend
from st.codegen.backend import BackendAVX512, BackendAVX2, BackendScalar, BackendCUDA, BackendFlex, BackendSSE, \
ModuleNotFoundError: No module named 'st.codegen'
By the way, the Codegen Integeration guide page (https://github.com/CtopCsUtahEdu/bricklib/blob/r0.1) seems to be lost. I'll appreciate it a lot if someone can fix it. Thank you for attention.
bricklib
is built in https://github.com/spack/spack CI, but right now it looks like it's better to drop this cause:
Is it possible to fix both issues?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.