Board index » cppbuilder » Re: Twine 2 Release Candidate 3

Re: Twine 2 Release Candidate 3


2005-12-17 05:55:34 AM
cppbuilder83
Carmelo Viavattene wrote:
Quote
Then:
bcc32.exe replacement:
C:\CBuilder5\Bin\mtbcc32.exe

Is OK?
Yes, that should work fine.
Quote
Before I must call mtbcc32Executor?
You don't need to call this. mtbcc32.exe will do it for you.
Jonathan
jomitech.com/mtbcc32.shtml - Multi-threaded compilation for BCB
jomitech.com/forum - JomiTech Forums
 
 

Re:Re: Twine 2 Release Candidate 3

Carmelo Viavattene ha scritto:
Quote
Jonathan Benedicto ha scritto:

>Carmelo Viavattene wrote:
>
>>To try Twine2 in BCB5 and bcc32pch, I must only:
>>
>>bcc32.exe replacement:
>>C:\CBuilder5\Bin\mtbcc32.exe -threads2 -equalize2
>>
>>Is correct?
>
>
>
>Not really. just do this: "mtbcc32.exe", without the quotes.
>
>HTH
>
>Jonathan
>

Then:
bcc32.exe replacement:
C:\CBuilder5\Bin\mtbcc32.exe

Is OK?

Before I must call mtbcc32Executor?

Regards,
Carmelo Viavattene
Sorry:
Before I must call mtbcc32CompileExecutor?
Regards,
Carmelo Viavattene
 

Re:Re: Twine 2 Release Candidate 3

Carmelo Viavattene wrote:
Quote
MAKE Version 5.2

Fatal: Unable to execute command:
C:\Program~1\Borland\CBuild~1\bin\..\bin\C:\Program~1\Borland\Cbuilder5\Bin\mtbcc...

And now?
Remove the path from the bcc32 compiler replacment. Just leave the
mtbcc32.exe file name.
Jonathan
jomitech.com/mtbcc32.shtml - Multi-threaded compilation for BCB
jomitech.com/forum - JomiTech Forums
 

{smallsort}

Re:Re: Twine 2 Release Candidate 3

Jonathan Benedicto ha scritto:
Quote
Carmelo Viavattene wrote:

>Then:
>bcc32.exe replacement:
>C:\CBuilder5\Bin\mtbcc32.exe
>
>Is OK?


Yes, that should work fine.


>Before I must call mtbcc32Executor?


You don't need to call this. mtbcc32.exe will do it for you.

Jonathan

jomitech.com/mtbcc32.shtml - Multi-threaded compilation for BCB
jomitech.com/forum - JomiTech Forums


Errors:
MAKE Version 5.2
Fatal: Unable to execute command:
C:\Program~1\Borland\CBuild~1\bin\..\bin\C:\Program~1\Borland\Cbuilder5\Bin\mtbcc...
And now?
Regards,
Carmelo Viavattene
 

Re:Re: Twine 2 Release Candidate 3

Jonathan Benedicto ha scritto:
Quote
Carmelo Viavattene wrote:

>MAKE Version 5.2
>
>Fatal: Unable to execute command:
>C:\Program~1\Borland\CBuild~1\bin\..\bin\C:\Program~1\Borland\Cbuilder5\Bin\mtbcc...
>
>And now?


Remove the path from the bcc32 compiler replacment. Just leave the
mtbcc32.exe file name.

Jonathan

MAKE Version 5.2
*** There are errors ***
Carmelo Viavattene
 

Re:Re: Twine 2 Release Candidate 3

Carmelo Viavattene wrote:
Quote
MAKE Version 5.2

*** There are errors ***
Hmm, does it run fine via the command line ?
Jonathan
jomitech.com/mtbcc32.shtml - Multi-threaded compilation for BCB
jomitech.com/forum - JomiTech Forums
 

Re:Re: Twine 2 Release Candidate 3

Jonathan Benedicto ha scritto:
Quote

Remove the path from the bcc32 compiler replacment. Just leave the
mtbcc32.exe file name.

Jonathan

The path is inserted from bcc32pch
Regards,
Carmelo
 

Re:Re: Twine 2 Release Candidate 3

Jonathan Benedicto ha scritto:
Quote

Hmm, does it run fine via the command line ?

Jonathan

Not tested
Carmelo
 

Re:Re: Twine 2 Release Candidate 3

Jonathan Benedicto wrote:
Quote
Hmm, is this BCB makefile?
Created with bpr2mak, with the third line edited (bcc32.exe replaced).
Quote
Problem is, they were sharing a hard drive. :-)
mtbcc32 is sharing a hard drive anyway. All those files are already in
the memory, because I can copy them in less than a second. I was sharing
a hard drive when I started two make processes with bcc32 and I still
got significant benefit from hyperthreading, and nothing with bcc32ide.
I think I was comparing apples to apples. It's just my architecture
reached its limitations with the IDE compiler. It's not that I'm
unhappy, because either bcc32ide or mtbcc32 reduces my compile times
from 6.5 minutes to 26 seconds. When I compile a unit, I no longer wait
7 seconds, I wait half a second, and that's very noticeable.
Yeah, Hyperthreading is not equivalent to two distinct processors. The
main ALU circuits are duplicated, along with the integer registers. In a
dual-core system everything would be duplicated, including the cache and
the floating point unit. They still share the same memory, system bus
and hard disk, so even a dual processor system won't be nearly twice as
fast as a single one. That's when your distributed system will come to
help. I'd be curious to try your solution with a dual-core, but it's not
gonna happen this year, I'm afraid. There's no time, and I don't have
the hardware either. When Delegator becomes available, I'll try it right
away.
Tom
 

Re:Re: Twine 2 Release Candidate 3

Tamas Demjen wrote:
Quote
Created with bpr2mak, with the third line edited (bcc32.exe replaced).
Strange then that it should split the files up then.
Quote
mtbcc32 is sharing a hard drive anyway. All those files are already in
the memory, because I can copy them in less than a second. I was
sharing a hard drive when I started two make processes with bcc32 and
I still got significant benefit from hyperthreading, and nothing with
bcc32ide. I think I was comparing apples to apples. It's just my
architecture reached its limitations with the IDE compiler. It's not
that I'm unhappy, because either bcc32ide or mtbcc32 reduces my
compile times from 6.5 minutes to 26 seconds. When I compile a unit,
I no longer wait 7 seconds, I wait half a second, and that's very
noticeable.
Well, technically, mtbcc32 doesn't share a hard drive. Because it caches
every single file in RAM, on the second build, each executor instance has
all the files in separate RAM blocks, making each have their own RAM disk.
Quote
Yeah, Hyperthreading is not equivalent to two distinct processors. The
main ALU circuits are duplicated, along with the integer registers.
Did you know that it first works a little bit on one thread, then a little
bit on the other, and so on ?
Quote
That's when your distributed
system will come to help. I'd be curious to try your solution with a
dual-core, but it's not gonna happen this year, I'm afraid. There's
no time, and I don't have the hardware either. When Delegator becomes
available, I'll try it right away.
I'm going to start work on Delegator as soon as I've finished Twine 2.
Then, I won't be troubled about HDD speeds, just LAN speeds :-)
Jonathan
jomitech.com/mtbcc32.shtml - Multi-threaded compilation for BCB
jomitech.com/forum - JomiTech Forums
 

Re:Re: Twine 2 Release Candidate 3

Jonathan Benedicto wrote:
Quote
Carmelo Viavattene wrote:

>MAKE Version 5.2
>
>*** There are errors ***


Hmm, does it run fine via the command line ?
Yes it does. But not from bcc32pch. I get the same, "There are errors",
but it doesn't show any further information. No compiler errors.
Tom
 

Re:Re: Twine 2 Release Candidate 3

Tamas Demjen wrote:
Quote
Yes it does. But not from bcc32pch. I get the same, "There are
errors", but it doesn't show any further information. No compiler
errors.
I'm going to have another try at installing bcc32pch in my BCB4.
Jonathan
jomitech.com/mtbcc32.shtml - Multi-threaded compilation for BCB
jomitech.com/forum - JomiTech Forums
 

Re:Re: Twine 2 Release Candidate 3

Jonathan Benedicto wrote:
Quote
I'm going to have another try at installing bcc32pch in my BCB4.
You could also try the BCB 6 Trial.
--
Regards,
Andreas Hausladen
 

Re:Re: Twine 2 Release Candidate 3

Andreas Hausladen wrote:
Quote
You could also try the BCB 6 Trial.
I hadn't thought of that, but I already downloaded it a while ago. I don't
know if Borland would appreciate by way of getting BCB6 <g>
Jonathan
jomitech.com/mtbcc32.shtml - Multi-threaded compilation for BCB
jomitech.com/forum - JomiTech Forums
 

Re:Re: Twine 2 Release Candidate 3

Hi Jonathan,
I've tried this latest Twine V2 and I get the same. If I use V1.7.2 then it
works, replace with V2 and I get '*** There are errors. ***' like everyone
else.
:(
Simon