From owner-svn-ports-head@freebsd.org Sat Jan 4 20:34:11 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 20E131F6DE4; Sat, 4 Jan 2020 20:34:11 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47qtm27166z4bfl; Sat, 4 Jan 2020 20:34:10 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EBB731A8E2; Sat, 4 Jan 2020 20:34:10 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 004KYAY5075688; Sat, 4 Jan 2020 20:34:10 GMT (envelope-from pfg@FreeBSD.org) Received: (from pfg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 004KYAms075684; Sat, 4 Jan 2020 20:34:10 GMT (envelope-from pfg@FreeBSD.org) Message-Id: <202001042034.004KYAms075684@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pfg set sender to pfg@FreeBSD.org using -f From: "Pedro F. Giffuni" Date: Sat, 4 Jan 2020 20:34:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r522059 - in head/cad/calculix-ccx: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pfg X-SVN-Commit-Paths: in head/cad/calculix-ccx: . files X-SVN-Commit-Revision: 522059 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jan 2020 20:34:11 -0000 Author: pfg Date: Sat Jan 4 20:34:09 2020 New Revision: 522059 URL: https://svnweb.freebsd.org/changeset/ports/522059 Log: cad/calculix-ccx: Enable multithreading with spooles. Enabling the multithreaded version of Spooles can bring some modest, but significant, improvements of around 12% for 4 CPUs. Also disable (again) the Taucs slover as it is causing coredumps and requires more investigation. PR: 242995 Approved by: thierry (mentor) Added: head/cad/calculix-ccx/pkg-message (contents, props changed) Modified: head/cad/calculix-ccx/Makefile head/cad/calculix-ccx/files/patch-Makefile head/cad/calculix-ccx/pkg-descr Modified: head/cad/calculix-ccx/Makefile ============================================================================== --- head/cad/calculix-ccx/Makefile Sat Jan 4 20:24:19 2020 (r522058) +++ head/cad/calculix-ccx/Makefile Sat Jan 4 20:34:09 2020 (r522059) @@ -3,6 +3,7 @@ PORTNAME= ccx PORTVERSION= 2.16 +PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= http://www.dhondt.de/ PKGNAMEPREFIX= CalculiX- @@ -16,9 +17,7 @@ COMMENT= Three-Dimensional Structural Finite Element P LICENSE= GPLv2 LIB_DEPENDS= libarpack.so:math/arpack-ng \ - libmetis.so:math/metis \ - libspooles.so:math/spooles \ - libtaucs.so:math/taucs + libspooles.so:math/spooles USES= blaslapack compiler:openmp fortran gmake tar:bzip2 USE_PERL5= build Modified: head/cad/calculix-ccx/files/patch-Makefile ============================================================================== --- head/cad/calculix-ccx/files/patch-Makefile Sat Jan 4 20:24:19 2020 (r522058) +++ head/cad/calculix-ccx/files/patch-Makefile Sat Jan 4 20:34:09 2020 (r522059) @@ -1,10 +1,11 @@ --- Makefile.orig 2019-11-25 17:54:53 UTC +++ Makefile -@@ -1,9 +1,9 @@ +@@ -1,9 +1,10 @@ -CFLAGS = -Wall -O2 -I ../../../SPOOLES.2.2 -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT -FFLAGS = -Wall -O2 -+CFLAGS += -O2 -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/spooles -DARCH="FreeBSD" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT -DTAUCS ++CFLAGS += -O2 -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/spooles -DARCH="FreeBSD" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT \ ++ -DUSE_MT=1 +FFLAGS += -O2 -CC=cc @@ -14,14 +15,13 @@ .c.o : $(CC) $(CFLAGS) -c $< -@@ -21,12 +21,12 @@ OCCXMAIN = $(SCCXMAIN:.c=.o) +@@ -21,12 +22,11 @@ OCCXMAIN = $(SCCXMAIN:.c=.o) DIR=../../../SPOOLES.2.2 LIBS = \ - $(DIR)/spooles.a \ - ../../../ARPACK/libarpack_INTEL.a \ - -lpthread -lm -lc -+ -ltaucs -lmetis \ + -lspooles -larpack %%BLAS_LIBS%% %%LAPACK_LIBS%% \ + -lpthread -lm Modified: head/cad/calculix-ccx/pkg-descr ============================================================================== --- head/cad/calculix-ccx/pkg-descr Sat Jan 4 20:24:19 2020 (r522058) +++ head/cad/calculix-ccx/pkg-descr Sat Jan 4 20:34:09 2020 (r522059) @@ -10,3 +10,4 @@ Karlsson & Sorensen, Inc (HKS) and are used with kind Results obtained from CalculiX are in no way connected to ABAQUS. WWW: http://www.calculix.de + Added: head/cad/calculix-ccx/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/calculix-ccx/pkg-message Sat Jan 4 20:34:09 2020 (r522059) @@ -0,0 +1,9 @@ +[ +{ type: install + message: <