From chemistry-request*- at -*server.ccl.net Fri Mar 10 14:12:35 2000 Received: from harfang.CC.UMontreal.CA (harfang.CC.UMontreal.CA [132.204.2.102]) by server.ccl.net (8.8.7/8.8.7) with ESMTP id OAA27917 for ; Fri, 10 Mar 2000 14:12:35 -0500 Received: from esi21.ESI.UMontreal.CA (esi21.ESI.UMontreal.CA [132.204.2.91]) by harfang.CC.UMontreal.CA (8.8.8/8.8.8) with ESMTP id OAA12117 for ; Fri, 10 Mar 2000 14:12:37 -0500 (EST) Received: from localhost (wangx /at\localhost) by esi21.ESI.UMontreal.CA with ESMTP id OAA463302 (8.8.7/IDA-1.6 for ); Fri, 10 Mar 2000 14:12:36 -0500 (EST) X-Authentication-Warning: esi21.ESI.UMontreal.CA: wangx owned process doing -bs Date: Fri, 10 Mar 2000 14:12:35 -0500 From: Wang Xiaogang X-Sender: wangx&$at$&esi21.ESI.UMontreal.CA To: ccl Subject: large array, fortran 90, SGI compiler In-Reply-To: <14536.64358.615773.866549 |-at-| yogi.pc1.uni-duesseldorf.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Dear CCLers, The question is about how to handle large array in fortran 90. An example: program real*8 a(10000,10000) ! an 800MB array common /test/a end However on one SGI origin2000, MIPSpro Fortran 90 Version 7.3, the compiling fails. On another SGI origin2000, Ragnarok Compilers: Version 6.2, the compiling passes. It also passes on DEC Alpha with Digital f90 compiler. It seems that the SGI f90 compiler (version 7.3) puts the common block data to the stack segment instead of data segment. The error message is 'exceeds 268,435,455 bytes, the maximum storage size available' Any hints? Thanks. Xiaogang ------------------------------------------------ Dr Xiaogang Wang Departement de chimie Universite de Montreal C.P. 6128, succursale Centre-ville Montreal, Quebec H3C 3J7 Tel. (514) 3436111 ext. 3947 (office) FAX (514) 3437586 (office) e-mail: wangx |-at-| magellan.umontreal.ca http://physchem.ox.ac.uk/~xgwang/ ------------------------------------------------