question regarding changing souce code
Posted: Wed Aug 31, 2022 7:34 am
Hi,
I'm trying to change a little part of the source code so that it might be possible to run with CPU+GPU.
I'm wondering if if want to change the function _compute_cocgb_rhsb_lsq which is wrote in file src/alge/cs_gradient.c , do I need to change the file itself and recompile the whole software?
or just simply put the modified file in the case's SRC subdirectory and let it be autocompiled and lined to the solver, if so , is there anyway I can specify the compile options?
Best regards.
I'm trying to change a little part of the source code so that it might be possible to run with CPU+GPU.
I'm wondering if if want to change the function _compute_cocgb_rhsb_lsq which is wrote in file src/alge/cs_gradient.c , do I need to change the file itself and recompile the whole software?
or just simply put the modified file in the case's SRC subdirectory and let it be autocompiled and lined to the solver, if so , is there anyway I can specify the compile options?
Best regards.