小编And*_*per的帖子

Fortran的Chapel模拟做循环增量?

Fortran do循环增量是否有Chapel模拟?例如,Fortran如:

 do i = 0, numprocs, istep ...
Run Code Online (Sandbox Code Playgroud)

非常感谢.

chapel

4
推荐指数
1
解决办法
66
查看次数

是否可以在记录中为通用类型声明LinkedList字段?

是否可以在Chapel记录中为通用类型声明LinkedList字段?

我想我要做的是:

  record LIST {
    var itm: LinkedList(?t);
  };
Run Code Online (Sandbox Code Playgroud)

?t声明记录时,链表元素的类型未知,但是:

./Structs.chpl:87: internal error: RES-CAL-NFO-0078 chpl version 1.19.0
Note: This source location is a guess.

Internal errors indicate a bug in the Chapel compiler ("It's us, not you"),
and we're sorry for the hassle.  We would appreciate your reporting this bug --
please see https://chapel-lang.org/bugs.html for instructions.  In the meantime,
the filename + line number above may be useful in working around the issue.
Run Code Online (Sandbox Code Playgroud)

非常感谢!

chapel

3
推荐指数
1
解决办法
49
查看次数

标签 统计

chapel ×2