Re: Can tomcat serve MPI (parallel) applications?

2015-12-01 Thread Christopher Schultz
John and Martijn, On 11/30/15 7:57 PM, john Matlock wrote: > As I said earlier, it has been a long time since I worked with MPI (1991 to > be exact) so I am not quite understanding your application or the software > topology. Let me ask a few more questions. It seems you say that a > request

Re: Can tomcat serve MPI (parallel) applications?

2015-12-01 Thread Konstantin Kolinko
2015-11-30 0:56 GMT+03:00 Martijn Slouter : > Hello John, > as far as I know, all processes are equivalent, although the one with > rank 0 is usually used for logging unless each process has to > contribute its own logging messages. > > I am using the openmpi MPI software

Re: Can tomcat serve MPI (parallel) applications?

2015-11-30 Thread Stefan Mayr
Am 29.11.2015 um 19:24 schrieb Martijn Slouter: Thanks for your reply, comments below: ... Any suggestion how I can accomplish the configuration, if I start tomcat with the MPI web application using "mpirun -n 2 java ..." so that only the first MPI process opens the tomcat communication ports,

Re: Can tomcat serve MPI (parallel) applications?

2015-11-30 Thread john Matlock
As I said earlier, it has been a long time since I worked with MPI (1991 to be exact) so I am not quite understanding your application or the software topology. Let me ask a few more questions. It seems you say that a request for processing comes in, the task it split among many hosts using MPI,

Re: Can tomcat serve MPI (parallel) applications?

2015-11-29 Thread john Matlock
It has been a lot of years since I worked with MPI, but IIRC one "host" has to be the master (usually called mpirun or mpiexec) that distributes the tasks to the "dependent hosts" and then collects the processed results. If this is true, then using one machine as a dedicated front end makes sense

Re: Can tomcat serve MPI (parallel) applications?

2015-11-29 Thread Martijn Slouter
Hello John, as far as I know, all processes are equivalent, although the one with rank 0 is usually used for logging unless each process has to contribute its own logging messages. I am using the openmpi MPI software as basis with business logic written in C and a JNI interface to make it

Re: Can tomcat serve MPI (parallel) applications?

2015-11-29 Thread Martijn Slouter
Thanks for your reply, comments below: On Fri, Nov 27, 2015 at 10:15 AM, Konstantin Kolinko wrote: > What is your goal, your expectation of Tomcat? What these n instances > should do that 1 instance cannot? They are running cpu-intensive calculations on distributed hosts

RE: Can tomcat serve MPI (parallel) applications?

2015-11-27 Thread Theo Sweeny
Hi Konstantin, -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: 27 November 2015 09:15 To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: Can tomcat serve MPI (parallel) applications? 2015-11-26 23:18 GMT+03:00 Martijn Slouter <ma

Re: Can tomcat serve MPI (parallel) applications?

2015-11-27 Thread Konstantin Kolinko
2015-11-26 23:18 GMT+03:00 Martijn Slouter : > Hello, > I am looking for a solution for a tomcat container, which is supposed to > serve a web application, which is using MPI (openmpi) internally. (The > servlet is making JNI calls to C library functions. I have validated