Message boards : API : Run Java Application with Boinc on Linux Host?
Message board moderation
Author | Message |
---|---|
Send message Joined: 13 Dec 13 Posts: 21 |
Hi Guys, This question is related to my previous question, http://boinc.berkeley.edu/dev/forum_thread.php?id=8929&postid=52611 On the official Wiki Site, I found some information on how to run a java app with BOINC, i.e. a simple wrapper approach without using BOINC api But on that web page, I found that there is a line saying that "(for windows hosts only, because of jsmooth)". Does that imply that we can not run java application with Boinc on Linux Host? Thanks, |
Send message Joined: 29 Aug 05 Posts: 15561 |
Unless you manage to develop an application that can do that by yourself, yes, that's what it means. |
Send message Joined: 13 Dec 13 Posts: 21 |
This is a little disappointing though. Thanks for the reply anyway. |
Send message Joined: 20 Nov 12 Posts: 801 |
Does the Linux hosts have Java already installed? If yes, you shouldn't need that JSmooth. Just run the h2g.sh script like any other application. BOINC doesn't detect JREs so this of course only works if you know in advance the hosts that will connect to your project and can make sure they have Java installed. |
Send message Joined: 13 Dec 13 Posts: 21 |
Thanks for the reply. Yes. But do you know how to configure the application so that the downloader know which files and directories to be downloaded to the host machine? Since the application needs several dynamic linked libraries, as listed in, https://boinc.berkeley.edu/dev/forum_thread.php?id=8929 This is a typical instance for adaptation of current and legacy scientific applications to boinc. Is it possible that you provide an real world example rather than the simply text processing application such as uppercase? I think that could be very helpful. Thanks, |
Send message Joined: 20 Nov 12 Posts: 801 |
Well, I have say I don't know. Never done that before. The BOINC wrapper looks promising. Make a zip file of the libraries, tell wrapper to unzip it and then run h2g.sh as a task. If the wrapper doesn't like that the zip file is part of the application and not an input file for the task you could have two task. The first unzips the libraries (you could even go with a simple "/usr/bin/unzip libs.zip") and then the second task is h2g.sh. I think I've seen people asking about wrapper in boinc_projects mailing list and how deliver application files that need to be in a directory tree. The list might be a better source of tips. I think this forum is frequented by a grand total of one project administrator. The File compression tells to contact Carl Christensen for questions about boinc_zip. |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.