From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2IlDMvUlk2A+gwEAgWs5BA (envelope-from ) for ; Thu, 06 May 2021 01:10:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MD/vLfUlk2DSJwAA1q6Kng (envelope-from ) for ; Wed, 05 May 2021 23:10:45 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4BC6618559 for ; Thu, 6 May 2021 01:10:44 +0200 (CEST) Received: from localhost ([::1]:53342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leQfC-0000kk-Qb for larch@yhetil.org; Wed, 05 May 2021 19:10:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leQeT-0000iB-D5 for emacs-orgmode@gnu.org; Wed, 05 May 2021 19:09:57 -0400 Received: from mout.gmx.net ([212.227.15.15]:54361) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leQeR-0000Fm-AJ for emacs-orgmode@gnu.org; Wed, 05 May 2021 19:09:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620256191; bh=qeIv8OurWnZNPNp8+98ccL/oW0fjMkqTd1NvgesczjE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=M4Vgh7ZX/0ZGSmf4dDscTqhADah4D2RFf9wkN48tuqQlWIov0I2PJ5pl/L+MIlV78 c2L1FtJE8xYjhAV6daZfOUSHcfhxCgq8iblSR/My01bnvLqrjryc/FGz8H29vsF0gf NLzs4rP/OHsVHg7c0qp5e/e9W6NoislbZJXDhYVo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs16.server.lan [172.19.170.184]) (via HTTP); Thu, 6 May 2021 01:09:51 +0200 MIME-Version: 1.0 Message-ID: From: Christopher Dimech To: Eric S Fraga Subject: ob-fortran behaviour Content-Type: text/plain; charset=UTF-8 Date: Thu, 6 May 2021 01:09:51 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87eeelrv6s.fsf@ucl.ac.uk> References: <871ral7kq8.fsf@ucl.ac.uk> <87eeelrv6s.fsf@ucl.ac.uk> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:TDd/jpyk6aUPKR++eR9tcOK6I3Sj0NKTYP56HvE+w+Iz1vAAe4Y4CucIDloqW/rDZCWx0 0nuUI1terRKyl546eBA3nfELZLBkqCgzlQE29nSFmaQDz/RwCfcg7leqh5EKRqy1FpPp5r+Ho8hS hRfZ9hAU9tQ25tYP610YxRZJphSIUE/mo1RINf7EnJXI2V5FXgkXvbpwqFnmDtO/ijiBU+EWXV1L 28bfSfINxunnzR2Isw7wIpf0bfedddGvR8Ieb7k2WWiQiczPzHYU2mmm3ZlDb/kmfCENbXUJ3KY8 rA= X-UI-Out-Filterresults: notjunk:1;V03:K0:VWTiB1eD6rY=:M9iMQCuY471dJUrAoVpAVM cUhx0PF58WCAEvNWukefUkxSiaazvD3Y2EOTKHaccYw6XVp9zkk5twreYDI0c2lZqO/0vk9bR XP0GrED6rpHK+P1imGuFGGaf1OXpBIu6vi5ACBjkS0PWIY0poXr1udPfXPamJW2XZwekWB7jd ZR8UOQKSqqrJ48vd4leqHw+oK9LPUvbj1tVBT37cH2uatzTVyEMwJlv7gMMQ044ZAgQXPPt4Y C+SO+0q77FqEeBqJfaJQuV5CCexm75iR6LVNTjH0j9DatETt7b45vTBQu4jRSpz/o4rAnwtOe 4yVMbEedZ8iUeI+W4M/ETSA819X5Z/YaA0Zs0JzA3a7rELx/Uv5NqOrYSrJfs4mh9n2wJu6D5 UcLtja5E4mnGOdbHTKVeTBYuoFheTuWqg6xJ6XuCG7cUysi/N8RtLN9rskzVmzgde0RL0DvBV Smb69ahSkNCvjFZnqE6hg5XYFJGp2owmKgfNCGXlwAxnqBu0QyovDDFs3SooUYEH9yC1zuJm6 xDIiKcryP/dpRJm4B2K3QCjij7WK6B38VHhjflliDYRKMpltGrpV4UwyjoTBW5CYNit9ixoW7 HMw9MADKZOSkX4aH1IY0EdTLcvpg5l726ItpuCUZ71HWlUpoEkLpGCqcssT0bU/U/UigI38iq 1XmaGbWSTKWp2N8cKxqp0KQZYYcHe3vlJkDg36n801JUfO+vTNQ6IbusO3/Y5CXU+P2K8johl 31aGEwoS9y6VRtWF6by8m8+eNDZsznctfVhJqEKXavLIWnOhvzGBfWWpAFBB2PukzriT/H/QN DnPVojUNeccOEuLK6SWqDb0IEWo3XfJ6S8jb/PMex6akaota36JnjX13UAVr+8ckuoAHuSWcL hmV62GocrvQgOWNvgJVsOQE1KUCWq/6U2DiMf+9AnSVrdHHP2eEDzhna/i+WGo Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=212.227.15.15; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org Mode List Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620256244; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=gPs4xfcR0ZC625aQMAruQowaz3RvOVVvaqWyrXibtpA=; b=FQDmZGW+M2j56PEd1vSnSjAV8Naxj/eog9mfX8MNEzFXqWgxRi8sHA2Zwfz6o5jPMGdDyZ gsTTYL/2R1c1st0VF8PzY4yAhz0fE4G69q+UG3MSJ7N7iH6n21ip0RUe78GWEn+EsjT8s0 jMMP3m5Uj46k76NfNSWmfb3/dJV0/SNRDbiO+TXT8nKl9154bLstsB/XCseEnmrjrC7Hpn jnLYhHb0MdU5rvV62jrAjhVIuGJVdC42ZcLn4uQbN9CgA2doPOQSpzjVhI35RWqGXZxFRQ yyt+Th8rfibdVdVdxGm1Ftv2VdnDKY30+k35oA0coUEOKSKPweS4SH2J+eBHFA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620256244; a=rsa-sha256; cv=none; b=YBWc35Fot8m+7e57TBhuNZXtbSa34qiaAui3kofwkKOWJdp5P3GNhiHJAMM0Fvop2zfuKl av2m80/OXCP3iyRbGp3EN2SXXB/OG3W/XQO0SpeVB+2Y2pY/Ua1zW0yVxUqqTMEY5ODUHG xl9UIHDHzmoIgG5mlwUCv7I7BDAJ1NX16cUdzlyv2m9CnwdTYSStGtUtbZa3pgCRgJclOM svLEPrbFWM8suRHXFlhCV2EZjHivh6wdamCB/5PSZvCjJUVwIpkXqg6dM01SmrWFT5SR84 LMbI2JGqXazWn4pqswABkhaurOnQOWwFY6YJi0sWcn+tScyIsRVW5NxujVKZnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=M4Vgh7ZX; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -0.57 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=M4Vgh7ZX; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmx.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 4BC6618559 X-Spam-Score: -0.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: Pts9Dkk7uJvm Fortran is behaving in a weird way #+BEGIN_SRC fortran program matrx_vectr_mult implicit none integer :: m, n, i, j, k real :: a(5,3), u(3), v(5), rsum m =3D 5; n =3D 3 a =3D 0.0; u =3D 0.0; v =3D 0.0 k =3D 0 do j =3D 1, n do i =3D 1, m k =3D i + j a(i,j) =3D real(k) u(i) =3D real(3*i) end do end do do i =3D 1, m rsum =3D 0.0 do j =3D 1, n rsum =3D (a(i,j) * u(j)) + rsum end do v(i) =3D rsum end do write (*,*) "a * *", " * ", "u", " * ", "v" write (*,*) a(1,:), "*", u(1), "*", v(1) write (*,*) a(2,:), "*", u(2), "*", v(2) write (*,*) a(3,:), "*", u(3), "*", v(3) write (*,*) a(4,:), "* * *", v(4) write (*,*) a(5,:), "* * *", v(5) print *, "---" write (*,*) a end program #+END_SRC #+RESULTS: | a | * | * | * | u | * | v | | | | | = | | | | | 12.0 | 3.0 | 4.0 | * | 3.0 | * | 90.0 | | | | | = | | | | | 15.0 | 4.0 | 5.0 | * | 6.0 | * | 114.0 | | | | | = | | | | | 4.0 | 5.0 | 6.0 | * | 9.0 | * | 96.0 | | | | | = | | | | | 5.0 | 6.0 | 7.0 | * | * | * | 114.0 | | | | | = | | | | | 6.0 | 7.0 | 8.0 | * | * | * | 132.0 | | | | | = | | | | | --- | | | | | | | | | | | = | | | | | 12.0 | 15.0 | 4.0 | 5.0 | 6.0 | 3.0 | 4.0 | 5.0 | 6.0 | 7.0 | 4.0 | 5.= 0 | 6.0 | 7.0 | 8.0 | =2D-------------------- Christopher Dimech General Administrator - Naiad Informatics - GNU Project (Geocomputation) - Geophysical Simulation - Geological Subsurface Mapping - Disaster Preparedness and Mitigation - Natural Resource Exploration and Production - Free Software Advocacy