想问问前辈们,在type时,allocatable和pointer区别。我这里的type下,把SUMatrix注释掉,就能跑,加上这个SUMatrix就报错,是什么原因呢?[mw_shl_code=fortran,true]type Subblocks integer*4 :: row int ...
2023-5-10 21:22 - caimaxwell - Fortran语法讨论
可分配数组中的元素是type类型,而元素中又包含可分配数组,该怎么解决呢? [mw_shl_code=fortran,true] type mytype sequence integer,dimension(:),allocatable:: array_type integer, ...
2023-3-25 02:04 - 愤怒的三炮 - Fortran语法讨论
问题如图,人家给的程序,但是运行后出现这个错误,怎么解决啊
2015-8-29 20:34 - wsxu2000 - Fortran语法讨论
编译错误 1 An allocate/deallocate object must have the ALLOCATABLE or POINTER attribute. [E] 2 An ALLOCATE shape must not be given for a scalar object. [E] 对应代码为: ALLOCATE(open_0(max_ele ...
2015-4-25 18:21 - xmcm - Fortran语法讨论
type T_client_server_message union map character*(500) buffer end map map ...
2015-3-13 12:58 - lanxueren121 - Fortran语法讨论