From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 54922 invoked by alias); 15 Aug 2018 05:24:40 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 54843 invoked by uid 89); 15 Aug 2018 05:24:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:689, me, me!, mini X-HELO: mail-yw1-f49.google.com Received: from mail-yw1-f49.google.com (HELO mail-yw1-f49.google.com) (209.85.161.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 15 Aug 2018 05:24:21 +0000 Received: by mail-yw1-f49.google.com with SMTP id s68-v6so92130ywg.2 for ; Tue, 14 Aug 2018 22:24:11 -0700 (PDT) MIME-Version: 1.0 References: <20180814193841.66843122@raspberrypi> In-Reply-To: <20180814193841.66843122@raspberrypi> From: Janus Weil Date: Wed, 15 Aug 2018 05:24:00 -0000 Message-ID: Subject: Re: can you help me! To: amine.awad.raspberry@gmail.com Cc: gfortran Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00067.txt.bz2 Hi Amine, > I HAVE mac mini with Gfortran and it works perfectly. > But i install > Gfortran in a Raspberry PI model b and the example of fibbonaci using > allocate instruction it dose'nt work! among the many error messages you see, you crucial one is (as usual) the first: > /home/pi/Desktop/fortran-raspberry/fibo-alloc2.f90|5|Error: Kind 16 not supported for type INTEGER | That sounds like your raspi doesn't support kind=16, so you should probably try to use kind=8, i.e. change this line: > integer(kind=16),allocatable,dimension(:) :: fib_vals,c_vals into: integer(kind=8),allocatable,dimension(:) :: fib_vals,c_vals Hope that helps ... Cheers, Janus