phyzguy
Science Advisor
- 5,292
- 2,363
You can see what the -k option does by just going to the manual. In Linux, the manual for any command is found by typing 'man'. So if you type:
man make
it will tell you the options. What make check does is determined by what's in the Makefile. I suspect it runs all of the various codes, which you don't want to do. So let's say you edited the file called joes_poisson_code.cc. When you type:
make -k
it should make the new executable, which will probably be called joes_poisson_code. You want to run this code and not all of the others. So just type:
./joes_poisson_code
and this should run just that piece of code.
man make
it will tell you the options. What make check does is determined by what's in the Makefile. I suspect it runs all of the various codes, which you don't want to do. So let's say you edited the file called joes_poisson_code.cc. When you type:
make -k
it should make the new executable, which will probably be called joes_poisson_code. You want to run this code and not all of the others. So just type:
./joes_poisson_code
and this should run just that piece of code.