From: ludo@gnu.org (Ludovic Courtès)
To: Eric Bavier <ericbavier@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 3/4] gnu: Add pt-scotch package.
Date: Sat, 17 May 2014 12:43:23 +0200 [thread overview]
Message-ID: <8761l44rec.fsf@gnu.org> (raw)
In-Reply-To: <8761l57xs2.fsf@gmail.com> (Eric Bavier's message of "Sat, 17 May 2014 00:57:17 -0500")
Eric Bavier <ericbavier@gmail.com> skribis:
> From 936d49e8b0651a0e3b4674fcd34308c1d396de72 Mon Sep 17 00:00:00 2001
> From: Eric Bavier <bavier@member.fsf.org>
> Date: Sat, 17 May 2014 00:31:59 -0500
> Subject: [PATCH 3/4] gnu: Add pt-scotch package.
>
> * gnu/packages/maths.scm (pt-scotch): New variable.
Looks good to me. One question:
> + (call-with-output-file "Makefile.inc"
> + (lambda (port)
> + (format port "
> +EXE =
> +LIB = .a
> +OBJ = .o
> +MAKE = make
> +AR = ar
> +ARFLAGS = -ruv
> +CCS = gcc
> +CCP = mpicc
> +CCD = gcc
> +CPPFLAGS =~{ -D~a~}
> +CFLAGS = -O2 -g $(CPPFLAGS)
> +LDFLAGS = -lz -lm -lrt -lpthread
> +CP = cp
> +LEX = flex -Pscotchyy -olex.yy.c
> +LN = ln
> +MKDIR = mkdir
> +MV = mv
> +RANLIB = ranlib
> +YACC = bison -pscotchyy -y -b y
> +"
> + '("COMMON_FILE_COMPRESS_GZ"
> + "COMMON_PTHREAD"
> + "COMMON_RANDOM_FIXED_SEED"
> + ;; TODO: Define once our MPI supports MPI_THREAD_MULTIPLE
> + ;; "SCOTCH_PTHREAD"
> + ;; "SCOTCH_PTHREAD_NUMBER=2"
> + "restrict=__restrict")))))
Could this be factorized with Scotch?
Thanks,
Ludo’.
next prev parent reply other threads:[~2014-05-17 10:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-17 5:57 [PATCH 3/4] gnu: Add pt-scotch package Eric Bavier
2014-05-17 10:43 ` Ludovic Courtès [this message]
2014-05-18 0:18 ` Eric Bavier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8761l44rec.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=ericbavier@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).