ulaff / laff-on-pfhp Goto Github PK
View Code? Open in Web Editor NEWRepository for "LAFF-On Programming for High Performance"
License: BSD 3-Clause "New" or "Revised" License
Repository for "LAFF-On Programming for High Performance"
License: BSD 3-Clause "New" or "Revised" License
There is an incompatibility between using "struct timespec" in the GNU compiler with the -std=c99 option (Linux OS). The compiler complains that
FLA_Clock.c: In function ‘FLA_Clock_helper’:
FLA_Clock.c:41:21: error: storage size of ‘ts’ isn’t known
struct timespec ts;
A quick fix that worked is using -std=gnu99 instead.
Hi, this is no big issue and I can handle it myself, but I feel it's better to point it out. Here it is:
When typing make HelloWorld under the directory Assignments/Week0/C/, it would report such error message:
/usr/bin/ld: cannot find /root/blis/lib/libblis.a: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:27: driver.x] Error 1
it turns out that, for the latest version of branch master of the blis project, the generated library libblis.a doesn't reside in the path /root/blis/lib, but instead, the path /root/blis/lib/haswell, this is the cause of the error. for me, I modified the Makefile on the line defining the variable BLAS_LIB to be BLAS_LIB := $(HOME)/blis/lib/haswell/libblis.a, to solve this issue. you can solve this issue in the way you see fit.
After compiling the hello world example in week0, I noticed git produced the following output
these object and executable files probably shouldn't ever be committed to the source tree.
Recommend adding a simple .gitignore
file at the root of the project which can tell git to ignore certain files
# ignores all object files and executables that may be generated when compiling
*.o
*.x
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.