Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #8947

Re: Java-help for BBMap needed

From Felix Natter <fnatter@gmx.net>
Newsgroups linux.debian.maint.java
Subject Re: Java-help for BBMap needed
Date 2016-03-20 18:10 +0100
Message-ID <reP1x-1q8-41@gated-at.bofh.it> (permalink)
References <relmN-6i1-3@gated-at.bofh.it> <reNsJ-gQ-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


hello Andreas,

Felix Natter <fnatter@gmx.net> writes:
>>   symbol:   method getRank()
>>   location: variable COMM_WORLD of type Intracomm
>> current/stream/mpi/MPIWrapper.java:49: error: cannot find symbol
>> 				Shared.MPI_NUM_RANKS=MPI.COMM_WORLD.getSize();
>> 				                                   ^
>>   symbol:   method getSize()
>
> It looks like bbmap requires the methods getRank() and getSize()
> on mpi.Intracomm, and this method does not seem to be available in
> mpj-0.42+dfsg.
> (I couldn't find it in mpj-0.44 either [3] [4])
>
> [3] https://sourceforge.net/projects/mpjexpress/files/
> [4] http://mpjexpress.org/docs/javadocs/mpi/Intracomm.html
>
> Maybe we should ask the mpjexpress folks which
> mpjexpress to use or how to fix/patch bbmap [5]?

I think we need to use Size() [1], Rank() [2] etc
(probably all methods starting with a capital letter):

[1] http://mpjexpress.org/docs/javadocs/mpi/Comm.html#Size%28%29
[2] http://mpjexpress.org/docs/javadocs/mpi/Comm.html#Rank%28%29

Can you patch this?

Cheers and Best Regards,
-- 
Felix Natter

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Java-help for BBMap needed Andreas Tille <andreas@an3as.eu> - 2016-03-19 10:30 +0100
  Re: Java-help for BBMap needed Felix Natter <fnatter@gmx.net> - 2016-03-20 16:30 +0100
    Re: Java-help for BBMap needed Andreas Tille <andreas@an3as.eu> - 2016-03-20 18:10 +0100
      Re: Java-help for BBMap needed Andreas Tille <andreas@an3as.eu> - 2016-03-20 18:20 +0100
    Re: Java-help for BBMap needed Felix Natter <fnatter@gmx.net> - 2016-03-20 18:10 +0100
      Re: Java-help for BBMap needed Felix Natter <fnatter@gmx.net> - 2016-03-20 18:40 +0100

csiph-web