{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":537036103,"defaultBranch":"main","name":"dwarf-p-cloudsc","ownerLogin":"awnawab","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2022-09-15T13:18:42.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/113430901?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1677760949.3157299","currentOid":""},"activityList":{"items":[{"before":"e0df12298f8f1fa8daca786558cf4df1998428e2","after":"9da2060d6377fee0d2d07f74f9c6ff152496e570","ref":"refs/heads/develop","pushedAt":"2023-04-17T14:42:22.323Z","pushType":"push","commitsCount":23,"pusher":{"login":"awnawab","name":"Ahmad Nawab","path":"/awnawab","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/113430901?s=80&v=4"},"commit":{"message":"PyIface - Fortran-Python bridging with CMake compilation (#38)\n\n* Initial copy of the python driver files and settings to the dedicated branch\r\n\r\n* Python calling of Fortran works in the develop branch\r\n\r\n* add missing fortran part\r\n\r\n* bundle build works for python driver\r\n\r\n* Cleanup of the execution process\r\n\r\n* Small cleanup. Verifies with activation of venv and setting LD_LIBRARY_PATH\r\n\r\n* rpath passed to f2py to find .so libs automatically. Works on Mac, to be checked on Atos\r\n\r\n* python packaging configs\r\n\r\n* abstracting field_c_to_fortran\r\n\r\n* abstracting field_fortran_to_c\r\n\r\n* rearrangement of pyiface sources, validates on ATOS, python packaging still not working\r\n\r\n* Mods to be able to perform pip install. Works with Python 3.11\r\n\r\n* cmake improvements for the python driver to find its dependencies smoothly. Temporarily Python is a required package to build cloudsc\r\n\r\n* pyproject.toml added, now builds correctly on ATOS\r\n\r\n* First round of cmake cleanup\r\n\r\n* Second batch of cmake cleanup. Added ctest entries\r\n\r\n* Third batch of CMakelist improvements\r\n\r\n* Add master compiler options to f2py invocation; diagnostics and comment removal\r\n\r\n* Revert to explicit cloudsc loader in Python, not needed on Mac but needed on Atos. Add importlib to requirements for completeness\r\n\r\n* Basic README added\r\n\r\n* Fix to reenable CI in Github\r\n\r\n* Remove locals from driver, add clic option\r\n\r\n* encapsulation of parameters\r\n\r\n* Expands almost work, except for 4D vars\r\n\r\n* Calling expand works, but nlev has to be hardcoded in expand_r3, possibly to bug in f2py?\r\n\r\n* Setting nproma works\r\n\r\n* Setting ngptot works\r\n\r\n* Cleanup using pylint, a few pylint complains remain, but wont be adressed\r\n\r\n* Trying to make Python optional\r\n\r\n* Try once again\r\n\r\n* Try once again\r\n\r\n* Try once again\r\n\r\n* Try once again\r\n\r\n* Try once again\r\n\r\n* Turn off the build of Python interface for CI\r\n\r\n* RC1 - works successfuly with nproma=32 on ATOS using GNU and Intel. Now to the last check on Mac\r\n\r\n* RC2, corrected wrong character in Readme, downgrade of compulsory Python version in cmake to 3.8 to reenable CI compilation. Pyiface version itself is not tested in CI\r\n\r\n* PyIface: Reverting to 3.8 default Python version\r\n\r\n* PyIface: Use cmake macros to setup venv and build/install there\r\n\r\nThis way we do not rely on the user to setup an bespoke venv and\r\neventually shoot themselves in the foot.\r\n\r\n* PyIface: Clean up CMake layer by separating post-processing steps\r\n\r\nWe now have three clearly defined steps to generate Python wrappers.\r\n\r\n* PyIface: Clean up cloudsc_data utility modules\r\n\r\nRemove redundant use of itemgetter, switch to keyword-args call\r\nsignatures, etc.\r\n\r\n* PyIface: Do dynamic module load via utility routine and CLI override\r\n\r\nThis now allows us to point to the wrapped-and-generated CLOUDSC\r\nFortran module, so that we can execute the driver from anywhere.\r\n\r\n* PyIface: Fix pip installation of python utility package\r\n\r\n* PyIface: Dropping second pip install and install into build/bin\r\n\r\nThis drops a lot of redundant source file copying in the final stage,\r\nwhere we now only copy the driver script over and rely on correct\r\npath discover via the CLI options.\r\n\r\nThis now also allows, in theory, to use editable install of the Python\r\npackage.\r\n\r\n* PyIface: Fix erroneous usage of expand_r3 and remove expand_r3bis\r\n\r\n* PyIface: Rename Python package to pyiface\r\n\r\n* PyIface: Fix ctest and install as editable; fix typo in error message\r\n\r\n* PyIface: Add CLI override for input file path location\r\n\r\n* PyIface: More fixes to path handling in driver\r\n\r\n* PyIface: Add second author to pyproject.toml\r\n\r\n* Install driver script in venv_pyiface\r\n\r\n* Add pyiface to Github actions\r\n\r\n* Github: export F77, F90 env vars\r\n\r\n* Custom run signature and dedicated build matrix entry for pyiface\r\n\r\n* Turn off pyiface by default\r\n\r\n* Add pyiface flag in build name\r\n\r\n* altered tendency names in cloudsc to match Loki transformations\r\n\r\n* Added cloudsc pyiface binary option to build.yml. Update of the READMEs\r\n\r\n* Formatting of READMEs are updated\r\n\r\n* README fix\r\n\r\n* Readme fixes, numbers of microphysics variables sources from the include file\r\n\r\n* Update performance after including constant microphysics variable numbering into cloudsc; add missing space\r\n\r\n* PyIface: Use constant cloud variable indices from common module\r\n\r\n* PyIface: Final tweaks to READMEs and pyproject.toml\r\n\r\n---------\r\n\r\nCo-authored-by: Michael Lange \r\nCo-authored-by: Balthasar Reuter ","shortMessageHtmlLink":"PyIface - Fortran-Python bridging with CMake compilation (ecmwf-ifs#38)"}},{"before":"f4a90b6e8c948b6b2031d14ee2c93386474b83b6","after":"7da2893808e33813846e6731b7b89ee58c91a8d6","ref":"refs/heads/main","pushedAt":"2023-04-12T07:52:29.000Z","pushType":"push","commitsCount":70,"pusher":{"login":"awnawab","name":"Ahmad Nawab","path":"/awnawab","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/113430901?s=80&v=4"},"commit":{"message":"Merge pull request #43 from ecmwf-ifs/nabr-release-1.4\n\nRelease 1.4.0","shortMessageHtmlLink":"Merge pull request ecmwf-ifs#43 from ecmwf-ifs/nabr-release-1.4"}},{"before":"476a2af7fc10ff6f3473eca9ede060ef7d07648b","after":"7844498e3c0159ec6d4e2596748fb532ff581ee4","ref":"refs/heads/naan_field_api","pushedAt":"2023-03-21T15:00:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"awnawab","name":"Ahmad Nawab","path":"/awnawab","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/113430901?s=80&v=4"},"commit":{"message":"Removed field_api variant from github actions verify-targets","shortMessageHtmlLink":"Removed field_api variant from github actions verify-targets"}},{"before":"426fa57ebe7fe729ceefdc87a539160a9dacfc80","after":"476a2af7fc10ff6f3473eca9ede060ef7d07648b","ref":"refs/heads/naan_field_api","pushedAt":"2023-03-21T14:13:52.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"awnawab","name":"Ahmad Nawab","path":"/awnawab","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/113430901?s=80&v=4"},"commit":{"message":"Added CUDA heapsize env var to field_api variant test","shortMessageHtmlLink":"Added CUDA heapsize env var to field_api variant test"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADGmaRRgA","startCursor":null,"endCursor":null}},"title":"Activity ยท awnawab/dwarf-p-cloudsc"}