Closed jschueller closed 12 months ago
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals primac primaf
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals primac primaf
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals primac primaf
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals intelfortran modflowpy primac primaf
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals intelfortran modflowpy primac primaf
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals modflowpy newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals modflowpy newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals modflowpy newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals modflowpy newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals msystem newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals msystem newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals newuoi primac primaf uobyqi
@zaikunzhang I think this is ready for review I also want to add a data pointer & return code to the callback to allow user abort, but that would involve more modifications to the fortran side, so lets hear your thoughts on this before
@zaikunzhang I think this is ready for review
I also want to add a data pointer & return code to the callback to allow user abort, but that would involve more modifications to the fortran side, so lets hear your thoughts on this before
Dear @jschueller ,
Thank you very much for the wonderful contribution! Sorry for the slow response.
Is there a way to avoid renaming the Fortran files/subroutines, maybe by building the solvers one by one instead of all together?
Another monitor comment is that you may consider using https://github.com/marketplace/actions/setup-fortran to get Fortran compilers in CI.
Many thanks and best regards, Zaikun
While we could split the solvers, it would be impractical and also result in separate c libraries, this is probably not what we want because it would prevent to use more than one solver at at time in the client codes. Also it speeds up compilation because common code does not need to be recompiled each time.
I will check out setup-fortran, thanks
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals iprintf newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals lincoi newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals lincoi newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals lincoi newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals lincoi newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals lincoi newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals lincoi newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals lincoi newuoi primac primaf uobyqi
@zaikunzhang I used setup-fortran to test the different os/compiler combinations
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals lincoi newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals lincoi newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals lincoi newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals lincoi newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
bobyqi cmake cobyli endmacro evals lincoi newuoi primac primaf uobyqi
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
See the :open_file_folder: files view, the :scroll:action log or :angel: SARIF report for details.
This adds a C interface to the Fortran library thanks to the iso_c_binding module:
prima.h:
Some fortran modules have to be renamed to allow building everything into one single fortran library.
This also introduces a CMake build system to build both the Fortran library and the C library in a cross-platform manner.
Comments welcome