HPCE / hpce-2016-cw5

0 stars 2 forks source link

Makefiles and which versions to submit. #12

Closed m8pple closed 8 years ago

m8pple commented 8 years ago

With regards to what can/should be modified by us, I noticed errors if we excluded some stuff like -ltbb when compiling. Is it then possible to modify the makefile? I don't personally know of any other way to encounter the error of tbb libraries not found when running the default makefile.

On a separate note, just to make sure: do we only submit the fastest version for each of the 4 implementations? This would mean no additional files created or compiled and no additional lines in the puzzles.cpp factory file.

m8pple commented 8 years ago

Ooops, posted this and didn't answer it.

For tbb and opencl, I will link them in when I build the program. You can see the command I'm using in the auto-run logs.

In terms of different implementations: you should only have one active implementations, so your libpuzzler will expose exactly one solution. However, that solution may be a composite solution, with different methods activated in difference scenarios. So it is often a good idea to keep all your different solutions in the main code (within reason - e.g. keep the TBB once there is also an OpenCL), but with some method to allow you to activate different paths based on run-time inputs.