foxtran

Results 80 issues of foxtran

xtb has multiple dependencies and those also have their own dependensies... Their versions are managed via `subprojects/*.wrap` files which are not unified between different deps sometimes. **To Reproduce** 1. clone...

dependencies

[AddressSanitizer, ASan](https://github.com/google/sanitizers/wiki/addresssanitizer) is powerful instrument to detect possible memory bugs in software. Currently, it is available with gfortran, intel ifx, [flang](https://github.com/llvm/llvm-project/tree/main/flang) compilers. To enable ASan in gfortran, one has to...

In the given fragment, `nedge` can be 4 or 12, depending on compile time constant `ldim`: https://github.com/Nek5000/Nek5000/blob/f99f4b5af81e8e561cd34e13e7a70d2d799f447e/core/genxyz.f#L1441-L1442 However, later, `ledg(5:12)` can be used if one will run code with `ndim=3`....

The compilation of `xtb` which uses `toml-f` fails if NVHPC is used with the following error: ```text NVFORTRAN-S-0000-Internal compiler error. size_of: attempt to size deferred size character 0 (xtb/build_nvc/_deps/toml-f-src/src/tomlf/ser.f90: 75)...

vendor issue

**Description** AddressSanitizer detected some errors which I've fixed here: - `mpp_domain_misc`: `mpp_send` is non-blocking operation so, `send_buffer` must be alive at least until sync point. (Closes #1803) - `mpp_utils_mpi`: in-place...

**Describe the bug** Here, https://github.com/NOAA-GFDL/FMS/blob/f13435f7a23f24d9eebcf01ca520cd67851b087b/test_fms/diag_manager/test_diag_update_buffer.F90#L186 `missvalue` gets FP value of default real kind. `missvalue` has a constrain on type which can be only `integer(8)` or `real(4)`. So, once one uses...

**Describe the bug** In the following fragment, local temporaries `atm_data_in+K` are used for putting them on grid: https://github.com/NOAA-GFDL/FMS/blob/f13435f7a23f24d9eebcf01ca520cd67851b087b/test_fms/exchange/test_xgrid.F90#L918-L921 `put_on_xgrid`, internally, keeps pointers to these local temporaries and uses them for...

**Describe the bug** In the following fragment, deallocation happens right after usage, however, since, `mpp_send` does not have mpp_sync inside of the call, actual data send may happen at any...

**Description** In this PR I've replaced all cray pointers in `mpp_sum.inc`, `mpp_sum_ad.inc`, `mpp_transmit.inc`, `mpp_transmit_mpi.inc` to Fortran pointers that is possible with Fortran 2008 features. Related to #54 It is 4...

**Description** During rewriting cray pointers in `mpp/`, I've noticed strange variable `wordlen` which is not used. So, here I've deleted it. **How Has This Been Tested?** Compilation with GCC 15.2,...