[GenABEL-dev] MPI -D define

L.C. Karssen lennart at karssen.org
Tue Oct 28 14:41:52 CET 2014


On 28-10-14 12:56, Frank, Alvaro Jesus wrote:
> The macro does not seem to work.
> I am not getting USE_MPI defined or HAVE_MPI.

You're right, I forgot to add the required lines to the Automake file.
Fixed that in r1865 (also changed HAVE_MPI in Definitions.h to USE_MPI).
Now OAnMM compiles correctly when specifying either of the following:
./configure
./configure --with-mpi
./configure --without-mpi


Lennart.

> 
> -Alvaro
> 
> ________________________________________
> From: genabel-devel-bounces at lists.r-forge.r-project.org [genabel-devel-bounces at lists.r-forge.r-project.org] on behalf of L.C. Karssen [lennart at karssen.org]
> Sent: Tuesday, October 28, 2014 12:38 PM
> To: genabel-devel at lists.r-forge.r-project.org
> Subject: Re: [GenABEL-dev] MPI -D define
> 
> See line 61 of configure.ac:
>  AM_CONDITIONAL([USE_MPI], test "x$use_mpi" = "xyes")
> This sets USE_MPI. I decided to not use HAVE_MPI, because it maybe that
> MPI is found, but still disabled by the user (using ./configure
> --without-mpi).
> 
> 
> Lennart.
> 
> 
> On 28-10-14 12:31, Frank, Alvaro Jesus wrote:
>> Is it HAVE_MPI?
>>
>> -Alvaro
>> ------------------------------------------------------------------------
>> *From:* genabel-devel-bounces at lists.r-forge.r-project.org
>> [genabel-devel-bounces at lists.r-forge.r-project.org] on behalf of Frank,
>> Alvaro Jesus [alvaro.frank at rwth-aachen.de]
>> *Sent:* Tuesday, October 28, 2014 12:30 PM
>> *To:* genabel-devel at lists.r-forge.r-project.org
>> *Subject:* [GenABEL-dev] MPI -D define
>>
>> Hi Lennart,
>>
>> I am trying to enable/disable the dynamic mpi support through the pragma
>> define of MPI.
>> I just cant figure out which Define (at a preprocessor level) does the
>> AX_PROG_CXX_MPI set.
>>
>> -Alvaro
>>
>>
>> _______________________________________________
>> genabel-devel mailing list
>> genabel-devel at lists.r-forge.r-project.org
>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel
>>
> 
> --
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> L.C. Karssen
> Utrecht
> The Netherlands
> 
> lennart at karssen.org
> http://blog.karssen.org
> GPG key ID: A88F554A
> -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
> 

-- 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
L.C. Karssen
Utrecht
The Netherlands

lennart at karssen.org
http://blog.karssen.org
GPG key ID: A88F554A
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://lists.r-forge.r-project.org/pipermail/genabel-devel/attachments/20141028/1a49eacd/attachment.sig>


More information about the genabel-devel mailing list