g95

`Allocatable array must have deferred shape` when moving from g95 to gfortran

℡╲_俬逩灬. 提交于 2019-12-02 11:02:34
问题 When transitioning from using the g95 compiler to gfortran I get the following error when I try to compile what previously had been a working code Error: Allocatable array ' ' at (1) must have a deferred shape This happens in all of my subroutines for all of my allocatable arrays. An example is below. SUBROUTINE TEST(name,ndimn,ntype,nelem,npoin,nface,inpoel,coord,face) IMPLICIT NONE integer:: i, j,testing integer, INTENT(OUT)::ndimn,ntype,nelem,npoin,nface integer, allocatable, dimension(1: