From owner-freebsd-ports@freebsd.org Thu Jun 1 01:58:40 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40DDEBF02C2 for ; Thu, 1 Jun 2017 01:58:40 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm22-vm3.bullet.mail.ne1.yahoo.com (nm22-vm3.bullet.mail.ne1.yahoo.com [98.138.91.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0DCDA7500F for ; Thu, 1 Jun 2017 01:58:39 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1496282180; bh=iLy4VbIHz5U0AwQq98GhCqpdAf9/nR30mUsYIcs23T4=; h=From:Subject:To:Date:From:Subject; b=U9/UhXXwbzgCRrEK+6mVJZ7j6qIxs7W2h8poN92xRqEfn1rvcyaCip49VPuKoIJSa2M50y21aHOe8hexiYINObjwHhcsPd6+lIkR3Yso9VVclifhl7sfVYMGShMcsOJZNA9Aitp4dl8iPxctoH0BHUDoD44XZ9w33CY6eXwr64Qjau+PmoccFstp8Cj7zvBkgsP1M1zX5vooGeQN6HHDIre1fse7Aq4ou06shk2vbdCrGuHJ+KpGpEn5yIKd5oo9xwdnNtNAdhBflNrOQxhY73ZoMgENiMhdRNe5xNxchKdHWOajY+iyBFBuQV9U1TpAjP0LHt7xFtee+nwB/mn+8Q== Received: from [98.138.100.113] by nm22.bullet.mail.ne1.yahoo.com with NNFMP; 01 Jun 2017 01:56:20 -0000 Received: from [98.138.104.115] by tm104.bullet.mail.ne1.yahoo.com with NNFMP; 01 Jun 2017 01:56:20 -0000 Received: from [127.0.0.1] by smtp224.mail.ne1.yahoo.com with NNFMP; 01 Jun 2017 01:56:20 -0000 X-Yahoo-Newman-Id: 290455.76913.bm@smtp224.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: i3EMIqoVM1krAoOVOXi_yCy6phMAEDR597yOIgoxOiIc0Dn 2Tgvh4q2I5bSkJD7.I_Q9pyzl3cu8JdGv2yj.k0NMW8TujBzSx4hUxrnjJYM AyCTv7HGc6otbH8bt4o6GrzL0Q6dkKuRHcFRmtu8tphLZDquA.Gh4y7.__UI R0sdo4tWhAoarlFWcjt18z9y44e46DsAuKltoTCTuMQWkZvLFfWPUg48Yhdp bzaheYLn1.DaiB1VXr.7ycYM3xOyCVyBP3HLzseZOTuAFGGSMw.zn76dN9Vp RE.cfY9IOhxCYqukkXB59ElBTipnOSALg1I3rH5HbY9P5cxYJFvwL2ytpUbJ Zo271Ugusjow.GSHNazXj2E0eSB4WJSYcuwPRldXNBMhqcTopL7fSmNNcANS yAwx_nRBjyPAgZ5Mem4awx1IYS7SGNckoG2Cm1.oabrc8EyTGlW4oK_nj98M SzdtHX06eew.ZuZaQzoqRyJF01XcfEAFssG59uAdT6Gzt.tL1ZwQzxA_4PIi HP3Ssm.inFlNJNQTGKdsvpZ6_hjtyNtvCFGhGioK72d6. X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf From: Pedro Giffuni Subject: Problems using OpenMP To: freebsd-ports@freeBSD.org Organization: FreeBSD Message-ID: Date: Wed, 31 May 2017 20:56:18 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2017 01:58:40 -0000 Hello guys; FWIW, I tried using OpenMP in a port (hypre) and I thought the option would be something as simple as this: OPENMP_CONFIGURE_WITH= openmp OPENMP_CONFIGURE_USES= compiler:openmp Unfortunately that is not enough: ... In file included from ./_hypre_utilities.h:16: ./HYPRE_utilities.h:29:10: fatal error: 'omp.h' file not found #include ^~~~~~~ --- amg_linklist.o --- ... And the file is here: /usr/local/lib/gcc5/gcc/x86_64-portbld-freebsd11.0/5.4.0/include/omp.h /usr/local/llvm39/lib/clang/3.9.1/include/omp.h Which is not really clean to include :(. Any suggestion? Pedro.