Is any excutable program suitable for using wrapper?

Message boards : Server programs : Is any excutable program suitable for using wrapper?
Message board moderation

To post messages, you must log in.

AuthorMessage
Huiping Yao

Send message
Joined: 21 Jun 08
Posts: 27
China
Message 18569 - Posted: 17 Jul 2008, 12:31:26 UTC

Is any excutable program suitable for using wrapper? Are there any constraints?
ID: 18569 · Report as offensive
Profile Ananas

Send message
Joined: 27 Jun 06
Posts: 305
Germany
Message 18629 - Posted: 19 Jul 2008, 1:51:14 UTC
Last modified: 19 Jul 2008, 1:55:55 UTC

Some projects are even using interpreter programs within a wrapper. Basically you can use any program or script that you can start from the command line somehow.


Crunchers will be unhappy, if results run very long without having checkpoints and if programs do not pause when BOINC tells them to. Multithreaded applications can cause trouble as well, as those will usually affect other projects.

If you do not have any control over the source of the wrapped program (i.e. want to wrap a ready-made program), you will probably not be able to add those features, if the program doesn't come with them.


Basically they will still run - but the problem will be to find someone who wants to run them ;-)


p.s.: Programs that do not run in batch mode and insist in having a GUI will not be wrappable of course - but I guess that's understood. Same for programs that insist in beeing attached to a tty.
ID: 18629 · Report as offensive
Huiping Yao

Send message
Joined: 21 Jun 08
Posts: 27
China
Message 18631 - Posted: 19 Jul 2008, 3:00:05 UTC - in response to Message 18629.  

Some projects are even using interpreter programs within a wrapper. Basically you can use any program or script that you can start from the command line somehow.


Crunchers will be unhappy, if results run very long without having checkpoints and if programs do not pause when BOINC tells them to. Multithreaded applications can cause trouble as well, as those will usually affect other projects.

If you do not have any control over the source of the wrapped program (i.e. want to wrap a ready-made program), you will probably not be able to add those features, if the program doesn't come with them.


Basically they will still run - but the problem will be to find someone who wants to run them ;-)


p.s.: Programs that do not run in batch mode and insist in having a GUI will not be wrappable of course - but I guess that's understood. Same for programs that insist in beeing attached to a tty.


Thanks for your reply.
But I still got one problem as follows:

I have got a a.exe file which I did not have source codes, one configuration file named config_math.dat , one input file name input.txt. I execute the program in command prompt in WindowsXP using the command line as follows:
a.exe -i input.txt -c config_math.dat -o d:\output\

because the program will generate four output files, above the command line " -o d:\output" indicates that which folder the four output files automatically generate in.

I think Wrapper don't know how to combine a.exe with the input file input.txt and the configuration file config_math.dat?Did I do some configurationns to wrap a.exe? How to do with config_math.dat?
ID: 18631 · Report as offensive

Message boards : Server programs : Is any excutable program suitable for using wrapper?

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.