Git Product home page Git Product logo

laff-on-pfhp's People

Contributors

rvdg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laff-on-pfhp's Issues

Compiling error for the Week0 Hello World Example

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.

Compilation Error for Week0 Due to the wrong Path to libblis.a

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.

Add gitignore to prevent tracking unimportant files

After compiling the hello world example in week0, I noticed git produced the following output
image

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.