Posts by fwjmath
log in
1) Message boards : News : Call for your help to test TreeThreader application on Windows Machine (Message 936)
Posted 1823 days ago by Profile fwjmath
Please forgive my abruptness, but I would like to make a few more comments.

I read that MinGW would always need to dynamically load msvcrt.dll due to copyright issue. However, there are many different versions of msvcrt.dll and it is not sure that a BOINC application can always have access to them when running under BOINC. Would it be a viable option to compile with a platform with more control over the dll needed, for example cygwin (you only need the cygwin.dll for most of the time)? In this case, the needed dll can be distributed alongside the application. But again, maybe you would not like to use cygwin if your code is not GPL.

Or, in the case of CAS@home, it is also possible to distribute a msvcrt80.dll alongside your application. This was done by a number of other projects as I remember, but I could be wrong.

Given that your application is compiled with MinGW, I assume that it was adapted from a linux project. Would it be an option to port it natively into Windows? Most projects' Windows applications are compiled with VC++, and if you don't want a GUI or a project, a command-line compiler is shipped with Windows SDK for Windows 7, which is just like gcc. It is also the suggested way to build your application on BOINC document from Berkeley.

fwjmath.

The application is compiled on MinGW, accordling to the developer of the application, the run time library is not possible to be included in the application. If you have experience on MinGW, he will certainly appreciate your kind help!

Then it is very strange. If compiled statically, it should not need any dll, including the msvcrt.dll you mentioned in your post. Could you tell us how you compile it statically?

For me, to do that in VC++, I usually go to Project - Project Properties, then select "code generation" page under the C/C++ category, then select "Multithreaded" (not "Multithreaded DLL") for Runtime Library.

fwjmath.

Yes, it is statically compiled
I have a question. Can you tell us whether your application is compiled statically? Compile statically can solve a large classes of library-dependent problems. It is not likely that your application depends on libraries other than the standard ones.

fwjmath.



2) Message boards : News : Call for your help to test TreeThreader application on Windows Machine (Message 929)
Posted 1825 days ago by Profile fwjmath
Then it is very strange. If compiled statically, it should not need any dll, including the msvcrt.dll you mentioned in your post. Could you tell us how you compile it statically?

For me, to do that in VC++, I usually go to Project - Project Properties, then select "code generation" page under the C/C++ category, then select "Multithreaded" (not "Multithreaded DLL") for Runtime Library.

fwjmath.

Yes, it is statically compiled
I have a question. Can you tell us whether your application is compiled statically? Compile statically can solve a large classes of library-dependent problems. It is not likely that your application depends on libraries other than the standard ones.

fwjmath.

3) Message boards : News : Call for your help to test TreeThreader application on Windows Machine (Message 909)
Posted 1837 days ago by Profile fwjmath
I have a question. Can you tell us whether your application is compiled statically? Compile statically can solve a large classes of library-dependent problems. It is not likely that your application depends on libraries other than the standard ones.

fwjmath.
4) Message boards : News : Tsinghua Nano Tech appliction (Message 589)
Posted 2037 days ago by Profile fwjmath
All Tsinghua Nano Tech Jobs fail with me. I get an error message saying I lack the needed MSVCR71.dll file, and when I look that up it appears that it ought to be delivered with the application and be placed in the /Programdata directory.

quoting microsoft: "For Msvcr70.dll or for Msvcr71.dll, you should install the CRT DLL into your application program files directory. You should not install these files into the Windows system directories. For Msvcr80.dll and for Msvcr90.dll, you should install the CRT as Windows side-by-side assemblies."

I hope this helps solving the problem.


I don't know if it works, but a static link should also solve this problem, and much more convenient for the project side. This might increase a bit the app size, though.

fwjmath.
5) Message boards : Number crunching : Can we increase the WU limit? (Message 101)
Posted 2704 days ago by Profile fwjmath
The thing is that wu request does not occur immediately after a WU is finished, therefore between a wu is finished and a WU request, there is no work for the core due to current limit of 1 wu per CORE. If the machine only do CAS@home, it will starve in this period, which is often considered as a crime(ok I exaggerated) for crunchers.

I think a 3-5 wus per core setting will be fine. Machines would not starve and scientists still do not need to wait too long for their results, as we now still have the initial replications 3/minimum quorum 2 thing.

fwjmath.
6) Message boards : Number crunching : Linux app? (Message 66)
Posted 2711 days ago by Profile fwjmath
In fact, this project severely lacks man power AFAIK. There is only one (or two?) constant developper/admin/forum moderator/etc. Furthermore, applications are closed source at this time (that's some adapted versions of standard academic application I guess), therefore porting can only be done by project staff and it may take a lot of time.

We should cheer for project staff though, at least the project is (half-)functionning in spite of the lack of man power...
7) Message boards : Cafe : equn.com的兄弟们都来报到吧 (Message 16)
Posted 2744 days ago by Profile fwjmath
Present!
On computer in lab, so no Chinese input......
8) Message boards : Number crunching : Stats (Message 15)
Posted 2744 days ago by Profile fwjmath
Well, I think that the project is currently still in some sort of alpha-test, judging from its status. Why not wait till it is more stable?

fwjmath.