ProfessorWest / splash2-posix

A POSIX version SPLASH-2 that just works.
0 stars 0 forks source link

Can't make kernels/cholesky #1

Open pwpow opened 4 years ago

pwpow commented 4 years ago

image

ProfessorWest commented 4 years ago

Please do a fresh pull and then: gcc *.c -lm -lpthread I believe I've cleaned that one up.

pwpow commented 4 years ago

It's work now, Thanks however, I still have a question when I try to run apps/barnes, how can I use the input file

image

tweekley49 commented 4 years ago

@pwpow BARNES < inputfile (don't use ./ in front of input)

pwpow commented 4 years ago

@tweekley49 I have tried, but also failed. image

Can you run the program?

tweekley49 commented 4 years ago

@pwpow Not anymore. What you can do, and is easy to do, is modify the code slightly to just ignore asking for a file. There are defaults parameters set in code.c, so inside that file, comment out the code that is trying to read the file in, and then set the parameters to equal the default parameters. (The default parameters are in code.c at the top and are also in the input file.)

pwpow commented 4 years ago

@tweekley49 Got it, thanks.