Fortran newsletter: August 2021#

Welcome to the August 2021 edition of the monthly Fortran newsletter. The newsletter comes out at the beginning of every month and details Fortran news from the previous month.

fortran-lang.org#

本月我们对网站进行了几次更新:

  • #281: July newsletter

  • #274: Add convert_FORTRAN_case formatter to package index

  • #277: Add projects for Fortran-lua interfacing to package index

  • #284: PRs script updates

  • #286: Installation process for GFortran on OpenBSD

  • #288: Add Flatiron institute multipole libraries to the package index

  • #289: Small fix in packages index

  • #291: Bump addressable from 2.7.0 to 2.8.0

  • #293: add Apogee and Edinburgh compilers

  • #290: Add arrayfire-fortran to package index

  • #294: compilers: use more objective tone

  • #296: my software with at least 5 stars

  • #297: Fix insecure workflow.

正在进行的工作:

  • #246 (WIP): Transferring fortran90.org “Fortran Best Practices” into a mini-book

  • #201 (WIP): Draft: Internationalization for fortran-lang

让我们知道 如果你对网站及其内容有任何建议。我们欢迎任何新的贡献者加入网站,尤其是教程页面 —— 请参阅 贡献者指南 了解如何开始。

Fortran 标准库#

Here’s what’s new in stdlib:

  • #436: implemented low-level replace_all function

  • #454: added stdlib_math to specs/index.md

  • #453: implemented count function

  • #441: implemented pad function

  • #456: slice function’s documentation made user friendly

  • #459: Fix CMake variable usage

  • #420: First implementation of real-valued linspace.

  • #468: Update CI

  • #469: CMake: corrections and updates

  • #426: Addition of a subroutine to compute the median of array elements

  • #474: Bug fix: Allocatable argument ‘x’ is not allocated #472

工作正在进行中:

  • #481 (WIP): [stdlib_linalg] Update eye function.

  • #480 (WIP): [stdlib_math] Add seq function.

  • #478 (WIP): [stdlib_linalg] Add zeros, ones, ex function.

  • #477 (WIP): [stdlib_linalg] Add empty function.

  • #475 (WIP): Generating sorting subroutines specific to character type with fypp

  • #473 (WIP): Error stop improvements

  • #470 (WIP): Revival string list

  • #467 (WIP): implemented move_alloc for string_type

  • #455 (WIP): stdlib_hash: waterhash algorithm

  • #452 (WIP): Implementation of a map data type

  • #445 (WIP): [feature] disp(display your data) & format_string(format other type to string, see #444)

  • #444 (WIP): Add format_string routine to format other types to strings

  • #437 (WIP): [FPM] add fpm support

  • #363 (WIP): Sorting string’s characters according to their ASCII values

  • #353 (进行中):实现一个用于实数宽松比较的模块的初始版本

  • #286 (WIP): Probability Distribution and Statistical Functions – Beta Distribution Module

  • #278 (WIP): Probability Distribution and Statistical Functions – Gamma Distribution Module

  • #276 (WIP): Probability Distribution and Statistical Functions – Exponential Distribution Module

  • #273 (WIP): Probability Distribution and Statistical Functions – Normal Distribution Module

  • #272 (WIP): Probability Distribution and Statistical Functions – Uniform Distribution Module

  • #189 (WIP): Initial implementation of COO / CSR sparse format

  • #157 (WIP): Update CMAKE files

请通过测试和审查拉取请求帮助改进 stdlib !

@MarDiehl@arjenmarkus该仓库。请尝试一下,如果有任何问题,或者 API 是否可以改进,请告诉我们它是如何工作的。

Fortran 包管理器#

Here’s what’s new in fpm:

  • #507: optimize file listing

  • #511: check name used for package, executable, test, or example

  • #516: initialize allocatable strings before using in a comparison

  • #517: Fix run

  • #522: remove warnings and fix truncated help text

  • #523: Fix compilation error in ifort

工作正在进行中:

  • #525 (WIP): proposal to close #525 by generating build/.gitignore

  • #527 (WIP): Add objects for handling compiler and archiver

  • #521 (WIP): expand tabs

  • #506 (WIP): Draft: initial implementation of implicit_none

  • #498 (WIP): Draft - Compiler flags profiles

fpm 仍处于早期开发阶段,我们需要尽可能多的帮助。以下是你今天可以提供的帮助:

  • 使用它,让我们知道你的想法!阅读 fpm 打包指南 了解如何使用 fpm 构建你的包,以及 清单参考 了解你可以在 fpm.toml 文件中指定的所有内容。

  • fortran-lang 网站 上浏览现有的 fpm

  • 浏览 开启的 issues,看看你是否可以帮助实施任何修复或功能。

  • 为 fpm 调整 Fortran 包并将其提交到 Registry

  • 改进文档。

fpm 的短期目标是使具有依赖关系的 Fortran 包的开发和安装更容易。其长期目标是构建一个丰富且分散的 Fortran 软件包生态系统,并创建一个健康的环境,在该环境中轻松创建和发布新的开源 Fortran 项目。

编译器#

LFortran#

Updates for July 2021:

  • 90 merged MRs, this month we have crossed 1000 total merged MRs, 12 total contributors

  • Parser: we asked the community to test it, several people have reported about 15 bugs, we have fixed all of them (AST)

  • Initial fixed form parser (AST)

  • Classes and class procedures (ASR, LLVM)

  • Many common array usage now works, including allocatable (ASR, LLVM)

  • Associate construct (ASR, LLVM)

  • Compile time evaluation of constant expressions (ASR)

  • 7 people contributed code:

    • Ondřej Čertík

    • Thirumalai Shaktivel

    • Gagandeep Singh

    • Rohit Goswami

    • Dominic Poerio

    • Andrew Best

    • Sebastian Ehlert

We are looking for new contributors, so if you are interested, please get in touch with us!

活动#

  • We had our 14th Fortran Monthly call on July 20. You can watch the recording below:

  • FortranCon 2021 将于 2021 年 9 月 23 日至 24 日以虚拟方式举行。注册免费,截止日期为 9 月 15 日。第一次提交摘要的截止日期为 8 月 1 日,第二次截止日期为 9 月 1 日。欲了解更多信息,请访问FortranCon 网站

  • 我们的 Google 暑期代码计划工作已顺利展开,在 Discourse 上阅读有关我们的学生及其迄今的进展:https://fortran-lang.discourse.group/c/gsoc-2021/11

像往常一样,订阅 邮件列表 和/或加入 Discourse 继续关注未来的会议。

贡献者#

我们感谢过去一个月为 fortran-lang 做出贡献的每个人,他们在以下任何存储库中发表评论: